How AWS Pricing Works: June 2018
How AWS Pricing Works: June 2018
June 2018
Table of Contents
Introduction ................................................................................................................................................................................... 4
AWS Lambda.............................................................................................................................................................................. 9
Conclusion .................................................................................................................................................................................... 19
Resources ...................................................................................................................................................................................... 20
Page 2 of 22
Amazon Web Services – How AWS Pricing Works June 2018
©2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Notices
This document is provided for informational purposes only. It represents AWS’s current
product offerings and practices as of the date of issue of this document, which are subject to
change without notice. Customers are responsible for making their own independent
assessment of the information in this document and any use of AWS’s products or services,
each of which is provided “as is” without warranty of any kind, whether express or implied.
This document does not create any warranties, representations, contractual commitments,
conditions or assurances from AWS, its affiliates, suppliers or licensors. The responsibilities
and liabilities of AWS to its customers are controlled by AWS agreements, and this document
is not part of, nor does it modify, any agreement between AWS and its customers.
Page 3 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Introduction
Amazon Web Services (AWS) helps you move faster, reduce IT costs, and attain global scale through a
broad set of global compute, storage, database, analytics, application, and deployment services. One of
the main benefits of cloud services is the ability it gives you to optimize costs to match your needs,
even as those needs change.
AWS offers on-demand, pay-as-you-go, and reservation-based payment models, enabling you to obtain
the best return on your investment for each specific use case. AWS services do not have complex
dependencies or licensing requirements, so you can get exactly what you need to build innovative, cost-
effective solutions using the latest technology. In this whitepaper, we’ll provide an overview of how
AWS pricing works across some of our most widely used services. The latest pricing information for
each AWS service is available at http://aws.amazon.com/pricing/.
Key Principles
While pricing models vary across services, it’s worthwhile to review key principles and best practices
that are broadly applicable.
In most cases, there is no charge for inbound data transfer or for data transfer between other AWS
services within the same region. There are some exceptions, so be sure to verify data transfer rates
before beginning. Outbound data transfer is aggregated across services and then charged at the
outbound data transfer rate. This charge appears on the monthly statement as AWS Data Transfer Out.
The more data you transfer, the less you pay per GB. For compute resources, you pay hourly from the
time you launch a resource until the time you terminate it, unless you have made a reservation for
which the cost is agreed upon beforehand. For data storage and transfer, you typically pay per GB.
Except as otherwise noted, our prices are exclusive of applicable taxes and duties, including VAT and
sales tax. For customers with a Japanese billing address, use of AWS is subject to Japanese
Consumption Tax. Learn more.
Page 4 of 22
Amazon Web Services – How AWS Pricing Works June 2018
When it comes to understanding pricing and optimizing your costs, it’s never too early to start. It’s
easiest to put cost visibility and control mechanisms in place before the environment grows large and
complex. Managing cost-effectively from the start ensures that managing cloud investments doesn’t
become an obstruction as you grow and scale.
Page 5 of 22
Amazon Web Services – How AWS Pricing Works June 2018
The following free-tier offers are only available to new AWS customers, and are available for 12 months
following your AWS sign-up date:
• Amazon Elastic Compute Cloud (Amazon EC2): 750 hours per month of Linux, RHEL, or SLES
t2.micro instance usage or 750 hours per month of Windows t2.micro instance usage
• Amazon Simple Storage Service (Amazon S3): 5 GB of Amazon S3 standard storage, 20,000
Get Requests, and 2,000 Put Requests
• Amazon Relational Database Service (Amazon RDS): 750 hours of Amazon RDS Single-AZ
db.t2.micro Instances for running MySQL, PostgreSQL, MariaDB, Oracle BYOL, or SQL Server
(running SQL Server Express Edition); 20 GB of database storage; 10 million I/Os; and 20 GB of
backup storage
• Amazon CloudFront: 50 GB Data Transfer Out and 2,000,000 HTTP and HTTPS Requests each
month
The following 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:
• AWS DynamoDB: Up to 200 million requests per month (25 Write Capacity units and 25 Read
Capacity units); 25 GB of indexed data storage; 2.5 million read requests per month
from DynamoDB Streams; ability to deploy DynamoDB Global Tables in up to two AWS regions
• Amazon Glacier: Retrieve up to 10 GB of your Amazon Glacier data per month for free
• AWS Lambda: 1 million free requests per month; up to 3.2 million seconds of compute time per
Page 6 of 22
Amazon Web Services – How AWS Pricing Works June 2018
simple web service interface of Amazon EC2 allows you to obtain and configure capacity with minimal
friction with complete control of your computing resources.
Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing
you to quickly scale capacity, both up and down, as your computing requirements change.
Page 7 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Dedicated Hosts
A Dedicated Host is a physical EC2 server dedicated for your use. Dedicated Hosts can help you reduce
costs by allowing you to use your existing server-bound software licenses, including Windows Server,
SQL Server, and SUSE Linux Enterprise Server (subject to your license terms). They can also help you
meet compliance requirements.
Per-second billing
When Amazon EC2 was launched, the ability to use an instance for an hour, and to pay only for that
hour, was big news. Today, many customers use Amazon EC2 to do a lot of work in a short time,
sometimes minutes or even seconds. In 2017, we announced per-second billing for usage of Linux
instances across On-Demand, Reserved, and Spot Instances. Similarly, provisioned storage for EBS
volumes is billed in one-second increments.
Per-second billing saves money. It is particularly effective for resources that have periods of low and
high usage such as development and testing, data processing, analytics, batch processing, and gaming
applications. Learn more about per-second billing.
• Clock hours of server time: Resources incur charges when they are running—for example, from
the time Amazon EC2 instances are launched until they are terminated, or from the time Elastic
IPs are allocated until the time they are de-allocated.
• Instance type: Amazon EC2 provides a wide selection of instance types optimized to fit different
use cases. Instance types comprise varying combinations of CPU, memory, storage, and
networking capacity and give you the flexibility to choose the appropriate mix of resources for
your applications. Each instance type includes at least one instance size, allowing you to scale
your resources to the requirements of your target workload.
• Pricing model: With On-Demand Instances, you pay for compute capacity by the hour with no
required minimum commitments. Reserved Instances give you the option to make a low one-
time payment—or no payment at all—for each instance you want to reserve and in turn receive
a significant discount on the hourly usage charge for that instance. With Spot Instances, you can
bid for unused Amazon EC2 capacity. For additional information on how to save more money
using Reserved Instances and Spot Instances, see the AWS Cost Optimization page.
• Number of instances: You can provision multiple instances of your Amazon EC2 and Amazon
EBS resources to handle peak loads.
• Load balancing: An Elastic Load Balancer can be used to distribute traffic among Amazon EC2
Instances. The number of hours the Elastic Load Balancer runs and the amount of data it
processes contribute to the monthly cost.
Page 8 of 22
Amazon Web Services – How AWS Pricing Works June 2018
• Detailed monitoring: You can use Amazon CloudWatch to monitor your EC2 instances. By
default, basic monitoring is enabled. For a fixed monthly rate, you can opt for detailed
monitoring, which includes seven preselected metrics recorded once a minute. Partial months
are charged on an hourly pro rata basis, at a per instance-hour rate.
• Auto Scaling: Auto Scaling automatically adjusts the number of Amazon EC2 instances in your
deployment according to conditions you define. This service is available at no additional charge
beyond Amazon CloudWatch fees.
• Elastic IP addresses: You can have one Elastic IP (EIP) address associated with a running instance
at no charge.
• Operating systems and software packages: Operating system prices are included in instance
prices, unless you choose to bring your own licenses. There are no additional licensing costs to
run the following commercial operating systems: Red Hat Enterprise Linux, SUSE Enterprise
Linux, Windows Server, and Oracle Enterprise Linux. Additionally, AWS has made it easy for you
by partnering with Microsoft, IBM, and several other vendors so you can run commercial
software packages, such as Microsoft SQL Server, on your Amazon EC2 Instances,. For
commercial software packages AWS doesn’t provide—such as nonstandard operating systems,
Oracle Applications, Windows Server applications such as Microsoft SharePoint and Microsoft
Exchange—you need to obtain a license from the vendors. You can also bring your existing
license to the cloud through specific vendor programs such as Microsoft License Mobility
Through Software Assurance Program.
AWS Lambda
AWS Lambda lets you run code without provisioning or managing servers. You pay only for the
compute time you consume—there is no charge when your code is not running. With Lambda, you can
run code for virtually any type of application or backend service—all with zero administration. Just
upload your code and Lambda takes care of everything required to run and scale your code with high
availability.
With AWS Lambda, you pay only for what you use. You are charged based on the number
of requests for your functions and the time it takes for your code to execute. Lambda registers a
request each time it starts executing in response to an event notification or invoke call, including test
invokes from the console. You are charged for the total number of requests across all your functions.
Duration is calculated from the time your code begins executing until it returns or otherwise terminates,
rounded up to the nearest 100 milliseconds. The price depends on the amount of memory you allocate
to your function.
Page 9 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Request pricing
• Free Tier: 1 million requests per month, 400,000 GB-seconds of compute time per month
• $0.20 per 1 million requests thereafter, or $0.0000002 per request
Duration pricing
• 400,000 GB-seconds per month free, up to 3.2 million seconds of compute time
• $0.00001667 for every GB-second used thereafter
Additional charges
You may incur additional charges if your Lambda function uses other AWS services or transfers data.
For example, if your Lambda function reads and writes data to or from Amazon S3, you will be billed for
the read/write requests and the data stored in Amazon S3.
Page 10 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Amazon S3 Glacier
Amazon Glacier is a secure, durable, and extremely low-cost cloud storage service for data archiving
and long-term backup. It is designed to deliver 99.999999999 percent durability, with comprehensive
security and compliance capabilities that can help meet even the most stringent regulatory
requirements. Amazon Glacier provides query-in-place functionality, allowing you to run powerful
analytics directly on your archived data at rest.
Amazon Glacier provides low-cost, long-term storage
Starting at $0.004 per GB per month, Amazon Glacier allows you to archive large amounts of data at a
very low cost. You pay only for what you need, with no minimum commitments or upfront fees. Other
factors determining pricing include requests and data transfers out of Amazon Glacier (incoming
transfers are free).
Page 11 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Retrieval Requests On-Demand: $0.01 per $0.050 per 1,000 $0.025 per 1,000
request requests requests
AWS Snowball
AWS Snowball is a PB-scale data transport solution that uses secure appliances to transfer large
amounts of data into and out of the AWS cloud. Using Snowball addresses common challenges with
large-scale data transfers, including high network costs, long transfer times, and security concerns.
Transferring data with Snowball is simple, fast, and secure, and can be as little as one-fifth the cost of
high-speed internet.
With AWS Snowball, you pay a service fee per data transfer job and the cost of shipping the appliance.
Each job includes the use of a Snowball appliance for 10 days of onsite usage for free; there is a small
charge for extra onsite days. Shipping days, including the day the appliance is received and the day it is
shipped back to AWS, are not counted toward the 10 free days. Data transferred into AWS does not
incur any data transfer fees, and Standard Amazon S3 pricing applies.
Page 12 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Page 13 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Amazon RDS
Amazon RDS is a web service that makes it easy to set up, operate, and scale a relational database in
the cloud. It provides cost-efficient and resizable capacity while managing time-consuming database
administration tasks, so you can focus on your applications and business.
Estimating Amazon RDS costs
The factors that drive the costs of Amazon RDS include:
• Clock hours of server time: Resources incur charges when they are running—for example, from
the time you launch a DB instance until you terminate it.
• Database characteristics: The physical capacity of the database you choose will affect how
much you are charged. Database characteristics vary depending on the database engine, size,
and memory class.
• Database purchase type: When you use On-Demand DB Instances, you pay for compute
capacity for each hour your DB Instance runs, with no required minimum commitments. With
Reserved DB Instances, you can make a low, one-time, upfront payment for each DB Instance
you wish to reserve for a 1- or 3-year term.
• Number of database instances: With Amazon RDS, you can provision multiple DB instances to
handle peak loads.
• Provisioned storage: There is no additional charge for backup storage of up to 100 percent of
your provisioned database storage for an active DB Instance. After the DB Instance is terminated,
backup storage is billed per GB per month.
• Additional storage: The amount of backup storage in addition to the provisioned storage
amount is billed per GB per month.
• Requests: The number of input and output requests to the database.
• Deployment type: You can deploy your DB Instance to a single Availability Zone (analogous to a
standalone data center) or multiple Availability Zones (analogous to a secondary data center for
enhanced availability and durability). Storage and I/O charges vary, depending on the number of
Availability Zones you deploy to.
• Data transfer: Inbound data transfer is free, and outbound data transfer costs are tiered.
Depending on your application’s needs, it’s possible to optimize your costs for Amazon RDS database
instances by purchasing reserved Amazon RDS database instances. To purchase Reserved Instances, you
make a low, one-time payment for each instance you want to reserve and in turn receive a significant
discount on the hourly usage charge for that instance.
Get more information about Amazon RDS pricing.
Page 14 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Amazon DynamoDB
Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need
consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and
supports both document and key-value store models. Its flexible data model, reliable performance, and
automatic scaling of throughput capacity make it a great fit for mobile, web, gaming, ad tech, IoT, and
many other applications.
Amazon DynamoDB pricing at a glance
Unlike traditional NoSQL deployments that ask you to think about memory, CPU, and other system
resources that could affect your throughput, DynamoDB simply asks you to specify the target utilization
rate and minimum to maximum capacity that you want for your table. DynamoDB handles the
provisioning of resources to achieve your target utilization of read and write capacity, then auto-scales
your capacity based on usage. Optionally, you can directly specify read and write capacity if you prefer
to manually manage table throughput.
Provisioned One write capacity unit (WCU) provides up to one write As low as $0.47
throughput (write) per second, enough for 2.5 million writes per month. per WCU
Provisioned One read capacity unit (RCU) provides up to two reads per As low as $0.09
throughput (read) second, enough for 5.2 million reads per month. per RCU
Indexed data storage DynamoDB charges an hourly rate per GB of disk space As low as $0.25
that your table consumes. per GB
Page 15 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Global Tables
Global Tables builds on DynamoDB’s global footprint to provide you with a fully managed, multiregion,
and multimaster database that provides fast local read and write performance for massively scaled,
global applications. Global Tables replicates your Amazon DynamoDB tables automatically across your
choice of AWS regions.
When using Global Tables, you are charged based on the resources associated with each replica table.
Write capacity for Global Tables is represented by replicated write capacity units (rWCUs) instead of
standard write capacity units (WCUs). For more details on Global Tables, please refer to the DynamoDB
Developer Guide.
There is no minimum fee to use DynamoDB. Estimate your monthly bill using the Simple Monthly
Calculator.
Learn more about pricing for additional DynamoDB services at the Amazon DynamoDB pricing page.
Amazon CloudFront
Amazon CloudFront is a global content delivery network (CDN) service that securely delivers data,
videos, applications, and APIs to your viewers with low latency and high transfer speeds.
Amazon CloudFront pricing
Amazon CloudFront charges are based on the data transfers and requests used to deliver content to
your customers. There are no upfront payments or fixed platform fees, no long-term commitments, no
premiums for dynamic content, and no requirements for professional services to get started. There is no
charge for data transferred from AWS services such as Amazon S3 or Elastic Load Balancing. And, best
of all, you can get started with CloudFront for free.
When you begin to estimate the cost of Amazon CloudFront, consider the following:
• Traffic distribution: Data transfer and request pricing varies across geographic regions, and
pricing is based on the edge location through which your content is served.
• Requests: The number and type of requests (HTTP or HTTPS) made and the geographic region
in which the requests are made.
• Data transfer out: The amount of data transferred out of your Amazon CloudFront edge
locations.
Page 16 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Most reservations can be purchased using a range of payment terms including No Upfront, Partial
Upfront, or All Upfront. When you buy reservations, the larger the upfront payment, the greater the
discount. To maximize your savings, you can pay all up front and receive the largest discount. Partial
Upfront RIs offer lower discounts but give you the option to spend less up front. Lastly, you can choose
to spend nothing up front and receive a smaller discount, allowing you to free up capital to spend in
other projects.
For more information about reservation-based pricing, see the AWS Cost Optimization page.
Page 17 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Partial
$515 $14.60 $0.040 59%
Upfront
As shown the first table, choosing a one-year All Upfront Reserved Instance will save you 40% over On-
Demand pricing. The second table shows that three-year RIs savings can increase to 62%.
Page 18 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Conclusion
While the number and types of services offered by AWS have increased dramatically, our philosophy on
pricing has not changed. You pay as you go, pay for what you use, pay less as you use more, and pay
even less when you reserve capacity. Projecting costs for a use case, such as web application hosting,
can be challenging, because a solution typically uses multiple features across multiple AWS products,
which in turn means there are more factors and purchase options to consider.
The best way to estimate costs is to examine the fundamental characteristics for each AWS product,
estimate your usage for each characteristic, and then map that usage to the prices posted on the
website. To help you understand how AWS pricing works in the context of real-world solutions, see a
cost-calculation example later in this paper.
You can use the AWS Simple Monthly Calculator to estimate your monthly bill. The calculator provides
a per-service cost breakdown, as well as an aggregate monthly estimate. You can also use the calculator
to see an estimation and breakdown of costs for common solutions.
Remember, you can get started with most AWS services at no cost using the AWS Free Tier.
Page 19 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Resources
Resource Description
AWS Simple Monthly
The AWS Simple Monthly Calculator helps you estimate your monthly
Calculator
bill.
The AWS Architecture Center provides you with the necessary
AWS Architecture Center
guidance and best practices to build highly scalable and reliable
applications in the AWS Cloud.
The Cloud Economics Center provides access to information, tools,
Cloud Economics Center
and resources to compare the costs of Amazon Web Services with IT
infrastructure alternatives.
View your current charges and account activity, itemized by service
Account
and by usage type. Previous months’ billing statements are also
available.
Reports are available to download for each service. Specifying usage
AWS Cost and Usage
types, timeframe, service operations, and more can customize
Reports
reports.
Page 20 of 22
Amazon Web Services – How AWS Pricing Works June 2018
Page 21 of 22
Amazon Web Services – How AWS Pricing Works June 2018
The total cost for one month is the sum of the cost of the running instances, Amazon EBS storage and
snapshots, load balancing, and data transfer out, minus the Free Tier discount. We calculated the total
cost using the AWS Simple Monthly Calculator.
Page 22 of 22