Amazon Elastic Compute Cloud
User Guide for Linux (API Version 2015-04-15)
Did this page help you?  Yes | No |  Tell us about it...
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.

Amazon EBS–Optimized Instances

An Amazon EBS–optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O. This optimization provides the best performance for your EBS volumes by minimizing contention between Amazon EBS I/O and other traffic from your instance.

When you use an Amazon EBS–optimized instance, you pay an additional low, hourly fee for the dedicated capacity. For pricing information, see EBS-optimized Instances on the Amazon EC2 Pricing page.

EBS–optimized instances deliver dedicated throughput to Amazon EBS, with options between 500 Mbps and 4,000 Mbps, depending on the instance type you use. When attached to an EBS–optimized instance, General Purpose (SSD) volumes are designed to deliver within 10 percent of their baseline and burst performance 99.9 percent of the time in a given year, and Provisioned IOPS (SSD) volumes are designed to deliver within 10 percent of their provisioned performance 99.9 percent of the time in a given year. For more information, see Amazon EBS Volume Types.

Support for EBS–Optimization

The following table shows which instance types support EBS–optimization, the dedicated throughput to Amazon EBS, the maximum amount of IOPS the instance can support if you are using a 16 KB I/O size, and the approximate maximum bandwidth available on that connection in MB/s. Choose an EBS–optimized instance that provides more dedicated EBS throughput than your application needs; otherwise, the connection between Amazon EBS and Amazon EC2 can become a performance bottleneck.

Instance TypeDedicated EBS Throughput (Mbps)*Max 16K IOPS**Max Bandwidth (MB/s)**
c1.xlarge1,0008,000125
c3.xlarge5004,00062.5
c3.2xlarge1,0008,000125
c3.4xlarge2,00016,000250
c4.large5004,00062.5
c4.xlarge7506,00093.75
c4.2xlarge1,0008,000125
c4.4xlarge2,00016,000250
c4.8xlarge4,00032,000500
d2.xlarge7506,00093.75
d2.2xlarge1,0008,000125
d2.4xlarge2,00016,000250
d2.8xlarge4,00032,000500
g2.2xlarge1,0008,000125
i2.xlarge5004,00062.5
i2.2xlarge1,0008,000125
i2.4xlarge2,00016,000250
m1.large5004,00062.5
m1.xlarge1,0008,000125
m2.2xlarge5004,00062.5
m2.4xlarge1,0008,000125
m3.xlarge5004,00062.5
m3.2xlarge1,0008,000125
m4.large4503,60056.25
m4.xlarge7506,00093.75
m4.2xlarge1,0008,000125
m4.4xlarge2,00016,000250
m4.10xlarge4,00032,000500
r3.xlarge5004,00062.5
r3.2xlarge1,0008,000125
r3.4xlarge2,00016,000250

* These instance types must be launched as EBS-optimized to consistently achieve this level of performance.

** This value is a rounded approximation based on a 100% read-only workload and it is provided as a baseline configuration aid. EBS-optimized connections are full-duplex, and can drive more throughput and IOPS in a 50/50 read/write workload where both communication lanes are used. In some cases, network, file system, and Amazon EBS encryption overhead can reduce the maximum throughput and IOPS available.

Note that some instances with 10-gigabit network interfaces, such as i2.8xlarge and r3.8xlarge do not offer EBS-optimization, and therefore do not have dedicated EBS bandwidth available and are not listed here. On these instances, network traffic and Amazon EBS traffic is shared on the same 10-gigabit network interface. Some other 10-gigabit network instances, such as c4.8xlarge and d2.8xlarge offer dedicated EBS bandwidth in addition to a 10-gigabit interface which is used exclusively for network traffic.

Enabling EBS–Optimization at Launch

The following instances are EBS–optimized by default:

  • C4

  • D2

  • M4

You can enable EBS–optimization for other supported instance types when you launch them.

To enable EBS–optimization when launching an instance using the console

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. Click Launch Instance. In Step 1: Choose an Amazon Machine Image (AMI), select an AMI.

  3. In Step 2: Choose an Instance Type, select an instance type that is listed as supporting EBS–optimization.

  4. In Step 3: Configure Instance Details, complete the fields that you need and select Launch as EBS-optimized instance. If the instance type that you selected in the previous step doesn't support EBS–optimization, this option is not present. If the instance type that you selected supports EBS–optimization by default, this option is selected and you can't deselect it.

  5. Follow the directions to complete the wizard and launch your instance.

To enable EBS–optimization when launching an instance using the command line

You can use one of the following options with the corresponding command. For more information about these command line interfaces, see Accessing Amazon EC2.

Modifying EBS–Optimization for a Running Instance

You can enable or disable EBS–optimization for a running instance by modifying its EBS–optimized instance attribute.

To enable EBS–optimization for a running instance using the console

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, click Instances, and select the instance.

  3. Click Actions, select Instance State, and then click Stop.

    Warning

    When you stop an instance, the data on any instance store volumes is erased. Therefore, if you have any data on instance store volumes that you want to keep, be sure to back it up to persistent storage.

  4. In the confirmation dialog box, click Yes, Stop. It can take a few minutes for the instance to stop.

  5. With the instance still selected, click Actions, select Instance Settings, and then click Change Instance Type.

  6. In the Change Instance Type dialog box, do one of the following:

    • If the instance type of your instance is EBS–optimized by default, EBS-optimized is selected and you can't deselect it. You can click Cancel, because EBS–optimization is already enabled for the instance.

    • If the instance type of your instance supports EBS–optimization, select EBS-optimized, and then click Apply.

    • If the instance type of your instance does not support EBS–optimization, EBS-optimized is deselected and you can't select it. You can select an instance type from Instance Type that supports EBS–optimization, select EBS-optimized, and then click Apply.

  7. Click Actions, select Instance State, and then click Start.

To enable EBS–optimization for a running instance using the command line

You can use one of the following options with the corresponding command. For more information about these command line interfaces, see Accessing Amazon EC2.