0% found this document useful (0 votes)
8 views25 pages

Amazon EC2 Instance Store - Amazon Elastic Compute Cloud

Uploaded by

kwakutse20
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views25 pages

Amazon EC2 Instance Store - Amazon Elastic Compute Cloud

Uploaded by

kwakutse20
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Amazon EC2 instance store - Amazon Elastic Compute Cloud https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStora...

AWS Documentation Amazon EC2 User Guide for Linux Instances

Amazon EC2 instance store


PDF (/pdfs/AWSEC2/latest/UserGuide/ec2- RSS (amazon-ec2-release-
ug.pdf#InstanceStorage) notes.rss)

An instance store provides temporary block-level storage for your


instance. This storage is located on disks that are physically attached to
the host computer. Instance store is ideal for temporary storage of
information that changes frequently, such as buffers, caches, scratch data,
and other temporary content. It can also be used to store temporary data
that you replicate across a fleet of instances, such as a load-balanced pool
of web servers.

An instance store consists of one or more instance store volumes exposed


as block devices. The size of an instance store as well as the number of
devices available varies by instance type.

The virtual devices for instance store volumes are ephemeral[0-23] .


Instance types that support one instance store volume have ephemeral0 .
Instance types that support two instance store volumes have ephemeral0
and ephemeral1 , and so on.

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...

• Instance store lifetime (#instance-store-lifetime)


• Instance store volumes (#instance-store-volumes)
• Add instance store volumes to your EC2 instance (./add-instance-store-
volumes.html)

• SSD instance store volumes (./ssd-instance-store.html)


• Instance store swap volumes (./instance-store-swap-volumes.html)
• Optimize disk performance for instance store volumes (./disk-
performance.html)

Instance store lifetime


You can specify instance store volumes for an instance only when you
launch it. You can't detach an instance store volume from one instance
and attach it to a different instance.

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:

• The underlying disk drive fails


• The instance stops
• The instance hibernates
• The instance terminates

Therefore, do not rely on instance store for valuable, long-term data.


Instead, use more durable data storage, such as Amazon S3, Amazon EBS,
or Amazon EFS.

When you stop, hibernate, or terminate an instance, every block of


storage in the instance store is reset. Therefore, your data cannot be
accessed through the instance store of another instance.

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) .

Instance store volumes


The instance type determines the size of the instance store available and
the type of hardware used for the instance store volumes. Instance store
volumes are included as part of the instance's usage cost. You must
specify the instance store volumes that you'd like to use when you launch
the instance (except for NVMe instance store volumes, which are available
by default). Then format and mount the instance store volumes before
using them. You can't make an instance store volume available after you
launch the instance. For more information, see Add instance store volumes
to your EC2 instance (./add-instance-store-volumes.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) .

Available instance store volumes

The following table provides the quantity, size, type, and performance
optimizations of instance store volumes available on each supported
instance type.

Topics

• General purpose (#instance-store-vol-gp)


• Compute optimized (#instance-store-vol-co)
• Memory optimized (#instance-store-vol-mo)
• Storage optimized (#instance-store-vol-so)
• Accelerated computing (#instance-store-vol-ac)

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

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

m1.smal 1 x 160 GB HDD ✔


l

m1.medi 1 x 410 GB HDD ✔


um

m1.larg 2 x 420 GB HDD ✔


e

m1.xlar 4 x 420 GB HDD ✔


ge

m2.xlar 1 x 420 GB HDD ✔


ge

m2.2xla 1 x 850 GB HDD ✔


rge

m2.4xla 2 x 840 GB HDD ✔


rge

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

m5ad.xl 1 x 150 GB NVM ✔


arge e SSD

m5ad.2x 1 x 300 GB NVM ✔


large 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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

m5ad.4x 2 x 300 GB NVM ✔


large e SSD

m5ad.8x 2 x 600 GB NVM ✔


large e SSD

m5ad.12 2 x 900 GB NVM ✔


xlarge e SSD

m5ad.16 4 x 600 GB NVM ✔


xlarge e SSD

m5ad.24 4 x 900 GB NVM ✔


xlarge e SSD

m5d.lar 1 x 75 GB NVM ✔
ge e SSD

m5d.xla 1 x 150 GB NVM ✔


rge e SSD

m5d.2xl 1 x 300 GB NVM ✔


arge e SSD

m5d.4xl 2 x 300 GB NVM ✔


arge e SSD

m5d.8xl 2 x 600 GB NVM ✔


arge e SSD

m5d.12x 2 x 900 GB NVM ✔


large e SSD

m5d.16x 4 x 600 GB NVM ✔


large e SSD

m5d.24x 4 x 900 GB NVM ✔


large e SSD

m5d.met 4 x 900 GB NVM ✔


al 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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

m5dn.xl 1 x 150 GB NVM ✔


arge e SSD

m5dn.2x 1 x 300 GB NVM ✔


large e SSD

m5dn.4x 2 x 300 GB NVM ✔


large e SSD

m5dn.8x 2 x 600 GB NVM ✔


large e SSD

m5dn.12 2 x 900 GB NVM ✔


xlarge e SSD

m5dn.16 4 x 600 GB NVM ✔


xlarge e SSD

m5dn.24 4 x 900 GB NVM ✔


xlarge e SSD

m5dn.me 4 x 900 GB NVM ✔


tal e SSD

m6gd.me 1 x 59 GB NVM ✔
dium e SSD

m6gd.la 1 x 118 GB NVM ✔


rge e SSD

m6gd.xl 1 x 237 GB NVM ✔


arge e SSD

m6gd.2x 1 x 474 GB NVM ✔


large e SSD

m6gd.4x 1 x 950 GB NVM ✔


large e SSD

m6gd.8x 1 x 1900 GB NVM ✔


large e SSD

m6gd.12 2 x 1425 GB NVM ✔


xlarge 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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

m6gd.16 2 x 1900 GB NVM ✔


xlarge e SSD

m6gd.me 2 x 1900 GB NVM ✔


tal e SSD

m6id.la 1 x 118 GB NVM ✔


rge e SSD

m6id.xl 1 x 237 GB NVM ✔


arge e SSD

m6id.2x 1 x 474 GB NVM ✔


large e SSD

m6id.4x 1 x 950 GB NVM ✔


large e SSD

m6id.8x 1 x 1900 GB NVM ✔


large e SSD

m6id.12 2 x 1425 GB NVM ✔


xlarge e SSD

m6id.16 2 x 1900 GB NVM ✔


xlarge e SSD

m6id.24 4 x 1425 GB NVM ✔


xlarge e SSD

m6id.32 4 x 1900 GB NVM ✔


xlarge e SSD

m6id.me 4 x 1900 GB NVM ✔


tal e SSD

m6idn.l 1 x 118 GB NVM ✔


arge e SSD

m6idn.x 1 x 237 GB NVM ✔


large e SSD

m6idn.2 1 x 474 GB NVM ✔


xlarge e SSD

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...

Instance Instance Type Needs TRIM


type store initializati support

Compute optimized

Instanc Instance Type Needs TRIM


e type store initializati support
volumes on* **

c1.med 1 x 350 GB HDD ✔


ium

c1.xla 4 x 420 GB HDD ✔


rge

c3.lar 2 x 16 GB SSD ✔
ge

c3.xla 2 x 40 GB SSD ✔
rge

c3.2xl 2 x 80 GB SSD ✔
arge

c3.4xl 2 x 160 GB SSD ✔


arge

c3.8xl 2 x 320 GB SSD ✔


arge

c5ad.l 1 x 75 GB NVMe ✔
arge SSD

c5ad.x 1 x 150 GB NVMe ✔


large SSD

c5ad.2 1 x 300 GB NVMe ✔


xlarge SSD

c5ad.4 2 x 300 GB NVMe ✔


xlarge SSD

c5ad.8 2 x 600 GB NVMe ✔


xlarge 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...

Instanc Instance Type Needs TRIM


e type store initializati support
volumes on* **

c5ad.1 2 x 900 GB NVMe ✔


2xlarg SSD
e

c5ad.1 2 x 1200 GB NVMe ✔


6xlarg SSD
e

c5ad.2 2 x 1900 GB NVMe ✔


4xlarg SSD
e

c5d.la 1 x 50 GB NVMe ✔
rge SSD

c5d.xl 1 x 100 GB NVMe ✔


arge SSD

c5d.2x 1 x 200 GB NVMe ✔


large SSD

c5d.4x 1 x 400 GB NVMe ✔


large SSD

c5d.9x 1 x 900 GB NVMe ✔


large SSD

c5d.12 2 x 900 GB NVMe ✔


xlarge SSD

c5d.18 2 x 900 GB NVMe ✔


xlarge SSD

c5d.24 4 x 900 GB NVMe ✔


xlarge SSD

c5d.me 4 x 900 GB NVMe ✔


tal 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...

Instanc Instance Type Needs TRIM


e type store initializati support
volumes on* **

c6gd.l 1 x 118 GB NVMe ✔


arge SSD

c6gd.x 1 x 237 GB NVMe ✔


large SSD

c6gd.2 1 x 474 GB NVMe ✔


xlarge SSD

c6gd.4 1 x 950 GB NVMe ✔


xlarge SSD

c6gd.8 1 x 1900 GB NVMe ✔


xlarge SSD

c6gd.1 2 x 1425 GB NVMe ✔


2xlarg SSD
e

c6gd.1 2 x 1900 GB NVMe ✔


6xlarg SSD
e

c6gd.m 2 x 1900 GB NVMe ✔


etal SSD

c6id.l 1 x 118 GB NVMe ✔


arge SSD

c6id.x 1 x 237 GB NVMe ✔


large SSD

c6id.2 1 x 474 GB NVMe ✔


xlarge SSD

c6id.4 1 x 950 GB NVMe ✔


xlarge SSD

c6id.8 1 x 1900 GB NVMe ✔


xlarge SSD

c6id.1 2 x 1425 GB NVMe ✔


2xlarg SSD

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...

Instanc Instance Type Needs TRIM


e type store initializati support

Memory optimized

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

cr1.8xl 2 x 120 GB HDD ✔


arge

hpc6id. 4 x 3800 GB NVM ✔


32xlarg e SSD
e

r3.larg 1 x 32 GB SSD ✔
e

r3.xlar 1 x 80 GB SSD ✔
ge

r3.2xla 1 x 160 GB SSD ✔


rge

r3.4xla 1 x 320 GB SSD ✔


rge

r3.8xla 2 x 320 GB SSD ✔


rge

r5ad.la 1 x 75 GB NVM ✔
rge e SSD

r5ad.xl 1 x 150 GB NVM ✔


arge e SSD

r5ad.2x 1 x 300 GB NVM ✔


large e SSD

r5ad.4x 2 x 300 GB NVM ✔


large e SSD

r5ad.8x 2 x 600 GB NVM ✔


large 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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

r5ad.12 2 x 900 GB NVM ✔


xlarge e SSD

r5ad.16 4 x 600 GB NVM ✔


xlarge e SSD

r5ad.24 4 x 900 GB NVM ✔


xlarge e SSD

r5d.lar 1 x 75 GB NVM ✔
ge e SSD

r5d.xla 1 x 150 GB NVM ✔


rge e SSD

r5d.2xl 1 x 300 GB NVM ✔


arge e SSD

r5d.4xl 2 x 300 GB NVM ✔


arge e SSD

r5d.8xl 2 x 600 GB NVM ✔


arge e SSD

r5d.12x 2 x 900 GB NVM ✔


large e SSD

r5d.16x 4 x 600 GB NVM ✔


large e SSD

r5d.24x 4 x 900 GB NVM ✔


large e SSD

r5d.met 4 x 900 GB NVM ✔


al e SSD

r5dn.la 1 x 75 GB NVM ✔
rge e SSD

r5dn.xl 1 x 150 GB NVM ✔


arge e SSD

r5dn.2x 1 x 300 GB NVM ✔


large 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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

r5dn.4x 2 x 300 GB NVM ✔


large e SSD

r5dn.8x 2 x 600 GB NVM ✔


large e SSD

r5dn.12 2 x 900 GB NVM ✔


xlarge e SSD

r5dn.16 4 x 600 GB NVM ✔


xlarge e SSD

r5dn.24 4 x 900 GB NVM ✔


xlarge e SSD

r5dn.me 4 x 900 GB NVM ✔


tal e SSD

r6gd.me 1 x 59 GB NVM ✔
dium e SSD

r6gd.la 1 x 118 GB NVM ✔


rge e SSD

r6gd.xl 1 x 237 GB NVM ✔


arge e SSD

r6gd.2x 1 x 474 GB NVM ✔


large e SSD

r6gd.4x 1 x 950 GB NVM ✔


large e SSD

r6gd.8x 1 x 1900 GB NVM ✔


large e SSD

r6gd.12 2 x 1425 GB NVM ✔


xlarge e SSD

r6gd.16 2 x 1900 GB NVM ✔


xlarge e SSD

r6gd.me 2 x 1900 GB NVM ✔


tal 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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

r6idn.l 1 x 118 GB NVM ✔


arge e SSD

r6idn.x 1 x 237 GB NVM ✔


large e SSD

r6idn.2 1 x 474 GB NVM ✔


xlarge e SSD

r6idn.4 1 x 950 GB NVM ✔


xlarge e SSD

r6idn.8 1 x 1900 GB NVM ✔


xlarge e SSD

r6idn.1 2 x 1425 GB NVM ✔


2xlarge e SSD

r6idn.1 2 x 1900 GB NVM ✔


6xlarge e SSD

r6idn.2 4 x 1425 GB NVM ✔


4xlarge e SSD

r6idn.3 4 x 1900 GB NVM ✔


2xlarge e SSD

r6idn.m 4 x 1900 GB NVM ✔


etal e SSD

r6id.la 1 x 118 GB NVM ✔


rge e SSD

r6id.xl 1 x 237 GB NVM ✔


arge e SSD

r6id.2x 1 x 474 GB NVM ✔


large e SSD

r6id.4x 1 x 950 GB NVM ✔


large e SSD

r6id.8x 1 x 1900 GB NVM ✔


large e SSD

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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

r6id.12 2 x 1425 GB NVM ✔


xlarge e SSD

r6id.16 2 x 1900 GB NVM ✔


xlarge e SSD

r6id.24 4 x 1425 GB NVM ✔


xlarge e SSD

r6id.32 4 x 1900 GB NVM ✔


xlarge e SSD

r6id.me 4 x 1900 GB NVM ✔


tal e SSD

x1.16xl 1 x 1920 GB SSD ✔


arge

x1.32xl 2 x 1920 GB SSD ✔


arge

x2gd.me 1 x 59 GB NVM ✔
dium e SSD

x2gd.la 1 x 118 GB NVM ✔


rge e SSD

x2gd.xl 1 x 237 GB NVM ✔


arge e SSD

x2gd.2x 1 x 475 GB NVM ✔


large e SSD

x2gd.4x 1 x 950 GB NVM ✔


large e SSD

x2gd.8x 1 x 1900 GB NVM ✔


large e SSD

x2gd.12 2 x 1425 GB NVM ✔


xlarge e SSD

x2gd.16 2 x 1900 GB NVM ✔


xlarge 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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

x2gd.me 2 x 1900 GB NVM ✔


tal e SSD

x2idn.1 1 x 1900 GB NVM ✔


6xlarge e SSD

x2idn.2 2 x 1425 GB NVM ✔


4xlarge e SSD

x2idn.3 2 x 1900 GB NVM ✔


2xlarge e SSD

x2idn.m 2 x 1900 GB NVM ✔


etal e SSD

x2iedn. 1 x 118 GB NVM ✔


xlarge e SSD

x2iedn. 1 x 237 GB NVM ✔


2xlarge e SSD

x2iedn. 1 x 475 GB NVM ✔


4xlarge e SSD

x2iedn. 1 x 950 GB NVM ✔


8xlarge e SSD

x2iedn. 1 x 1900 GB NVM ✔


16xlarg e SSD
e

x2iedn. 2 x 1425 GB NVM ✔


24xlarg e SSD
e

x2iedn. 2 x 1900 GB NVM ✔


32xlarg e SSD
e

x2iedn. 2 x 1900 GB NVM ✔


metal e SSD

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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

x1e.xla 1 x 120 GB SSD ✔

Storage optimized

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

d2.xlar 3 x 2048 GB HDD ✔


ge

d2.2xla 6 x 2048 GB HDD ✔


rge

d2.4xla 12 x 2048 HDD ✔


rge GB

d2.8xla 24 x 2048 HDD ✔


rge GB

d3.xlar 3 x 1980 GB NVMe ✔


ge HDD

d3.2xla 6 x 1980 GB NVMe ✔


rge HDD

d3.4xla 12 x 1980 NVMe ✔


rge GB HDD

d3.8xla 24 x 1980 NVMe ✔


rge GB HDD

d3en.xl 2 x 13980 NVMe ✔


arge GB HDD

d3en.2x 4 x 13980 NVMe ✔


large GB HDD

d3en.4x 8 x 13980 NVMe ✔


large GB HDD

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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

d3en.6x 12 x 13980 NVMe ✔


large GB HDD

d3en.8x 16 x 13980 NVMe ✔


large GB HDD

d3en.12 24 x 13980 NVMe ✔


xlarge GB HDD

h1.2xla 1 x 2000 GB HDD ✔


rge

h1.4xla 2 x 2000 GB HDD ✔


rge

h1.8xla 4 x 2000 GB HDD ✔


rge

h1.16xl 8 x 2000 GB HDD ✔


arge

hs1.8xl 24 x 2048 HDD ✔


arge GB

i2.xlar 1 x 800 GB SSD ✔


ge

i2.2xla 2 x 800 GB SSD ✔


rge

i2.4xla 4 x 800 GB SSD ✔


rge

i2.8xla 8 x 800 GB SSD ✔


rge

i3.larg 1 x 475 GB NVMe ✔


e SSD

i3.xlar 1 x 950 GB NVMe ✔


ge SSD

i3.2xla 1 x 1900 GB NVMe ✔


rge SSD

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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

i3.4xla 2 x 1900 GB NVMe ✔


rge SSD

i3.8xla 4 x 1900 GB NVMe ✔


rge SSD

i3.16xl 8 x 1900 GB NVMe ✔


arge SSD

i3.meta 8 x 1900 GB NVMe ✔


l SSD

i3en.la 1 x 1250 GB NVMe ✔


rge SSD

i3en.xl 1 x 2500 GB NVMe ✔


arge SSD

i3en.2x 2 x 2500 GB NVMe ✔


large SSD

i3en.3x 1 x 7500 GB NVMe ✔


large SSD

i3en.6x 2 x 7500 GB NVMe ✔


large SSD

i3en.12 4 x 7500 GB NVMe ✔


xlarge SSD

i3en.24 8 x 7500 GB NVMe ✔


xlarge SSD

i3en.me 8 x 7500 GB NVMe ✔


tal SSD

i4i.lar 1 x 468 GB NVMe ✔


ge SSD

i4i.xla 1 x 937 GB NVMe ✔


rge SSD

i4i.2xl 1 x 1875 GB NVMe ✔


arge SSD

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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

i4i.4xl 1 x 3750 GB NVMe ✔


arge SSD

i4i.8xl 2 x 3750 GB NVMe ✔


arge SSD

i4i.16x 4 x 3750 GB NVMe ✔


large SSD

i4i.32x 8 x 3750 GB NVMe ✔


large SSD

i4i.met 8 x 3750 GB NVMe ✔


al SSD

im4gn.l 1 x 937 GB NVMe ✔


arge SSD

im4gn.x 1 x 1875 GB NVMe ✔


large SSD

im4gn.2 1 x 3750 GB NVMe ✔


xlarge SSD

im4gn.4 1 x 7500 GB NVMe ✔


xlarge SSD

im4gn.8 2 x 7500 GB NVMe ✔


xlarge SSD

im4gn.1 4 x 7500 GB NVMe ✔


6xlarge SSD

Accelerated computing

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

dl1.24x 4 x 1000 GB NVM ✔


large e SSD

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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

f1.2xla 1 x 470 GB NVM ✔


rge e SSD

f1.4xla 1 x 940 GB NVM ✔


rge e SSD

f1.16xl 4 x 940 GB NVM ✔


arge e SSD

g2.2xla 1 x 60 GB SSD ✔
rge

g2.8xla 2 x 120 GB SSD ✔


rge

g4ad.xl 1 x 150 GB NVM ✔


arge e SSD

g4ad.2x 1 x 300 GB NVM ✔


large e SSD

g4ad.4x 1 x 600 GB NVM ✔


large e SSD

g4ad.8x 1 x 1200 GB NVM ✔


large e SSD

g4ad.16 2 x 1200 GB NVM ✔


xlarge e SSD

g4dn.xl 1 x 125 GB NVM ✔


arge e SSD

g4dn.2x 1 x 225 GB NVM ✔


large e SSD

g4dn.4x 1 x 225 GB NVM ✔


large e SSD

g4dn.8x 1 x 900 GB NVM ✔


large e SSD

g4dn.12 1 x 900 GB NVM ✔


xlarge e SSD

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...

Instance Instance Type Needs TRIM


type store initializati support
volumes on* **

g4dn.16 1 x 900 GB NVM ✔


xlarge e SSD

g4dn.me 2 x 900 GB NVM ✔


tal e SSD

g5.xlar 1 x 250 GB NVM ✔


ge e SSD

g5.2xla 1 x 450 GB NVM ✔


rge e SSD

g5.4xla 1 x 600 GB NVM ✔


rge e SSD

g5.8xla 1 x 900 GB NVM ✔


rge e SSD

g5.12xl 1 x 3800 GB NVM ✔


arge e SSD

g5.16xl 1 x 1900 GB NVM ✔


arge e SSD

g5.24xl 1 x 3800 GB NVM ✔


arge e SSD

g5.48xl 2 x 3800 GB NVM ✔


arge e SSD

p3dn.24 2 x 900 GB NVM ✔


xlarge e SSD

p4d.24x 8 x 1000 GB NVM ✔


large e SSD

* Volumes attached to certain instances suffer a first-write penalty unless


initialized. For more information, see Optimize disk performance for
instance store volumes (./disk-performance.html) .

** 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...

† The c1.medium and m1.small instance types also include a 900 MB


instance store swap volume, which may not be automatically enabled at
boot time. For more information, see Instance store swap volumes
(./instance-store-swap-volumes.html) .

Instance store volume performance

The following documentation describes the I/O performance of the


instance store volumes.

• General purpose instances (./general-purpose-instances.html#general-


purpose-ssd-perf)

• Compute optimized instances (./compute-optimized-


instances.html#compute-ssd-perf)

• Memory optimized instances (./memory-optimized-


instances.html#instances-ssd-perf)

• Storage optimized instances (./storage-optimized-instances.html#storage-


instances-diskperf)

• Accelerated computing instances (./accelerated-computing-


instances.html#accelerated-computing-ssd-perf)

To query instance store volume information using the AWS CLI

You can use the describe-instance-types (https://docs.aws.amazon.com


/cli/latest/reference/ec2/describe-instance-types.html) AWS CLI command to
display information about an instance type, such as its instance store
volumes. The following example displays the total size of instance storage
for all R5 instances with instance store volumes.

aws ec2 describe-instance-types \


--filters "Name=instance-type,Values=r5*"
"Name=instance-storage-supported,Values=true" \
--query "InstanceTypes[].[InstanceType,
InstanceStorageInfo.TotalSizeInGB]" \
--output table

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.

aws ec2 describe-instance-types \


--filters "Name=instance-type,Values=r5d.4xlarge"
\
--query "InstanceTypes[].InstanceStorageInfo"

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

You might also like