Awsgsg freetier

28
Getting Started Guide AWS Free Usage Tier

description

 

Transcript of Awsgsg freetier

Page 1: Awsgsg freetier

Getting Started GuideAWS Free Usage Tier

Page 2: Awsgsg freetier

Getting Started Guide: AWS Free Usage TierCopyright © 2012 Amazon Web Services LLC or its affiliates. All rights reserved.

The following are trademarks or registered trademarks of Amazon: Amazon, Amazon.com, Amazon.comDesign, Amazon DevPay, Amazon EC2, Amazon Web Services Design, AWS, CloudFront, EC2, ElasticCompute Cloud, Kindle, and Mechanical Turk. In addition, Amazon.com graphics, logos, page headers,button icons, scripts, and service names are trademarks, or trade dress of Amazon in the U.S. and/or othercountries. Amazon's trademarks and trade dress may not be used in connection with any product or servicethat is not Amazon's, in any manner that is likely to cause confusion among customers, or in any mannerthat disparages or discredits Amazon.

All other trademarks not owned by Amazon are the property of their respective owners, who may or maynot be affiliated with, connected to, or sponsored by Amazon.Copyright © 2012 Amazon Web Services LLC or its affiliates. All rights reserved.

The following are trademarks or registered trademarks of Amazon: Amazon, Amazon.com, Amazon.comDesign, Amazon DevPay, Amazon EC2, Amazon Web Services Design, AWS, CloudFront, EC2, ElasticCompute Cloud, Kindle, and Mechanical Turk. In addition, Amazon.com graphics, logos, page headers,button icons, scripts, and service names are trademarks, or trade dress of Amazon in the U.S. and/or othercountries. Amazon's trademarks and trade dress may not be used in connection with any product or servicethat is not Amazon's, in any manner that is likely to cause confusion among customers, or in any mannerthat disparages or discredits Amazon.

All other trademarks not owned by Amazon are the property of their respective owners, who may or maynot be affiliated with, connected to, or sponsored by Amazon.

Getting Started Guide AWS Free Usage Tier

Page 3: Awsgsg freetier

What is the AWS Free Usage Tier? ........................................................................................................ 1Am I Eligible? .......................................................................................................................................... 1Services on the Free Usage Tier ........................................................................................................... 1Make the Most of Your Free Monthly Usage ........................................................................................... 3Launching AWS Services in the Free Usage Tier ................................................................................... 5Launch an Amazon EC2 Instance .......................................................................................................... 5Deploy a Sample Web Application in the Free Usage Tier ..................................................................... 6Tracking Usage of Your AWS Resources .............................................................................................. 11View Your Account Activity .................................................................................................................... 11What Happens After the Free Usage Tier Expires? .............................................................................. 18Clean Up Your AWS Resources ............................................................................................................ 21Appendix: How to Check if You're Eligible for Free Usage Tier ............................................................. 24Where To Go Next? .............................................................................................................................. 25

3

Getting Started Guide AWS Free Usage Tier

Page 4: Awsgsg freetier

What is the AWS Free Usage Tier?

Topics

• Am I Eligible? (p. 1)

• Services on the Free Usage Tier (p. 1)

• Make the Most of Your Free Monthly Usage (p. 3)

The Amazon Web Services (AWS) free usage tier gives you an unprecedented opportunity to test driveseveral key AWS products. By following the guidelines of the offer, you can gain experience with workingin the cloud at no charge for an entire year. When your free usage expires or if your application useexceeds the free usage tier, you simply pay the standard, pay-as-you-go service rates. For full pricinginformation, go to AWS Service Pricing Overview. Restrictions apply. For more information, go to offerterms.

This article provides tips for getting started with the free usage tier, and how to make the best use of thisopportunity. For more information on launching Amazon EC2 instances, deploying web applications,tracking your account usage and cleaning up your AWS resources, see the following topics:

• Launch an Amazon EC2 Instance (p. 5)

• Deploy a Sample Web Application in the Free Usage Tier (p. 6)

• Tracking Usage of Your AWS Resources (p. 11)

• Clean Up Your AWS Resources (p. 21)

