AWS For Developers For Dummies
Book image
Explore Book Buy On Amazon
At some point, you need to consider the fact that you’ll have to pay for the services you need to use AWS effectively. Yes, you can perform a considerable amount of careful testing before payment becomes necessary, but eventually you’ll have to pay for something. This means planning for the services that you must pay for in advance so that you don’t suddenly find yourself buried in debt during the discovery phase of your AWS adventure.

Amazon has a tendency not to tell you about any service costs; those costs just suddenly appear on your credit card statement. The following steps help prevent that scenario from happening:

  1. Choose my Account→   My Billing Dashboard and log in to the system if necessary.

    You see the Billing & Cost Management Dashboard.

    Billing Management Console AWS The Billing Management Console lets you manage settings for your AWS account.
  2. Click Preferences on the left side of the browser window.

    You see a list of billing information preferences.

    AWS billing preferences Configure your billing preferences to ensure that Amazon talks to you about costs.
  3. Select Receive Billing Alerts and then click Save Preferences.

    You see a message stating that AWS saved your preferences.

  4. Click Manage Billing Alerts.

    Halfway down the page, you see the Alarm Summary section.

    AWS billing alarm Create an alarm to tell you about any charges.
  5. Choose Alarms\Billing on the left side of the display.

    You see the Billing Alarms page. Note the third paragraph, which tells you the number of free alarms and email notifications you receive each month. It’s possible, though not likely, that you could get an alarm billing for the courtesy of a notification about getting billed for another service.

    monitor AWS metrics Choose a metric to monitor.
  6. Click Create Alarm.

    You see the Create Alarm dialog box. Use the fields in this dialog box to determine the level at which you get informed about charges and the email address used to inform you.

    Create AWS billing alarm Provide the information needed to create the alarm.
  7. Enter an amount in the Exceed field.

    Entering a value of 0.01 ensures that you get alerts whenever Amazon adds a charge to your account. (You know about the charge after Amazon adds it, but knowing about the charge lets you make changes so that you don’t keep accumulating additional charges.)

  8. Type an email address in the Send a Notification To field.

    The default display uses an email address. Click the Show Advanced option to obtain other notification options. For example, you can create a notification list, rather than send the alarm to just one person.

  9. Click Create Alarm.

    In most cases, you see the Confirm New Email Address dialog box. The alarm isn’t active until you confirm the email address, but you don’t have to do so immediately. If you don’t confirm the email address in 72 hours, Amazon cancels the alarm.

    confirm email AWS Confirm the email address you want to use.

    When you do confirm the email address, you see a page stating that the subscription is confirmed. It also provides you with the topic number for the subscription, and you see a link for unsubscribing to the notification when necessary.

    After the email is confirmed, the dialog box changes to show the change in status. You see a message that AWS is waiting for the confirmation of 0 new email addresses.

  10. Click View Alarm.

    Amazon begins notifying you whenever it charges your credit card for any amount exceeding the threshold you set. To verify that the alarm is set, choose Alarms\OK. You should see the alarm with a blank Config Status field (showing that you confirmed the alarm).

You must explicitly close your account when you finish using it. To close your account, choose My Account →   Account Settings. Log in to the system, if necessary. At the bottom of the first page you see is a Close Account section. Click Close Account if you’re certain that you’re done using AWS. The same page has a Cancel Services section, in which you can cancel services you no longer need. This is a good option to use if you come to the end of the 12-month free-usage period and decide you want to continue working with services that don’t have an expiration date.

About This Article

This article is from the book:

About the book author:

John Mueller is an author and technical editor who has written 103 books. Some of his current works include Python development books. He has also written AWS For Admins For Dummies, which provides administrators a great place to start with Amazon Web Services (AWS). John has had an interest in AWS since its inception. In fact, he wrote Mining Amazon Web Services based on that humble beginning. Be sure to read John's blog at

This article can be found in the category: