In this short lesson,
we will learn how to create a billing alarm,
although we would be spending the majority of our time within the free tier.
There is a possibility that charges could accrue for certain service is that aren't part of the free tier
or if our uses exceeds the free tier limits
to mitigate us from having surprise bills from AWS, we were created building alarm
in AWS. We can create a building alarm to monitor our estimated usage charges.
This is accomplished in AWS using Amazon cloudwatch.
We will learn more about cloudwatch in upcoming lessons for now. Just know that once we enable the monitoring of estimated charges for AWS account that the estimated charges are calculated and sent several times per day to clout watch as what Amazon calls metric data.
The 1,000,000,000 metric data is stored in the U. S East
North Virginia region and will reflect global charges.
This data includes the estimated charges for every service in a W s that were used in addition to the estimated overall total of our end of US charges.
The alarm triggers when our account 1,000,000,000 exceeds the threshold that we specify.
It triggers only when actual building exceeds the threshold.
It doesn't use projections based on usage so far in a month.
So the first thing that we're gonna do is log into the management console.
and remember, we enabled the multi factor authentication. So we have to put in the code that is displaying on our multi factor authentication device.
and then we should be in the console.
Now under the console will go to under interview S course, my building dashboard.
And this brings us to the building cost management dashboard click preferences. And as you can see, we have to enable received building alerts. Once you enable this, it cannot be turned off.
As you see, I've already enabled mine.
Then we click managed billing alerts.
This brings us to the Cloudwatch overview page.
From here, we're going to select billing
and then create alarm.
So then we just scroll down
and right here we say when my total my total AWS charges for the month exceed
and I'm going to put in
and I will tell it sending my email address of where I want the notification to be sent to
and you go down a little further.
I always like to click around the console to see the other fields that may be relevant.
So I'll hit, show advanced.
And as you see, it gives it a name of building alarm.
And right now, whenever there is alarm, notify me
and at my email address that I put it on the last screen.
So that's looking good. So now
is going to confirm our email address.
So I didn't go in and check my email
So, yes, now it's confirmed,
so that would notifies me turns Green said, Hey, I've confirmed your email address, and now our alarm is ready to offer action. So here the estimated charges that greater than five for one data point within six hours. So if it exceeds $5 is calculating all the time.
Within six hours, it's gonna notify us via email that we supplied,
and that is pretty much it to setting up a building alarm.
So, congratulations, you have set up your building alarm.
You have that big green. Okay, you can click a little further down to just kind of see the details,
but that's pretty much all there is to it.
So thanks for coming this far. And, uh, I'll see you in the next lesson
Where do we go to create our billing alarm
in the AWS console? We go to the drop down arrow next to our course name
and then select my building bash board from the venue.
What needs to be enabled before we can create our billing alarm?
We have to enable Receive billing alerts
before we can create our building alarm
in which a W S region is the building metric stored.
The building metric data is stored in the U. S east
Northern Virginia region.
This module, we learn step by step, how to create a building alarm.