Am I Eligible?The free usage tier is available for one year after you open an AWS account. If you don’t yet have anaccount, you can sign up here. For instructions on how to check if you are eligible, see Appendix: Howto Check if You're Eligible for Free Usage Tier (p. 24).

Services on the Free Usage TierNot all of AWS products are part of the free usage tier. The following table shows the products that eitherhave free usage tier offerings or can be used at no additional charge.You’re welcome to try out our other

1

Getting Started Guide AWS Free Usage TierAm I Eligible?

Page 5: Awsgsg freetier

services while you’re using the free usage tier, but normal usage fees will apply. Click on the servicesbelow to find out product detail information.

Note

You can mix and match free usage tier usage products with paid products; you will be chargedonly for your usage beyond the free usage tier.

No AdditionalCharge

Has Free UsageLevels

Free Usage TierPricing (For oneyear)

Product

Amazon Elastic Block Store(Amazon EBS)

Amazon Elastic Compute Cloud(Amazon EC2)

Amazon Simple Email Service(Amazon SES)

Amazon Simple Storage Service(Amazon S3)

Elastic Load Balancing

Amazon CloudWatch

Amazon DynamoDB

Amazon Simple NotificationService (Amazon SNS)

Amazon Simple Queue Service(Amazon SQS)

Amazon Simple WorkflowService (Amazon SWF)

Amazon SimpleDB

Amazon Virtual Private Cloud(Amazon VPC)

Auto Scaling

AWS CloudFormation

AWS Elastic Beanstalk

AWS Identity and AccessManagement (IAM)

2

Getting Started Guide AWS Free Usage TierServices on the Free Usage Tier

Page 6: Awsgsg freetier

Note

Usage limitations apply to services on the free usage tier. If you exceed those limitations, youwill be charged the normal rate for those services. For details go to AWS Free Usage Tier.

Try Out the Services on the Free Usage TierYou can get started quickly with the AWS services offered in the free usage tier. The Getting StartedGuides for the services introduce you to each service, and they walk you through a simple example touse the service for the first time. The following list provides a short description of what you can do in thefree usage tier with each service, along with a link to the related documentation.

• Amazon CloudWatch - Collect, view, and analyze metrics.

• Amazon DynamoDB - Store and query data items in a fully-managed, scalable, high performancenon-relational data store.

• Amazon Elastic Block Store (Amazon EBS) - Create and manage block level storage volumes for usewith Amazon EC2 instances.

• Amazon Elastic Compute Cloud (Amazon EC2) - Launch a t1.micro Amazon EC2 instance.

• Amazon Simple Email Service (Amazon SES) - Send email messages.

• Amazon Simple Notification Service (Amazon SNS) - Send and receive HTTP and email notificationsfrom the cloud.

• Amazon Simple Queue Service (Amazon SQS) - Create a queue and then send messages to, andreceive them from, the queue.

• Amazon Simple Storage Service (Amazon S3) - Store and retrieve any amount of data at any time,from anywhere on the web.

• Amazon Simple Workflow Service (Amazon SWF) – Start, run, and retain workflow executions, as wellas schedule tasks, add markers, receive signals, and start timers for those workflow executions.

• Amazon SimpleDB - Store and query data items in a highly available and flexible non-relational datastore.

• Amazon Virtual Private Cloud (Amazon VPC) - Create a virtual network topology—including subnetsand routing—for your Amazon EC2 resources.

• Auto Scaling - Launch or terminate EC2 instances automatically based on user-defined policies,schedules, and health checks.

• AWS CloudFormation - Create and provision AWS infrastructure deployments predictably and repeatedly.

• AWS Elastic Beanstalk - Quickly deploy and manage applications in the AWS cloud without worryingabout the infrastructure that runs those applications.

• AWS Identity and Access Management (IAM) - Securely control access to Amazon Web Services andto your account resources while keeping your account credentials private.

• Elastic Load Balancing - Improve your application's availability by distributing incoming traffic betweentwo or more Amazon EC2 instances.

Make the Most of Your Free Monthly UsageYour free usage does not roll over from month to month; it's a use-it-or-lose it model. To maximize yourbenefit from the free usage tier, be sure to spend time each month with AWS, checking out all the servicesyou’re curious about.

3

Getting Started Guide AWS Free Usage TierTry Out the Services on the Free Usage Tier

