Skip to content

Commit

Permalink
add billing alarm and budget entry
Browse files Browse the repository at this point in the history
  • Loading branch information
madisonjordan authored Feb 18, 2023
1 parent f58b2f2 commit c7d172d
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion journal/week0.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
> - [Required Homework](#required-homework)
> - [Use Cloudshell](#use-cloudshell)
> - [Install AWS CLI](#install-aws-cli)
> - [Create Budget](#create-budget-and-billing-alarm)
> - [Create Billing Alarm](#create-budget-and-billing-alarm)
> - [Conceptual Design](#conceptual-design)
> - [Logical Design](#logical-design)
Expand Down Expand Up @@ -59,6 +61,8 @@ Q. What is the difference between the different architectural designs? e.g. conc

## Required Homework

## AWS

### Use CloudShell

At first I had trouble figuring out how to find the cloudshell for my region, but then I went back in the video and it said that the console doesn't appear for every region. Apparently us-west-1 doesn't have one, but us-west-2 does. Also I couldn't change the region while I was on the billing page.
Expand All @@ -70,15 +74,30 @@ us-west-2:<br>
<img width="290" alt="AWS us-west-2 screenshot" src="https://user-images.githubusercontent.com/22087300/219837720-d2907546-ebcc-492c-b5d0-bfde066ee3ec.png">


### AWS CLI

### Install AWS CLI
#### Install AWS CLI

I didn't have any issues generating the IAM or access key for AWS and installing the CLI by pasting the tasks into the `gitpod.yml` from the week0 branch instructions, which were very helpful. However, I did have minor issues with pushing the `gitpod.yml`, which I fixed through changing the public repo permissions for the GitHub integration. After that, it gave another error when I pushed my changes (which I don't recall what it said), but I checked my repo on GitHub and it seemed to push fine anyway. When I started it up, it automatically ran all the commands defined in the tasks within the yaml that I had commited.

While I was watching the video I forgot to put the environment variable for the secrets and was stuck for a minute on being able to figure out how to relaunch gitpod since it didn't close the workspace (it complained that the workspace was still open and I didn't want to launch a 2nd one) after I used the `gp env` command and closed the tab. I figured it out from somewhere in the menu where it said "stop workspace." It was fine after that and gave the expected response from the `aws sts get-caller-identity` command.

<img width="590" alt="Screenshot 2023-02-17 at 8 32 50 PM" src="https://user-images.githubusercontent.com/22087300/219834854-ea7bb764-ea27-4414-bced-c6bb59f2b92a.png">

#### Create Budget and Billing Alarm

I thought it how you could still create a billing alarm from the AWS CLI since from the AWS website, you have to be in N Virgina (us-east-1) to create billing. Or that's what I thought.

Creating the budget from the UI was much easier.

I had to remember not to commit my TopicARN and email since I saw everyone was having issues with that.

<img width="279" alt="Screenshot 2023-02-18 at 6 53 18 AM" src="https://user-images.githubusercontent.com/22087300/219874761-e431dc0a-3d59-4fe2-8bf2-62c861c34b36.png">
<img width="789" alt="Screenshot 2023-02-18 at 6 58 24 AM" src="https://user-images.githubusercontent.com/22087300/219874794-31788397-6016-4b0c-90bf-3dbc78d19419.png">
<img width="545" alt="Screenshot 2023-02-18 at 6 59 02 AM" src="https://user-images.githubusercontent.com/22087300/219874808-bbad514d-ba7c-4934-b8bd-77c4942a0b38.png">
<img width="800" alt="Screenshot 2023-02-18 at 7 33 09 AM" src="https://user-images.githubusercontent.com/22087300/219874873-1d694d52-223d-4ec4-b0c3-7b5064ce2cfd.png">


### Conceptual Design

![cruddur conceptual diagram](/journal/assets/cruddur_conceptual_diagram.svg)
Expand Down

0 comments on commit c7d172d

Please sign in to comment.