Improve Planning and Cost Control with AWS Budgets
AWS Cost Management: Tagging
Understanding & Optimizing Storage Costs with AWS Storage Services
Monitoring for underutilized services in AWS
Using Instance Scheduler to Optimize Resource Cost
The course is part of this learning path
This section of the AWS Certified Solutions Architect - Professional learning path introduces you to cost management concepts and services relevant to the SAP-C02 exam. By the end of this section, you will know how to select and apply AWS services to optimize cost in scenarios relevant to the AWS Certified Solutions Architect - Professional exam.
Want more? Try a Lab Playground or do a Lab Challenge!
- Learn how to improve planning and cost control with AWS Budgets
- Understand how to optimize storage costs
- Discover AWS services that allow you to monitor for underutilized resources
- Learn how the AWS Instance Scheduler may be used to optimize resource costs
Before the cloud, companies often had a fixed procurement process. Companies signed contracts upfront and understood how engineering workloads mapped to software and hardware. Because that process was so well understood, the costs associated with it were understood as well - which meant it was easier to track and control costs.
Now, with cloud computing, costs are variable. With variable usage, you gain speed - you can move quicker and procure the hardware and software you need faster. However, it’s now more difficult to understand the costs associated with that procurement. Often, it requires a change in the procurement process, which means application teams and finance teams need to work better together to determine how to improve planning and control costs.
And to do that, these teams need three things:
- They need to track AWS usage and costs, set appropriate budgets and receive alerts if they’re exceeding those budgets
- They need to provide reports to business leaders and engineering managers to better inform future purchasing decisions and
- they not only need to see this information, but they also need to take action and automate responses when they do exceed their budget
This is where AWS Budgets comes into play. AWS Budgets has tools that map to each of these requirements. For tracking AWS usage and costs, or Savings Plan and Reserved Instance coverage, you can create a Budget.
For business reporting, you can use AWS Budgets Reports to disseminate information to the right people. And for taking action, you can use AWS Budgets Actions to automate responses if you go over your budget.
Let's see how each of these tools work together at a high level. You’ll first define your budget, by specifying
- what you want to track, this could be cost - or how much you’re spending, service usage - how much you’re using, or coverage and utilization for Savings plans and Reserved Instances - are you getting the most out of your reservations
- Then you will determine your budget amount,
- and last, provide the scope of what this budget applies to - does it only apply to a particular project or service or does it apply to all resources in your account?
For example, you can specify a cost budget with a $100 monthly spend as your budget amount that applies to all services in your account.
Then you configure an alert, by specifying a threshold. This threshold is where you specify when you want to be notified. For example, you may want to be notified once you spend 80% of your $100 budget. Once that threshold is reached, the alert will notify you through your choice of email, SNS topic or AWS Chatbot notification.
You can optionally also attach a Budget action to this alert. You can configure one of three automated actions:
- you can change IAM permissions,
- change AWS Organizations permissions,
- or stop EC2 or RDS instances.
So going back to the previous example, if your alert threshold is met after you’ve spent 80% of your $100 budget, it will not only notify you but also trigger the action you selected automatically or with your approval.
Finally, to get a full report on all your budgets and their status, you can create a budget report and send it out to leadership or other interested parties. This will give them a high-level overview of the status of all budgets and enable them to plan for the future based on this data.
Danny has over 20 years of IT experience as a software developer, cloud engineer, and technical trainer. After attending a conference on cloud computing in 2009, he knew he wanted to build his career around what was still a very new, emerging technology at the time — and share this transformational knowledge with others. He has spoken to IT professional audiences at local, regional, and national user groups and conferences. He has delivered in-person classroom and virtual training, interactive webinars, and authored video training courses covering many different technologies, including Amazon Web Services. He currently has six active AWS certifications, including certifications at the Professional and Specialty level.