Page 7: Awsgsg freetier

For some services, such as Amazon EC2, Elastic Load Balancing, and Amazon SimpleDB, Amazontracks your hourly usage. The free usage tier model provides a number of free usage hours per monthfor these services. For example, the free usage tier pricing model provides 750 usage hours of an AmazonEC2 micro instance per month. (An instance is considered to be running from the time you launch it untilthe time you terminate it.) You can run one instance continuously for a month, or ten micro instances for75 hours a month. How you spend your free usage is up to you.

In some cases, leaving your resources running can actually maximize your free-tier usage. For example,if you run an EC2 instance for only a portion of an hour, AWS counts that as an entire hour against yourfree usage tier usage allotment. If you stop and start an EC2 instance three times in an hour, you’ll haveused up three hours of your free-tier allotment.

The following chart illustrates how this works. Both the red and green usage scenarios below use upthree hours of your monthly free-tier allotment.

If you use AWS resources only intermittently, leaving them running can actually maximize your free-tierusage.

Another place where monitoring your usage is important is in the number of web service requests youmake and your outbound Internet data transfer. In order to stay within the free usage tier, you’ll need tostay under 15 GB of outbound data transfer. The free usage tier limitations on web service requests varyby product. Details are available on the AWS Free Usage Tier page.

4

Getting Started Guide AWS Free Usage TierMake the Most of Your Free Monthly Usage

Page 8: Awsgsg freetier

Launching AWS Services in theFree Usage Tier

Topics

• Launch an Amazon EC2 Instance (p. 5)

• Deploy a Sample Web Application in the Free Usage Tier (p. 6)

This topic provides examples of ways you can get up and running with AWS in the free usage tier. Thefirst part of this topic provides a description of Amazon EC2, which AMIs are available in the free usagetier, and links to information on how to launch an Amazon EC2 instance. The second part of this topicprovides a description of AWS Elastic Beanstalk and how you can deploy a sample Java, PHP, or .NETapplication using many of the AWS resources in the free usage tier.

Launch an Amazon EC2 InstanceThe easiest way to get started with the Amazon free usage tier is to launch a virtual server, which isreferred to as an Amazon EC2 instance. Amazon Elastic Compute Cloud (Amazon EC2) is a powerfulcomponent of AWS and central to many cloud-based applications. In the free usage tier, you can launcha micro Amazon EC2 instance. Micro instances provide a small amount of consistent CPU resourcesand allow you to burst CPU capacity when additional cycles are available. A micro instance is well suitedfor lower throughput applications and web sites that consume significant compute cycles only occasionally.

Note

Because of licensing agreements, SUSE Linux AMIs are not available in the free usage tier.

To request an Amazon EC2 instance, you use the Request Instances wizard or the Quick Launch wizardto specify an Amazon Machine Image, or AMI. An AMI contains all the information that AWS needs tocreate the instance. To keep things simple, AWS marks the AMIs that are available in the free usage tierwith a star. For step-by-step instructions on how to launch, connect to, and terminate your Amazon EC2instance, go to Launch an Instance in the Amazon Elastic Compute Cloud Getting Started Guide.Youcan also launch Amazon EC2 instances automatically when you deploy a web application using AWSElastic Beanstalk. For information on deploying a sample web application using AWS Elastic Beanstalk,see Deploy a Sample Web Application in the Free Usage Tier (p. 6).

5

Getting Started Guide AWS Free Usage TierLaunch an Amazon EC2 Instance

Page 9: Awsgsg freetier

The following illustration shows the Amazon Linux AMIs available in the free usage tier using the ClassicWizard.

If you scroll down, you will see the Microsoft Windows AMIs available in the free usage tier.

Deploy a Sample Web Application in the FreeUsage Tier

There are many ways you can get up and running with your applications using AWS. If you have a Java,PHP, or .NET application and you want a quick way to deploy and manage your application withoutmanually creating the necessary AWS infrastructure, you can use AWS Elastic Beanstalk. AWS ElasticBeanstalk reduces management complexity without restricting choice or control.You simply upload yourapplication, and AWS Elastic Beanstalk automatically handles the details of capacity provisioning, load

6

Getting Started Guide AWS Free Usage TierDeploy a Sample Web Application in the Free Usage Tier

Page 10: Awsgsg freetier

balancing, scaling, and application health monitoring. AWS Elastic Beanstalk uses highly reliable andscalable services that are available in the free usage tier such as:

• Amazon Elastic Compute Cloud (Amazon EC2)

• Amazon Simple Storage Service (Amazon S3)

• Amazon Simple Notification Service (Amazon SNS)

• Amazon CloudWatch

• Elastic Load Balancing

• Auto Scaling

You can also directly perform most deployment tasks, such as changing the size of your fleet of AmazonEC2 instances or monitoring your application, from the AWS Elastic Beanstalk web interface. For moreinformation about AWS Elastic Beanstalk go to AWS Elastic Beanstalk Developer Guide.

This section explains how to use the AWS Management Console to create a new AWS Elastic Beanstalkapplication and deploy the application version to a new environment. By default, AWS Elastic Beanstalkuses the following settings to fit within the free usage tier:

• One t1.micro instance.You can control the number of Amazon EC2 instances that are running at anytime by setting the minimum and maximum number of instances for your Auto Scaling group. By default,the minimum is set to one and the maximum number is set to four. If you want to make sure you onlyhave one instance running at any given time, you can set both the minimum and maximum number toone.You can also specify the type of instance you want to run. By default, AWS Elastic Beanstalk isconfigured to run a t1.micro instance.You can run one t1.micro instance nonstop for one month forfree within the free usage tier.

• Two Amazon CloudWatch alarms and five metrics.You can add up to 10 alarms and 10 basic metrics(at five-minute intervals) within the free usage tier.

• One Elastic Load Balancer.You can run up to 750 hours of an Elastic Load Balancer per month whichis more than enough to run one load balancer nonstop for one month. The free usage tier covers upto 15 GB of data processed by the load balancer, which will accommodate most small applications.The amount of data processed is dependent on the amount of traffic that hits your site.

• SNS email notification. By default, no email address is configured to receive email notifications whenevents happen; however, you can configure this information, and you can receive up to 1000 free emailnotifications.

• One Amazon S3 bucket. AWS Elastic Beanstalk creates an Amazon S3 bucket to store your applications.You can also choose to copy log files on an hourly basis to your Amazon S3 bucket, but by default,this capability is turned off. To ensure you stay within the limits of the free usage tier, ensure that yourstorage, PUT, and GET requests do not exceed the limits.

More information about account activity usage for AWS Elastic Beanstalk can be found in the next section,Tracking Usage of Your AWS Resources (p. 11).

Step 1: Create an ApplicationTo demonstrate how AWS Elastic Beanstalk works, we’ll create and deploy a sample application.

To create a sample application

1. Open the AWS Elastic Beanstalk console at https://console.aws.amazon.com/elasticbeanstalk/.

2. Click Launch Application and select a container option from the Container Type list. Click LaunchApplication to start the application creation process.

7

Getting Started Guide AWS Free Usage TierStep 1: Create an Application

Page 11: Awsgsg freetier

To begin the process of creating the necessary components to run the sample application on AWSresources, AWS Elastic Beanstalk does the following:

• Creates an AWS Elastic Beanstalk application named "My First Elastic Beanstalk Application."

• Creates a new application version labeled "Initial Version" that refers to a default sample applicationfile.

• Launches an environment named "Default-Environment" that provisions the AWS resources to hostthe application.

• Deploys the "Initial Version" application into the newly created "Default-Environment."

This process may take several minutes to complete.

Step 2: View ApplicationAfter you create your application, the details and environment for the application appear in the AWSManagement Console. The Application Details pane provides basic overview information about yourapplication, including events associated with the application and all versions of the application.

The Environment pane displays information about the Amazon EC2 instances that host your application,along with the AWS resources that AWS Elastic Beanstalk provisions when it launches your environment.While AWS Elastic Beanstalk creates your AWS resources and launches your application, the environmentwill be in a Launching state. Status messages about launch events are displayed on the environment'sinformation bar.

8

Getting Started Guide AWS Free Usage TierStep 2: View Application

Page 12: Awsgsg freetier

To see the published version of your application

1. In the Environments pane for your application, click the Environment Details link for your application.The details appear for your application's environment.

