109870611-3a331e80-7c62-11eb-9138-b906720043a7.jpeg

This is the second blog post as part of my 100DaysOfAWS challenge. Let’s see how far I can reach.

If you’re like me and you want to explore the world of AWS but are sceptical about not ending up with a gigantic bill then that blog post is for you.

Let’s login with our root account and click on your username and then my billing dashboard. Warning, this only works with the root account. If you have another account that is given same permissions as the root one it will not work.

Under preferences, select billing preferences. In case you leave in a country other than the US you might want to be charged not in USD.

Billing preferences

In that page you will see a few options on how to receive alerts. For now let’s check the receive free tier usage alerts as well as receive billing alerts. Under the latter option, there is a link the manage billing alerts which will lead us to CloudWatch to do a bit further setup let’s click on that. This is where we can also change our billing currency. You can also search for the CloudWatch service if you cannot see this option.

https://user-images.githubusercontent.com/630705/109870141-a2353500-7c61-11eb-9d3d-b024de8a8263.png

On the main CloudWatch page, on the left we can see a section for alarms. Let’s click on the billing option of it. Here we can create billing alarms to ensure that we’re not going above our free tier limit. This tier gives us 10 free alarms and 1000 free email notifications each month. Now let’s click on the create alarm button.

Here there are some steps we need to go through. In the first one for metric and conditions, we can see that there is an option for currency. Let’s change that to GBP because we live in the UK. If we scroll down there is an option to define the threshold value. Let’s put 5 GBP there. That means that if our bill goes above £5 per month, we will get notified. Modify that amount to something you are comfortable with. Let’s click next.

Now let’s create an SNS topic so that we are subscribed to that alert. In the SNS topic section, click on create new topic. Now let’s enter a name for that topic. That name has to be unique so the more descriptive the better. I named mine Free_tier_exceeded. Then we can add the email we want this subscription to notify. Click on create topic.

Powered by Fruition