Amazon Elastic Compute Cloud
User Guide for Linux Instances

Amazon EC2 Instance Store

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, or for data that is replicated 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 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. While an instance store is dedicated to a particular instance, the disk subsystem is shared among instances on a host computer.

Amazon EC2 instance storage

Instance Store Lifetime

You can specify instance store volumes for an instance only when you launch it. 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 the following circumstances:

  • The underlying disk drive fails

  • The instance stops

  • The instance terminates

Therefore, do not rely on instance store for valuable, long-term data. Instead, you can build a degree of redundancy (for example, RAID 1/5/6), or use a file system (for example, HDFS and MapR-FS) that supports redundancy and fault tolerance. You can also back up data periodically to more durable data storage solutions such as Amazon S3 or Amazon EBS.

You can't detach an instance store volume from one instance and attach it to a different 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.

Instance Store Volumes

The instance type of an instance determines the size of the instance store available for the instance, and the type of hardware used for the instance store volumes. Instance store volumes are included as part of the instance's hourly cost. You must specify the instance store volumes that you'd like to use when you launch the instance, and then format and mount them 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.

The instance type of an instance also determines the type of hardware for the instance store volumes. Some instance types use solid state drives (SSD) to deliver very 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.

The following table shows the size and quantity of the instance store volumes available to each instance type.

Instance TypeInstance Store Volumes


1 x 350 GB


4 x 420 GB (1680 GB)


2 x 16 GB SSD (32 GB)


2 x 40 GB SSD (80 GB)


2 x 80 GB SSD (160 GB)


2 x 160 GB SSD (320 GB)


2 x 320 GB SSD (640 GB)


4 x 840 GB (3360 GB)


2 x 840 GB (1680 GB)


2 x 120 GB SSD (240 GB)


3 x 2000 GB (6 TB)


6 x 2000 GB (12 TB)


12 x 2000 GB (24 TB)


24 x 2000 GB (48 TB)

g2.2xlarge1 x 60 GB SSD
g2.8xlarge2 x 120 GB SSD


2 x 1024 GB SSD (2048 GB)


24 x 2000 GB (48 TB)


1 x 800 GB SSD, supports TRIM*


2 x 800 GB SSD (1600 GB), supports TRIM*


4 x 800 GB SSD (3200 GB), supports TRIM*


8 x 800 GB SSD (6400 GB), supports TRIM*


1 x 160 GB


1 x 410 GB


2 x 420 GB (840 GB)


4 x 420 GB (1680 GB)


1 x 420 GB


1 x 850 GB


2 x 840 GB (1680 GB)


1 x 4 GB SSD


1 x 32 GB SSD


2 x 40 GB SSD (80 GB)


2 x 80 GB SSD (160 GB)


1 x 32 GB SSD, supports TRIM*


1 x 80 GB SSD, supports TRIM*


1 x 160 GB SSD, supports TRIM*


1 x 320 GB SSD, supports TRIM*


2 X 320 GB SSD (640 GB), supports TRIM*

* SSD-based instance store volumes that support TRIM instruction are not pre-formatted with any file system. However, you can format volumes with the file system of your choice after you launch your instance. For more information, see Instance Store Volume TRIM Support.

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