2. Click the Overview tab, and then click the link in the URL box. The application page opens in a newtab.The application page opens in a new tab.

Step 3: Change ConfigurationYou can customize your environment to add your email address to receive notifications about importantevents for your application.

Some configuration changes are simple and happen quickly. Some require that AWS Elastic Beanstalkdelete and recreate AWS resources, which can take several minutes. AWS Elastic Beanstalk will warnyou about possible application downtime before it changes configuration settings.

In this task, you will add your email address to receive event notifications.

To change your environment configuration

1. In the Environment pane, on the Actions menu, click Edit/Load Configuration.

2. In the Edit Configuration dialog box, click the Notifications tab.

9

Getting Started Guide AWS Free Usage TierStep 3: Change Configuration

Page 13: Awsgsg freetier

3. In the Email Address box, type your email address.

4. Click Apply Changes.

Wait for the environment's status to change from Updating to Ready, and then view your application asyou did in Step 2: View Application (p. 8).

Congratulations! You've deployed and made changes to your first sample application using AWS ElasticBeanstalk in the free usage tier. To learn how to track your usage and your account activity, see TrackingUsage of Your AWS Resources (p. 11).

10

Getting Started Guide AWS Free Usage TierStep 3: Change Configuration

Page 14: Awsgsg freetier

Tracking Usage of Your AWSResources

Topics

• View Your Account Activity (p. 11)

• What Happens After the Free Usage Tier Expires? (p. 18)

The AWS free usage tier gives you free access to many services up to specified limits. If you intend torestrict your usage to those limits, you’ll want to track your usage of your AWS resources. This chapterwill help you understand how to track your usage of your running AWS resources and the costs for theAWS resources used that aren’t covered by the free usage tier. It also helps you understand what youwould be billed for after the free usage tier expires for the sample AWS Elastic Beanstalk application youdeployed in Deploy a Sample Web Application in the Free Usage Tier (p. 6). For more information abouthow AWS pricing works, go to How AWS Pricing Works. If you have questions about your account, youcan contact Account and Billing support at Contact Us.

View Your Account ActivityYou should check your account activity regularly to ensure that any charges are in line with what youexpect.Your account activity is updated daily, and you will see a list of charges accrued so far in yourcurrent billing cycle.You can also check previous billing cycles.

The summary page provides a summary of all charges and the rates for each AWS product.To see moredetailed usage activity, click Download Usage Report for each product.

To view your account activity

1. Go to http://aws.amazon.com/account/.

2. Click Account Activity.

3. Sign in to your AWS account.

Your account summary appears. The following image shows an example bill after deploying thesample AWS Elastic Beanstalk application in the previous example and assuming you have at leastone page view a day.You can see in the image that all the services used for this scenario are freeafter three days of activity.

11

Getting Started Guide AWS Free Usage TierView Your Account Activity

Page 15: Awsgsg freetier

To better understand your account activity, it helps to break down each product by what is being tracked.

Amazon Elastic Compute CloudTo look at the breakdown of the Amazon EC2 costs, expand the Amazon Elastic Compute Cloud nodeon the account activity summary.

12

Getting Started Guide AWS Free Usage TierAmazon Elastic Compute Cloud

Page 16: Awsgsg freetier

You can see in the above image, that the following resources are being tracked:

• Amazon EC2 running Linux/UNIX

• Elastic Load Balancing

• Amazon EC2 EBS

• Amazon CloudWatch

Detailed pricing for these resources can be found at http://aws.amazon.com/pricing/ec2/.

AWS tracks the number of hours your Amazon EC2 instance is running. The price depends on the typeof Amazon EC2 instance and the software it is running. By default, AWS Elastic Beanstalk deploys thesample application to a minimum of one t1.micro instance and a maximum of four instances. To ensurethat you stay within the free usage tier, keep the default of t1.micro, and set Auto Scaling so that theminimum number and maximum number of instances are both one. For instructions on how to configurethe Auto Scaling settings in AWS Elastic Beanstalk go to Configuring Auto Scaling in the AWS ElasticBeanstalk Developer Guide.You get free usage of t1.micro instances for up to 750 hours per month. Atthe time of publication for this paper, the price per hour for on-demand instances for a t1.micro in the USEast region is $0.02 per hour. The price varies depending on the region your Amazon EC2 instance isrunning.

