Kiểm Soát Chi Phí AWS Của Bạn
Có thể bạn quan tâm
TUTORIAL
Overview
In this tutorial, you will learn how to control your costs while exploring AWS service offerings using the AWS Free Tier. In addition, you will learn to use AWS Budgets to set up a cost budget to monitor any costs associated with your usage.
The AWS Free Tier is a discount program that lets you gain free, hands-on experience with AWS products and services. All new AWS accounts include the Free Tier so you don't have to sign up for it, allowing you to try out the services you need to build your workloads from day one. With over 100 services in the Free Tier, you can do lots of exploring at a reasonable cost, or even for free.
Monitoring your service usage and associated costs while you are exploring and scaling your usage of AWS is often cited as a top concern. To make sure you don't exceed the Free Tier usage thresholds and your overall budget, we recommend using AWS Budgets. With the cost control features of AWS Budgets, you can create custom cost budgets that alert you when you exceed your budgeted threshold. In this tutorial, you will learn about the AWS Free Tier offering, discover how AWS Budgets monitors your Free Tier usage by default, and how to create a total monthly cost budget that alerts you when you exceed, or are forecasted to exceed, your budget.
It is a best practice to create a total monthly cost budget for each AWS account you use. AWS Budgets has a Free Tier limit of 62 budget days per month, so creating a single budget falls within the AWS Free Tier limit. As the name implies, AWS Free Tier-eligible service usage is free.
What you will accomplish
In this tutorial, you will learn how to:
- Understand the Free Tier
- Review your spend and usage
- Set up a cost budget
Prerequisites
Before starting this tutorial, you will need:
- An AWS account: If you don't already have one, follow the Setting Up Your AWS Environment tutorial for a quick overview.
AWS experience
Beginner
Time to complete
10 minutes
Cost to complete
Free Tier eligible
Requires
- AWS account
- Recommended browser: The latest version of Chrome or Firefox
[**]Accounts created within the past 24 hours might not yet have access to the services required for this tutorial.
Last updated
Aug 23, 2022
Step 1: Explore the AWS Free Tier
a. Access the AWS Free Tier page
Open the Free Tier page, so you can keep this step-by-step guide open. On the AWS Free Tier page, under the AWS Free Tier Details header, choose the 12 months free link.
Go to the page this step describes >>
Closeb. Explore 12 months free offers
These free tier offers are only available to new AWS customers, and are available for 12 months following your AWS sign-up date. When your 12 month free usage term expires or if your application use exceeds the tiers, you simply pay standard, pay-as-you-go service rates (see each service page for full pricing details).
Notable offers for the first 12 months following your AWS account sign-up include some level of free usage for Amazon Elastic Compute Cloud (Amazon EC2), Amazon Elastic Block Store (Amazon EBS), Amazon Simple Storage Service (Amazon S3), Amazon Relational Database Service (Amazon RDS), and many other useful services.
Closec. Access the Always free page
On the AWS Free Tier page, choose the Always free link to view the Always free offers.
Closed. Explore Always free offers
As the name suggests, these free tier offers do not automatically expire at the end of your 12-month AWS Free Tier term and are available to all AWS customers.Notable Always free offers include some level of free usage for AWS Lambda, Amazon DynamoDB, Amazon CloudWatch, and many other useful services.
Closee. Access the Free trials page
On the AWS Free Tier page, choose the Free trials link to view the Free trials offers.
Closef. Explore trial offers
Trial offers allow you to use a service for a specified period of time or number of operations. Notable trial offers include Amazon SageMaker, Amazon GuardDuty, Amazon Redshift, and many other useful services. CloseStep 2: Sign up for AWS (or sign in)
There is no additional charge associated with using the AWS Billing Console for this tutorial. The resources you create in this tutorial are Free Tier eligible. The button and link to the right open a new tab so you can follow this tutorial in the AWS console. Sign-up for AWSAlready have an account? Sign-in
Step 3: Review your spend and Free Tier usage
In this step, you will use the AWS Billing Console to review your overall AWS spend and Free Tier usage.
a. Access the billing dashboard
After you have logged in to your account, from the account menu, choose Billing Dashboard.
Closeb. Review your billing dashboard
Once you reach the AWS Billing Dashboard page, you can view a summary of your month-to-date costs in the AWS Summary section, as well as the cost trend for your top five services for the most recent three to six closed billing periods in the Cost trend by top five services section.
Closec. Access all your Free Tier usage
To dive deeper into your Free Tier eligible usage, choose Free Tier from the left navigation pane.
Closed. Analyze all your Free Tier usage
In the Summary section on the AWS Free Tier page, all of your usage of services in the Free Tier are listed. In addition to your Current usage, your forecasted service usage by the end of the month is detailed in the Forecasted usage column.
In the example screenshot, note that the forecasted usage of EC2 is 2 GB-mo. Exceeding the limit of the Free Tier generally results in a billable charge.
Closee. Modify your AWS Free Tier Usage Limit email alerts
By default, most accounts are automatically opted in to receive AWS Free Tier Usage Limit email alerts when their service usage exceeds 85% of a given Free Tier usage limit. To change who gets these email alerts, choose Billing Preferences from the left navigation bar. To opt other people in to receive Free Tier Usage Alerts, in the Email Address field, add their email address and choose Save preferences. CloseStep 4: Set up a cost budget
In this step, you will set up a cost budget in the AWS Billing Console using AWS Budgets. As part of your cost budget, you will set up three notifications: one for if your costs reach 80% of your budget, one for if your costs are forecasted to exceed your budget, and one if your costs do exceed your budget.
a. Create budget
From the navigation menu on the left, select Budgets then choose Create a budget on the AWS Budgets console page.
Closeb. Choose budget type
On the Choose budget type page, choose Cost budget under Budget types.
Closec. Set budget details
On the Set your budget page, edit the Budget name field to read MyMonthlyBudget. In the Set budget amount section, keep the default selections for Period, Budget renewal type, Start month, and Budgeting method. Enter $100 in the Enter your budgeted amount ($) field. In the Budget scope section, you can use these features to create budgets that track costs associated with a particular set of AWS services, linked accounts, tags, or other usage dimensions. For this tutorial, keep these values as the default and choose Next. Closed. Configure alert for when actual cost exceeds 80% of budget threshold
On the Configure alerts page, you can have AWS Budgets contact you and others by email when budget conditions are met.Choose Add an alert threshold.
CloseConfigure the alert to be triggered when actual costs are greater than 80% of budgeted amount, as shown in the screen shot. Add your email address and the email address of anyone who should receive this alert in the Email recipients field.
Closee. Configure alert for when actual cost exceeds your budget
From the Configure alerts page, choose Add alert threshold.
CloseConfigure this alert to be triggered when forecasted costs are greater than 100% of the budgeted amount, as shown in the screen shot. Add your email address and the email address of anyone who should receive this alert in the Email recipients field.
Closef. Configure alert for when actual costs exceed your budget
From the Configure alerts page, select Add alert threshold. CloseConfigure this alert to notify you when actual costs are greater than 100% of budgeted amount. Add your email address and the email address of anyone who should receive this alert in the Email recipients field.
Closeg. Attach actions (optional)
Choose Next to view the attach actions page.
CloseA budget action allows you to define and trigger cost-saving responses to reinforce a cost-conscious culture. You have the option to attach actions that run whenever your alert threshold has been exceeded, such as stopping an EC2 instance from incurring any further costs. You can select the alerts to which you would like to attach actions, then define these actions.
CloseChoose Next to review the budget details on the Review page.
Close Review your budget and then choose Create budget to create the budget and alerts. After the budget has been created, you see a list AWS Budgets you have created. It is a best practice to create a total monthly cost budget for each AWS account that you use. You can create up to 62 budget days per month using the AWS Budgets service within the Free Tier limit. After that, you simply pay as you go to create additional budgets. Closeh. Inspect your new budget
To dive deeper into your budget details, select your new budget.
CloseFrom there, you can view your budget details, access a budget performance summary, and inspect your historical budget performance.
CloseConclusion
Congratulations! You have finished the Control Your AWS Costs tutorial.
You have successfully analyzed your Free Tier usage and have created a total monthly cost budget using AWS Budgets. Using the AWS Billing Console, you can access a number of tools to help you better understand your costs and usage, including AWS Free Tier Usage Limit email alerts and AWS Budgets. The AWS Free Tier enables you to gain free, hands-on experience with AWS products and services.
Continue your journey with AWS by following the next steps section below.
Was this page helpful?
Feedback Close Thank you for your feedback Feedback helps us improve our experience. If you would like to share more details on the feedback, please click the feedback button below. FeedbackNext steps
AWS Billing and Cost Management Documentation
AWS Billing and Cost Management is a web service that provides features that helps you pay your bills and optimize your costs. Amazon Web Services bills your account for usage, which ensures that you pay only for what you use.Billing and Cost Optimizations Essentials
View the getting started guide for Billing and Cost Optimization Essentials.Optimize Costs and Gain Visibility into Usage with Amazon S3 Storage Lens
Learn how to create, configure, and navigate an S3 Storage Lens dashboard. Understand the difference between free and advanced metrics and explore some use cases.Ending Support for Internet Explorer
Got it AWS support for Internet Explorer ends on 07/31/2022. Supported browsers are Chrome, Firefox, Edge, and Safari. Learn more » Got itTừ khóa » Sử Dụng Aws
-
Hướng Dẫn Thực Hành Cho Amazon Web Services (AWS)
-
Xây Dựng Các ứng Dụng Web Và Trang Web Miễn Phí - Amazon AWS
-
AWS Là Gì - Amazon AWS
-
Hướng Dẫn Bắt đầu Nhanh – Amazon Web Services (AWS)
-
Xây Dựng ứng Dụng Web Cơ Bản - Amazon AWS
-
Bắt đầu Với Amazon Web Services (AWS)
-
Dịch Vụ điện Toán đám Mây Miễn Phí - Bậc Miễn Phí Của AWS
-
Hướng Dẫn Sử Dụng Amazon Web Services (AWS)
-
Tìm Hiểu Về Amazon Web Service (Phần 1) - Viblo
-
Amazon Web Services (AWS) Là Gì? Tại Sao Doanh Nghiệp Cần Dùng ...
-
Lợi ích Khi Sử Dụng AWS - Viblo
-
AWS Là Gì? Những Giải Pháp Dịch Vụ Thường được Sử Dụng Trên AWS
-
Amazon Web Services Là Gì? AWS Cung Cấp Dịch Vụ Gì? | BKHOST
-
AWS Là Gì? Tất Cả Thông Tin Bạn Cần Biết Về Amazon Web Services