Amazon Elastic Compute Cloud (Amazon EC2) is a web service that
provides resizable compute capacity in the cloud. It is designed
to make web-scale computing easier for developers.
Amazon EC2’s simple web service interface allows you to obtain
and configure capacity with minimal friction. It provides you
with complete control of your computing resources and lets you
run on Amazon’s proven computing environment. 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. Amazon EC2 changes
the economics of computing by allowing you to pay only for
capacity that you actually use. Amazon EC2 provides developers
the tools to build failure resilient applications and isolate
themselves from common failure scenarios.
Amazon EC2 presents a true virtual computing environment, allowing you to use web service interfaces to launch instances with a variety of operating systems, load them with your custom application environment, manage your network’s access permissions, and run your image using as many or few systems as you desire.
To use Amazon EC2, you simply:
Elastic Amazon EC2 enables you to increase or decrease capacity within minutes, not hours or days. You can commission one, hundreds or even thousands of server instances simultaneously. Of course, because this is all controlled with web service APIs, your application can automatically scale itself up and down depending on its needs.
Completely Controlled You have complete control of your instances. You have root access to each one, and you can interact with them as you would any machine. You can stop your instance while retaining the data on your boot partition and then subsequently restart the same instance using web service APIs. Instances can be rebooted remotely using web service APIs. You also have access to console output of your instances.
Flexible You have the choice of multiple instance types, operating systems, and software packages. Amazon EC2 allows you to select a configuration of memory, CPU, instance storage, and the boot partition size that is optimal for your choice of operating system and application. For example, your choice of operating systems includes numerous Linux distributions, Microsoft Windows Server and OpenSolaris.
Designed for use with other Amazon Web Services Amazon EC2 works in conjunction with Amazon Simple Storage Service (Amazon S3), Amazon SimpleDB and Amazon Simple Queue Service (Amazon SQS) to provide a complete solution for computing, query processing and storage across a wide range of applications.
Reliable Amazon EC2 offers a highly reliable environment where replacement instances can be rapidly and predictably commissioned. The service runs within Amazon’s proven network infrastructure and datacenters. The Amazon EC2 Service Level Agreement commitment is 99.95% availability for each Amazon EC2 Region.
Secure Amazon EC2 provides numerous mechanisms for securing your compute resources.Amazon EC2 provides a number of powerful features for building scalable, failure resilient, enterprise class applications, including:
Instances of this family are well suited for most applications.
Instances of this family offer large memory sizes for high throughput applications, including database and memory caching applications.
Instances of this family have proportionally more CPU resources than memory (RAM) and are well suited for compute-intensive applications.
EC2 Compute Unit (ECU) – One EC2 Compute Unit (ECU) provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor.
See Amazon EC2 Pricing for details on costs for each instance type.
See Amazon EC2 Instance Types for a more detailed description of the differences between the available instance types, as well as a complete description of an EC2 Compute Unit.
Amazon Machine Images (AMIs) are preconfigured with an ever-growing list of operating systems. We work with our partners and community to provide you with the most choice possible. You are also empowered to use our bundling tools to upload your own operating systems. The operating systems currently available to use with your Amazon EC2 instances include:
| Operating Systems | ||
| Red Hat Enterprise Linux | Windows Server 2003/2008 | Oracle Enterprise Linux |
| OpenSolaris | openSUSE Linux | Ubuntu Linux |
| Fedora | Gentoo Linux | Debian |
Amazon EC2 enables our partners and customers to build and customize Amazon Machine Images (AMIs) with software based on your needs. We have hundreds of free and paid AMIs available for you to use. A small sampling of the software available for use today within Amazon EC2 includes:
| Databases | Batch Processing | Web Hosting |
| IBM DB2 | Hadoop | Apache HTTP |
| IBM Informix Dynamic Server | Condor | IIS/Asp.Net |
| Microsoft SQL Server Standard 2005 | Open MPI | IBM Lotus Web Content Management |
| MySQL Enterprise | IBM WebSphere Portal Server | |
| Oracle Database 11g |
| Application Development Environments | Application Servers | Video Encoding & Streaming |
| IBM sMash | IBM WebSphere Application Server | Wowza Media Server Pro |
| JBoss Enterprise Application Platform | Java Application Server | Windows Media Server |
| Ruby on Rails | Oracle WebLogic Server |
On-Demand Instances let you pay for compute capacity by the hour with no long-term commitments. This frees you from the costs and complexities of planning, purchasing, and maintaining hardware and transforms what are commonly large fixed costs into much smaller variable costs.
The pricing below includes the cost to run private and public AMIs on the specified operating system (“Windows Usage” prices apply to both Windows Server® 2003 and 2008). Amazon also provides you with additional instances with other option for Amazon EC2 running Microsoft and Amazon EC2 running IBM that are priced differently.
| Standard On-Demand Instances | Linux/UNIX Usage | Windows Usage |
|---|---|---|
| Small (Default) | $0.085 per hour | $0.12 per hour |
| Large | $0.34 per hour | $0.48 per hour |
| Extra Large | $0.68 per hour | $0.96 per hour |
| High-Memory On-Demand Instances | ||
| Extra Large | $0.50 per hour | $0.62 per hour |
| Double Extra Large | $1.20 per hour | $1.44 per hour |
| Quadruple Extra Large | $2.40 per hour | $2.88 per hour |
| High-CPU On-Demand Instances | ||
| Medium | $0.17 per hour | $0.29 per hour |
| Extra Large | $0.68 per hour | $1.16 per hour |
| Standard On-Demand Instances | Linux/UNIX Usage | Windows Usage |
|---|---|---|
| Small (Default) | $0.095 per hour | $0.13 per hour |
| Large | $0.38 per hour | $0.52 per hour |
| Extra Large | $0.76 per hour | $1.04 per hour |
| High-Memory On-Demand Instances | ||
| Extra Large | $0.57 per hour | $0.69 per hour |
| Double Extra Large | $1.34 per hour | $1.58 per hour |
| Quadruple Extra Large | $2.68 per hour | $3.16 per hour |
| High-CPU On-Demand Instances | ||
| Medium | $0.19 per hour | $0.31 per hour |
| Extra Large | $0.76 per hour | $1.24 per hour |
| Standard On-Demand Instances | Linux/UNIX Usage | Windows Usage |
|---|---|---|
| Small (Default) | $0.095 per hour | $0.12 per hour |
| Large | $0.38 per hour | $0.48 per hour |
| Extra Large | $0.76 per hour | $0.96 per hour |
| High-Memory On-Demand Instances | ||
| Extra Large | $0.57 per hour | $0.62 per hour |
| Double Extra Large | $1.34 per hour | $1.44 per hour |
| Quadruple Extra Large | $2.68 per hour | $2.88 per hour |
| High-CPU On-Demand Instances | ||
| Medium | $0.19 per hour | $0.29 per hour |
| Extra Large | $0.76 per hour | $1.16 per hour |
| Standard On-Demand Instances | Linux/UNIX Usage | Windows Usage |
|---|---|---|
| Small (Default) | $0.095 per hour | $0.12 per hour |
| Large | $0.38 per hour | $0.48 per hour |
| Extra Large | $0.76 per hour | $0.96 per hour |
| High-Memory On-Demand Instances | ||
| Extra Large | $0.57 per hour | $0.62 per hour |
| Double Extra Large | $1.34 per hour | $1.44 per hour |
| Quadruple Extra Large | $2.68 per hour | $2.88 per hour |
| High-CPU On-Demand Instances | ||
| Medium | $0.19 per hour | $0.29 per hour |
| Extra Large | $0.76 per hour | $1.16 per hour |
Pricing is per instance-hour consumed for each instance type, from the time an instance is launched until it is terminated. Each partial instance-hour consumed will be billed as a full hour.
Reserved Instances give you the option to 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. After the one-time payment for an instance, that instance is reserved for you, and you have no further obligation; you may choose to run that instance for the discounted usage rate for the duration of your term, or when you do not use the instance, you will not pay usage charges on it.
| One-time Fee | ||||
|---|---|---|---|---|
| Standard Reserved Instances | 1 yr Term | 3 yr Term | Linux/UNIX Usage | Windows Usage |
| Small (Default) | $227.50 | $350 | $0.03 per hour | $0.05 per hour |
| Large | $910 | $1400 | $0.12 per hour | $0.20 per hour |
| Extra Large | $1820 | $2800 | $0.24 per hour | $0.40 per hour |
| High-Memory Reserved Instances | ||||
| Extra Large | $1325 | $2000 | $0.17 per hour | $0.24 per hour |
| Double Extra Large | $3185 | $4900 | $0.42 per hour | $0.55 per hour |
| Quadruple Extra Large | $6370 | $9800 | $0.84 per hour | $1.10 per hour |
| High-CPU Reserved Instances | ||||
| Medium | $455 | $700 | $0.06 per hour | $0.125 per hour |
| Extra Large | $1820 | $2800 | $0.24 per hour | $0.50 per hour |
| One-time Fee | ||||
|---|---|---|---|---|
| Standard Reserved Instances | 1 yr Term | 3 yr Term | Linux/UNIX Usage | Windows Usage |
| Small (Default) | $227.50 | $350 | $0.04 per hour | $0.06 per hour |
| Large | $910 | $1400 | $0.16 per hour | $0.24 per hour |
| Extra Large | $1820 | $2800 | $0.32 per hour | $0.48 per hour |
| High-Memory Reserved Instances | ||||
| Extra Large | $1325 | $2000 | $0.24 per hour | $0.32 per hour |
| Double Extra Large | $3185 | $4900 | $0.56 per hour | $0.69 per hour |
| Quadruple Extra Large | $6370 | $9800 | $1.12 per hour | $1.38 per hour |
| High-CPU Reserved Instances | ||||
| Medium | $455 | $700 | $0.08 per hour | $0.145 per hour |
| Extra Large | $1820 | $2800 | $0.32 per hour | $0.58 per hour |
| One-time Fee | ||||
|---|---|---|---|---|
| Standard Reserved Instances | 1 yr Term | 3 yr Term | Linux/UNIX Usage | Windows Usage |
| Small (Default) | $227.50 | $350 | $0.04 per hour | $0.06 per hour |
| Large | $910 | $1400 | $0.16 per hour | $0.24 per hour |
| Extra Large | $1820 | $2800 | $0.32 per hour | $0.48 per hour |
| High-Memory Reserved Instances | ||||
| Extra Large | $1325 | $2000 | $0.24 per hour | $0.32 per hour |
| Double Extra Large | $3185 | $4900 | $0.56 per hour | $0.69 per hour |
| Quadruple Extra Large | $6370 | $9800 | $1.12 per hour | $1.38 per hour |
| High-CPU Reserved Instances | ||||
| Medium | $455 | $700 | $0.08 per hour | $0.145 per hour |
| Extra Large | $1820 | $2800 | $0.32 per hour | $0.58 per hour |
| One-time Fee | ||||
|---|---|---|---|---|
| Standard Reserved Instances | 1 yr Term | 3 yr Term | Linux/UNIX Usage | Windows Usage |
| Small (Default) | $227.50 | $350 | $0.04 per hour | $0.06 per hour |
| Large | $910 | $1400 | $0.16 per hour | $0.24 per hour |
| Extra Large | $1820 | $2800 | $0.32 per hour | $0.48 per hour |
| High-Memory Reserved Instances | ||||
| Extra Large | $1325 | $2000 | $0.24 per hour | $0.32 per hour |
| Double Extra Large | $3185 | $4900 | $0.56 per hour | $0.69 per hour |
| Quadruple Extra Large | $6370 | $9800 | $1.12 per hour | $1.38 per hour |
| High-CPU Reserved Instances | ||||
| Medium | $455 | $700 | $0.08 per hour | $0.145 per hour |
| Extra Large | $1820 | $2800 | $0.32 per hour | $0.58 per hour |
Reserved Instances can be purchased for 1 or 3 year terms, and the one-time fee per instance is non-refundable. Usage pricing is per instance-hour consumed. Instance-hours are billed for the time that instances are in a running state; if you do not run the instance in an hour, there is zero usage charge. Partial instance-hours consumed are billed as full hours.
If Microsoft chooses to increase the license fees that it charges for Windows, we may correspondingly increase the per-hour usage rate for previously purchased Reserved Instances with Windows. The initial one-time payment for a Reserved Instance will be unaffected in this situation. Any such changes would be made between Dec 1 – Jan 31, and with at least 30 days’ notice. If the per-hour usage rate does increase, you may continue to use your Reserved Instance with Windows with the new per-hour usage rate, convert your Reserved Instance with Windows to a Reserved Instance with Linux, or request a pro rata refund of the upfront fee you paid for the Reserved Instance with Windows.
Reserved Instances are available for Linux/UNIX and Windows operating systems. We do not currently offer a Reserved Instance that can be used with Microsoft SQL Server. Click here to learn more about Reserved Instances.
Spot Instances enable you to bid for unused Amazon EC2 capacity. Instances are charged the Spot Price, which is set by Amazon EC2 and fluctuates periodically depending on the supply of and demand for Spot Instance capacity. To use Spot Instances, you place a Spot Instance request, specifying the instance type, the Region desired, the number of Spot Instances you want to run, and the maximum price you are willing to pay per instance hour. To determine how that maximum price compares to past Spot Prices, the Spot Price history is available via the Amazon EC2 API and the AWS Management Console. If your maximum price bid exceeds the current Spot Price, your request is fulfilled and your instances will run until either you choose to terminate them or the Spot Price increases above your maximum price (whichever is sooner).
Click here to learn more about Spot Instances. For information on how to get started, click here.
The following table displays the Spot Price per Region and instance type (updated every 30 minutes).
The pricing below is based on data transferred "in" and "out" of Amazon EC2.
| Data Transfer In | US & EU Regions | APAC Region |
|---|---|---|
| All Data Transfer |
Free until June 30, 2010 *
|
Free until June 30, 2010 *
|
Data Transfer Out **
|
US & EU Regions | APAC Region |
|---|---|---|
| First 1 GB per Month | $0.00 per GB | $0.00 per GB |
| Up to 10 TB per Month | $0.15 per GB | $0.19 per GB |
| Next 40 TB per Month | $0.11 per GB | $0.15 per GB |
| Next 100 TB per Month | $0.09 per GB | $0.13 per GB |
| Over 150 TB per Month | $0.08 per GB | $0.12 per GB |
* Data Transfer In will be $0.10 per GB after June 30, 2010.
** Rate tiers take into account your aggregate Data Transfer Out usage across Amazon EC2, Amazon S3, Amazon RDS, Amazon SimpleDB, Amazon SQS, Amazon SNS, and Amazon VPC.
There is no Data Transfer charge between Amazon EC2 and other Amazon Web Services within the same region (i.e. between Amazon EC2 US West and Amazon S3 in US West). Data transferred between Amazon EC2 instances located in different Availability Zones in the same Region will be charged Regional Data Transfer. Data transferred between AWS services in different regions will be charged as Internet Data Transfer on both sides of the transfer.
Usage for other Amazon Web Services is billed separately from Amazon EC2.
See Availability Zones for tools to describe instance location.
|
Amazon EBS Volumes
Amazon EBS Snapshots to Amazon S3 (priced the same as Amazon S3)
|
|
Amazon EBS Volumes
Amazon EBS Snapshots to Amazon S3 (priced the same as Amazon S3)
|
|
Amazon EBS Volumes
Amazon EBS Snapshots to Amazon S3 (priced the same as Amazon S3)
|
|
Amazon EBS Volumes
Amazon EBS Snapshots to Amazon S3 (priced the same as Amazon S3)
|
|
Amazon EC2 Monitoring
|
|
Amazon EC2 Monitoring
|
|
Amazon EC2 Monitoring
|
|
Amazon EC2 Monitoring
|
Auto Scaling is enabled by Amazon CloudWatch and carries no additional fees. Each instance launched by Auto Scaling is automatically enabled for monitoring and the Amazon CloudWatch monitoring charge will be applied.
|
|
|
|
(Amazon EC2 is sold by Amazon Web Services LLC.)
| Developer Resources |
Amazon EC2 allows you to set up and configure everything about your instances from your operating system up to your applications. An Amazon Machine Image (AMI) is simply a packaged-up environment that includes all the necessary bits to set up and boot your instance. Your AMIs are your unit of deployment. You might have just one AMI or you might compose your system out of several building block AMIs (e.g., webservers, appservers, and databases). Amazon EC2 provides a number of tools to make creating an AMI easy including the AWS Management Console.
You can also choose from a library of globally available AMIs that provide useful instances. For example, if you just want a simple Linux server, you can choose one of the standard Linux distribution AMIs. Once you have set up your account and uploaded your AMIs, you are ready to boot your instance. You can start your AMI on any number and any type of instance by calling the RunInstances API.
If you wish to run more than 20 On-Demand or Reserved Instances or 100 Spot Instances, create more than 20 EBS volumes, need more than 5 Elastic IP addresses or 5 Elastic Load Balancers, or need to send large quantities of email from your EC2 account, please complete the Amazon EC2 instance request form, Amazon EBS volume request form, Elastic IP request form, Elastic Load Balancers, or the Email request form respectively and your request will be considered.
You will be charged at the end of each month for your EC2 resources actually consumed.
As an example, assume you launch 100 instances of the Small type costing $0.085 per hour at some point in time. The instances will begin booting immediately, but they won’t necessarily all start at the same moment. Each instance will store its actual launch time. Thereafter, each instance will charge for its hours (at $.085/hour) of execution at the beginning of each hour relative to the time it launched. Each instance will run until one of the following occurs: you terminate the instance with the TerminateInstances API call (or an equivalent tool), the instance shuts itself down (e.g. UNIX “shutdown” command), or the host terminates due to software or hardware failure. Partial instance hours consumed are billed as full hours.
The best way to understand Amazon EC2 is to work through the Getting Started Guide, part of our Technical Documentation. Within a few minutes, you will be able to log into your own instance and start playing!
Your use of this service is subject to the Amazon Web Services Customer Agreement