13

Getting Started Guide AWS Free Usage TierAmazon Elastic Compute Cloud

Page 17: Awsgsg freetier

For Elastic Load Balancing, AWS tracks the number of hours your load balancer is running, as well asthe data that passes through the load balancer to the Amazon EC2 instance. By default, AWS ElasticBeanstalk creates one load balancer that directs traffic across your Amazon EC2 instances. Under thefree usage tier, you get 750 hours and 15 GB of data processing free per month. At the time of publicationfor this paper, the price per hour in the US East region for a load balancer is $0.025 and $0.008 per GBof data processed. The price varies depending on the region where your load balancer is being used.

AWS tracks the amount of provisioned storage per gigabyte for Elastic Block Storage (EBS) volumes andthe number of I/O requests to these volumes. In addition, if snapshots of the EBS volume are made toAmazon Simple Storage Service (S3), AWS tracks the amount of storage. With the free usage tier, youget 30 GB of Amazon Elastic Block Storage (EBS) plus 2 million IOs, 1 GB snapshot storage, 10,000snapshot Get Requests and 1,000 snapshot Put Requests. The pricing page and the following imageshows the pricing for Amazon EBS at the time this paper was published. The price varies depending onthe region.

AWS tracks the number of Amazon CloudWatch alarms per instance per month as well as the frequencyfor which the alarms are set. By default, AWS Elastic Beanstalk enables five basic Amazon CloudWatchmetrics, which return data in five-minute periods and two Amazon CloudWatch alarms. AWS allows upto 10 alarms, 10 metrics, and 1,000,000 API requests. This offer does not expire after the free usage tierexpires. The Amazon CloudWatch Pricing Page shows the pricing breakdown for Amazon CloudWatch.Current prices are shown in the following image. The price varies depending on the region.

14

Getting Started Guide AWS Free Usage TierAmazon Elastic Compute Cloud

Page 18: Awsgsg freetier

This pricing information shows activity for one day. Let's look at what the price would be if you continuedto run the sample AWS Elastic Beanstalk application 24 hours a day 7 days a week and continued to visitthe web site once a day. Assuming that there are 30 days in a month, we can multiply the metrics by 10to come up with a total for the month. As the following table shows, such usage would be within the freeusage tier.

Free Usage Tier30 days usage3 days usageResource

750 hours720 hours72 hoursAmazon EC2Instance runningLinux/UNIX

750 hours

15 GB

710 hours

0.0115 GB

71 hours

0.000382 GB

Elastic LoadBalancing

30 GB provisionedstorage

2,000,000 IOs

7.89 GB provisionedstorage

1,365,050 IOs

0.789 GB provisioned storage

136,505 IOs

Amazon EBS

10 Alarms0.1980.0198 AlarmsAmazon CloudWatch

Amazon Simple Notification ServiceTo look at the breakdown of the Amazon SNS costs, expand the Amazon SNS costs by expanding theAmazon Simple Notification Service node on the account activity summary.

15

Getting Started Guide AWS Free Usage TierAmazon Simple Notification Service

Page 19: Awsgsg freetier

AWS tracks the number of SNS requests, HTTP/HTTPS notifications, and email notifications each month.AWS offers up to 100,000 requests, 100,000 HTTP/HTTPS notifications, and 1,000 email notificationsfor free always, even after the free usage tier expires. Detailed pricing information is available athttp://aws.amazon.com/pricing/sns.

The following table shows activity for three days. The requests made were to create and subscribe to thetopic, and an email notification was sent to confirm the subscription. The number of requests andnotifications can vary depending on the health of the application and the number of topics you subscribeto. As the table shows, the requests and the notifications are well within the limits of the free usage tier.

Free Usage Tier30 days usage3 days usageResource

100,000 requests

1,000 emailnotifications

30 requests

10 email notifications

3 requests

1 email notification

Amazon SNS

Amazon Simple Storage ServiceTo look at the breakdown of the Amazon S3 costs, expand the Amazon Simple Storage Service nodeon the account activity summary.

16

Getting Started Guide AWS Free Usage TierAmazon Simple Storage Service

