Amazon EC2 Instance Store - Amazon Elastic Compute Cloud
Amazon EC2 Instance Store - Amazon Elastic Compute Cloud
Contents
1 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
The data in an instance store persists only during the lifetime of its
associated instance. If an instance reboots (intentionally or
unintentionally), data in the instance store persists. However, data in the
instance store is lost under any of the following circumstances:
If you create an AMI from an instance, the data on its instance store
volumes isn't preserved and isn't present on the instance store volumes of
the instances that you launch from the AMI.
If you change the instance type, an instance store will not be attached to
2 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
the new instance type. For more information, see Change the instance
type (./ec2-instance-resize.html) .
Some instance types use NVMe or SATA-based solid state drives (SSD) to
deliver high random I/O performance. This is a good option when you
need storage with very low latency, but you don't need the data to persist
when the instance terminates or you can take advantage of fault-tolerant
architectures. For more information, see SSD instance store volumes (./ssd-
instance-store.html) .
The data on NVMe instance store volumes and some HDD instance store
volumes is encrypted at rest. For more information, see Data protection in
Amazon EC2 (./data-protection.html) .
The following table provides the quantity, size, type, and performance
optimizations of instance store volumes available on each supported
instance type.
Topics
3 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
General purpose
m3.medi 1 x 4 GB SSD ✔
um
m3.larg 1 x 32 GB SSD ✔
e
m3.xlar 2 x 40 GB SSD ✔
ge
m3.2xla 2 x 80 GB SSD ✔
rge
m5ad.la 1 x 75 GB NVM ✔
rge e SSD
4 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
m5d.lar 1 x 75 GB NVM ✔
ge e SSD
m5dn.la 1 x 75 GB NVM ✔
rge e SSD
5 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
m6gd.me 1 x 59 GB NVM ✔
dium e SSD
6 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
7 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
Compute optimized
c3.lar 2 x 16 GB SSD ✔
ge
c3.xla 2 x 40 GB SSD ✔
rge
c3.2xl 2 x 80 GB SSD ✔
arge
c5ad.l 1 x 75 GB NVMe ✔
arge SSD
8 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
c5d.la 1 x 50 GB NVMe ✔
rge SSD
c6gd.m 1 x 59 GB NVMe ✔
edium SSD
9 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
10 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
Memory optimized
r3.larg 1 x 32 GB SSD ✔
e
r3.xlar 1 x 80 GB SSD ✔
ge
r5ad.la 1 x 75 GB NVM ✔
rge e SSD
11 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
r5d.lar 1 x 75 GB NVM ✔
ge e SSD
r5dn.la 1 x 75 GB NVM ✔
rge e SSD
12 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
r6gd.me 1 x 59 GB NVM ✔
dium e SSD
13 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
14 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
x2gd.me 1 x 59 GB NVM ✔
dium e SSD
15 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
16 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
Storage optimized
17 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
18 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
19 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
Accelerated computing
20 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
g2.2xla 1 x 60 GB SSD ✔
rge
21 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
** For more information, see Instance store volume TRIM support (./ssd-
instance-store.html#InstanceStoreTrimSupport) .
22 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
Example output
---------------------------
23 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
| DescribeInstanceTypes |
+----------------+--------+
| r5ad.24xlarge | 3600 |
| r5ad.12xlarge | 1800 |
| r5dn.8xlarge | 1200 |
| r5ad.8xlarge | 1200 |
| r5ad.large | 75 |
| r5d.4xlarge | 600 |
. . .
| r5dn.2xlarge | 300 |
| r5d.12xlarge | 1800 |
+----------------+--------+
The following example displays the complete instance storage details for
the specified instance type.
The example output shows that this instance type has two 300 GB NVMe
SSD volumes, for a total of 600 GB of instance storage.
[
{
"TotalSizeInGB": 600,
"Disks": [
{
"SizeInGB": 300,
"Count": 2,
"Type": "ssd"
}
],
"NvmeSupport": "required"
}
]
24 of 25 4/28/2023, 9:19 AM
Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...
25 of 25 4/28/2023, 9:19 AM