[AWS] EC2 – Storage Options

  • Every EC2 instance must have a root volume, which may or may not be EBS (Elastic Block Store).
  • By default, an EBS root volume will be deleted when the instance is terminated. You can change the setting to make EBS volumes persistent.
  • You can attach additional EBS volumes to instances, and they are not deleted when the instance is terminated.

Instance Store

Instance Store Volumes are fast volumes attached to EC2 instance directly – ephemeral storage.

  • Persistent after OS rebooting or instance rebooting.
  • Not persistent after stopped or terminated.
  • Not persistent after the hardware failure.

Elastic Block Store (EBS)

Elastic Block Store (EBS) is a network-attached storage (called a volume) service.

  • Data is persistent.
  • It is tied to one Availability Zone.
  • It can only be attached to one instance in the same AZ.
  • Recommended for:
    • Access data quickly
    • Run a DB on an instance
    • Long-term data storage

Please refer to this post: EBS

Elastic File System (EFS)

Elastic File System (EFS) is a fully managed scalable file storage option – Network File System (NFS). EFS can be accessed by one or more EC2 instances at the same time.

  • A scalable, elastic, and cloud-native Network file system.
  • Highly available and durable – accessible across different AZs in the same region
    • Built-in protection from AZ outrages and other failures
  • Storage classes – Standard, Infrequent Access
  • Recommended for:
    • Shared data for business-critical applications
    • Lift-and-shift existing applications

Please refer to this post: EFS

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s