Page 20: Awsgsg freetier

This pricing information shows activity for three days. The cost is for AWS Elastic Beanstalk to get a listof all the buckets and create the Amazon S3 bucket if it doesn't already exist. AWS Elastic Beanstalkissued a second LIST request to list all the buckets when we added our email address to our environment.Unless you plan to make additional updates to your environment or upload objects to your Amazon S3bucket, you should not continue to see additional requests.

Free Usage Tier30 days usage3 days usageResource

2000 PUT requests3 PUT requests3 PUT requestsAmazon S3

AWS Data TransferTo view a breakdown of the data transfer costs, expand the AWS Data Transfer (excluding AmazonCloudFront) node on the account activity summary.

While you are charged for data transfer out, there is no charge for inbound data transfer or data transferbetween other AWS services within the same region. The outbound data transfer is aggregated acrossAmazon EC2, Amazon S3, Amazon RDS, Amazon SimpleDB, Amazon SQS, Amazon SNS, and AmazonVPC and then charged at the outbound data transfer rate.This charge appears on the monthly statement

17

Getting Started Guide AWS Free Usage TierAWS Data Transfer

Page 21: Awsgsg freetier

as AWS Data Transfer Out. The Amazon Simple Storage Service (S3) Pricing page shows the latestpricing information. The costs shown in the following image are current at the time of publication.

This pricing information shows activity for three days. Let's look at what the price would be if you continuedto run the sample AWS Elastic Beanstalk application 24 hours a day 7 days a week and visit the web siteonce a day. Assuming that there are 30 days in a month, we can multiply the metrics by 10 to come upwith a total for the month.

Free Usage Tier30 days usage3 days usageResource

First GB per month isfree

First GB regional datatransfer

All data transfer in isfree

0.13 GB data transferout

0.00001 GB regionaldata transfer

0.04 GB data transferin

0.013 GB data transfer out

0.000001 GB regional datatransfer

0.004 GB data transfer in

AWS Data Transfer

What Happens After the Free Usage TierExpires?

After the free usage tier expires, you will be charged at the standard usage rates. To gain a betterunderstanding of what these charges might be, let's use the AWS Elastic Beanstalk sample applicationand take a look at what the charges would be outside the free usage tier. The best way to do this is tolook at your account activity and replace the free usage tier rate with the regular standard usage rates.We'll use the same usage for 30 days that we calculated in the previous sections. Let's break it downagain per product.

Standard Rates for Amazon EC2The following table shows the breakdown of costs for Amazon EC2 for the US East region for 30 daysof usage.

18

Getting Started Guide AWS Free Usage TierWhat Happens After the Free Usage Tier Expires?

Page 22: Awsgsg freetier

CostStandard Usage RatesResource

$14.40$0.02 per Micro Instance (t1.micro)instance-hour (or partial hour)

On-demand Instancerunning Linux/UNIX

$18.00

$0.003

$0.025 per LoadBalancer-hour (or partialhour)

$0.008 per GB Data Processed by theLoadBalancer

Elastic Load Balancing

$0.80

$0.20

$0.10 per GB-month of provisioned storage

$0.10 per 1 million I/O requests

Amazon EC2 EBS

$0.00

$0.00

$0.00 per alarm-month - first 10 alarmsAmazon CloudWatch

$33.40Total Cost

Standard Rates for Amazon SNSThe following table shows the standard usage rates for Amazon SNS in the US East region for 30 daysof usage.

CostStandard Usage RatesResource

$0.00First 100,000 Amazon SNS API Requestsper month are free

Amazon SNS

$0.00Total Cost

Standard Rates for Amazon S3The following table shows the standard usage rates for Amazon S3 in the US East region for 30 days ofusage.

CostStandard Usage RatesResource

$0.00$0.01 per 1,000 PUT/COPY/LIST/POSTrequests

Amazon S3

$0.00Total Cost

Standard Rates for AWS Data TransferThe following table shows the standard usage rates for AWS Data Transfer Out across AWS resourcesin the same availability zone in the same US East region for 30 days of usage.

19

Getting Started Guide AWS Free Usage TierStandard Rates for Amazon SNS

Page 23: Awsgsg freetier

CostStandard Usage RatesResource

