Speaker: You would use AWS budgets
if you wanted to create a budget based on actual charges
or future estimated charges and send alarms
whenever your cost will exceed your budgets.
So you have four types of budgets
you can set in the budgets console.
You can use usage, cost, reservation, and savings plan,
and we'll see them in a second.
In case of setting a budget for a reserve instance,
you can track utilization of your reserve instances overall,
and it supports RIs for different services
which has EC2, elastic cache, RDS and Redshift.
You can set up to five notifications per budgets,
and you can filter your budgets by many different options,
such as surveys, linked account, tag, purchase options,
and so on.
So that means that you get a lot of options,
actually the same as cost explorer
and so that makes budgets something
that is going to be a lot more granular,
a lot more flexible when it comes to tracking your costs
and setting up alarms,
then for example, your billing alarms.
So the first two budgets are going to be free,
and then you're going to pay 2 cents per day per budgets.
So now let's go have a have a look in the console
to see how budgets work.
So from the search bar type AWS budgets
and you will go into the budgets console.
Now the budgets console is also accessible
from the left hand side if you go into here
and then do my billing dashboard, okay.
It allows you to create budgets.
So we're going to create a budget.
And as we can see, we have four different kind of budgets.
We have a cost budget, a usage budget,
a savings plan budget, and a reservation budget.
So let's go ahead and just do the cost budget for now.
So we're going to click on next,
and then we're going to set up a budget amounts.
We'll scope the budgets if you want it to narrow
to specific services and so on,
and then enter the budget name.
So, the period of the budget could be daily, monthly,
quarterly, or annually, so a lot of possible
options in here and it could be recurring
and it renews on the first day of every month or expiring.
And you sets an end month for your budgets.
So we'll say recurring and it starts this month.
Then choose the budget type.
So is it a fixed or a monthly budget planning?
So you get a lot of different flexibility here
if you wanted to set budgets for different months
at different levels,
but let's say for now we wanna set a $10 budgets.
Now, actually, this month I've spent maybe $1.36
and the previous month I was under so we can see here,
the unblended cost of my budgets,
and we could explore these costs by the way
in cost explorer to gets more information.
As we can see my budget right now would be
well over my actual cost. Okay.
Next, you can add some filters.
So you could select a dimension for example service,
and you can say, Hey, I just want this budgets
to be regarding the EC2 console
so, you would go to EC2 instances for example,
and this would only filter and you could apply this filter
and this would only filter the cost for that filter.
So as you can see right now,
my cost are zero regarding that filter.
So, that means that I don't have any EC2 related costs,
but if I went into KMS, for example,
or key management service here we go
and then apply to filter yet again,
you could see that some of my costs
actually do come from KMS so I could create a budget
specific to the KMS service.
Next, you could aggregate cost by unblended cost,
amortized or blended cost, different options. Okay.
And the types of charges and fees
that you want to have within your budget.
So lots of different options if you want.
A budget name, so we'll call it KMS budget
and click on next.
Here we have the budget amount, so we have budgeted $10.
Okay. But we can create alert threshold.
So for example, we're saying,
Hey, when it reach 80% of the actual budget amounts,
then please send me an email at stephane.example.com.
But you could also have an Amazon SNS alert or an Amazon
chat bot alert if you want to send your data
into Amazon Chime or slack. Okay.
And you could set up a different kind of alert threshold.
For example, we're saying,
Hey, when you reach 80% of the budgeted amounts okay,
please, what is on the actual cost or the forecasted cost?
So here, we're saying,
Hey, when we forecast that we're reaching 80%
of the budget amounts, okay,
then again, send me an email at stephane@example.com.
So we can see that we have different alerts available to us,
and we can set up up to five, if I remember correctly.
Then next, and we can review everything
so alerts and no actions were attached right now,
but just email recipients,
we could have Amazon SNS or Amazon chat bots, click on next.
We can review this budget and then create this budget.
So maybe it has been created and we're good to go.
And from this console, we can track the actual amount used,
the actual forecast and the current versus budgeted
and the forecast versus budget, which is quite handy.
Okay. Now, other kinds of budgets we can have,
if you wanted to quickly see them would be for example,
a usage budget.
So this is when we want to track an amount
in terms of a specific metric.
For example, you're saying, Hey,
I want to make sure that I want to look
at my EC2 data transfer to cloud fronts in gigabytes.
And you want to set a budget in gigabytes
for that specific metric. Okay.
Or you could have a snapshots EBS,
how many gigabytes a month am I using and so on.
So have a look, this is more usage related,
so to some services or Amazon history, RDS and EC2,
or we can just have it by usage type,
and so we can have a look at data transfers
in and out overall in my accounts
or how many hours I'm using my T2 micros and so on.
So as you can see lots of different metrics as well,
but these are usage based, okay?
They're not money-based.
So this is the same idea for the other options.
So this is the usage budget.
Then savings plan budget is to track
how you're going versus your savings plan,
which is how much you're actually utilizing
your savings plan and so maybe if you are over
on the utilizing new set up of a budget and reservation,
this is for your reserved instances. Okay?
So this is for amazon, EC2, RDS, redshift,
elastic cache, and elastic search reservations.
So that's it for this lecture.
Now, you know how to set up a budget. I hope you liked it.
And I will see you in the next lecture.