$0.00$0.000 per GB - first GB of data transfer outis free

AWS Data Transfer Out

$0.00001$0.10 per GBAWS Regional DataTransfer

$0.00$0.000 per GB - data transfer in is freeAWS Data Transfer In

$0.00Total Cost

Sum It All UpIf you add up the individual costs for Amazon EC2, Amazon SNS, Amazon S3, and AWS Data TransferOut, you can see that the total charges will come to $33.40 for usage charges for the month when thefree usage tier is no longer available to you.

For a list of resources to help you get up to speed with AWS, see Where To Go Next? (p. 25). If youwould like to clean up your AWS resources, see Clean Up Your AWS Resources (p. 21).

20

Getting Started Guide AWS Free Usage TierSum It All Up

Page 24: Awsgsg freetier

Clean Up Your AWS Resources

In this paper, we have walked through deployment of a sample application that takes advantage of theAWS free usage tier.You should now clean up the resources that the sample application has been using.Doing so will free up computing resources within the free usage tier so that you can use those resourcesto run an application of your own. If you manually launched an Amazon EC2 instance, you can terminatethat instance now. For instructions on how to terminate an Amazon EC2 instance, go to Terminate YourInstance in the Amazon Elastic Compute Cloud Getting Started Guide.

Delete Your AWS Elastic Beanstalk Applicationand Terminate Its Resources

Verify that you are not using any AWS Elastic Beanstalk resources by reviewing your applications anddeleting those you no longer need.

To completely delete the application, you will do the following steps:

• Terminate the environment

• Delete all application versions

• Delete the application

To terminate the environment

1. In the Application Details view, click the Overview tab.

2. Click the Actions button next to the environment you want to delete and click Terminate thisEnvironment.

21

Getting Started Guide AWS Free Usage TierDelete Your AWS Elastic Beanstalk Application and

Terminate Its Resources

Page 25: Awsgsg freetier

The Terminate Environment dialog box appears.

3. Click the Terminate Environment button.

To delete all application versions

1. In the Application Details view, click the Versions tab.

2. Select the check box next to your application versions and click the Delete Version button.

3. In the Delete Application Version dialog box, select the Delete Version from Amazon S3 as wellcheck box.

4. Click Yes, Delete.

To delete the application

1. In the Application Details view, click the Overview tab.

22

Getting Started Guide AWS Free Usage TierDelete Your AWS Elastic Beanstalk Application and

Terminate Its Resources

Page 26: Awsgsg freetier

2. Click the Delete This Application link.

3. Click Yes, Delete.

23

Getting Started Guide AWS Free Usage TierDelete Your AWS Elastic Beanstalk Application and

Terminate Its Resources

Page 27: Awsgsg freetier

Appendix: How to Check if You'reEligible for Free Usage Tier

If you’re not sure whether you opened your account within the past year, you can check the accountactivity page. The following example shows you how to check if you are eligible.

1. Go to http://aws.amazon.com/account/.

2. Choose Account Activity from the list.

If you are eligible, you will see a note at the top of the screen like in the following picture.

24

Getting Started Guide AWS Free Usage Tier

Page 28: Awsgsg freetier

Where To Go Next?

You’re not alone as you explore Amazon Web Services using the free tier. The following links connectyou to additional information and resources to help you on your way.

Hosting Websites on Amazon S3 in the Amazon Simple Storage Service Developer GuideInstructions on how to create a static website using Amazon S3.

Deploying a WordPress Blog on Your Amazon EC2 Instance in the Amazon Elastic Compute CloudMicrosoft Windows GuideInstructions on how to deploy a WordPress Blog on an Windows Amazon EC2 instance.

AWS Free Usage TierInstructions and details about the free usage tier.

AWS Free Tier FAQsFrequently asked questions about the free usage tier.

ForumsAsk questions and find answers about using the free usage tier.

User GroupsFind other people using the AWS free usage tier in your area.

AWS Customer ServiceCustomer service representatives that can help you with billing questions.

Blog Posts

• JumpBox for the AWS Free Usage Tier

• Jeff Barr’s blog post: Servers for Nothing, Bits for Free

• Amazon Web Services Blog

25

Getting Started Guide AWS Free Usage Tier