aws_cloud_practitioner

Storage

Instance stores

An instance store provides temporary block-level storage for an Amazon EC2 instance.

An instance store is (local) disk storage that is physically attached to the host computer for an EC2 instance, and therefore has the same lifespan as the instance. When the instance is terminated, you lose any data in the instance store.


Amazon EBS

Amazon Elastic Block Store (Amazon EBS) is a service that provides block-level storage volumes that you can use with Amazon EC2 instances.

If you stop or terminate an Amazon EC2 instance, all the data on the attached EBS volume remains available.

EBS allows you to take incremental backups of your data called snapshots.


Amazon EBS Snapshots

example

An EBS snapshot is an incremental backup. This means that the first backup taken of a volume copies all the data. For subsequent backups, only the blocks of data that have changed since the most recent snapshot are saved.


Object Storage

example

In object storage, each object consists of data, metadata, and a key.


Amazon S3

Amazon Simple Storage Service (Amazon S3) is a service that provides object-level storage.


Amazon S3 Storage Classes

When selecting an Amazon S3 storage class, consider these two factors:

Amazon S3 Standard

Amazon S3 Standard-Infrequent Access (S3 Standard-IA)

Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA)

Amazon S3 Intelligent-Tiering

Amazon S3 Glacier Instant Retrieval

Amazon S3 Glacier Flexible Retrieval

Amazon S3 Glacier Deep Archive

All objects from this storage class are replicated and stored across at least three geographically dispersed Availability Zones.

Amazon S3 Outposts

Amazon S3 Outposts delivers object storage to your on-premises AWS Outposts environment.


Amazon EFS

EFS is a managed file system. In file storage, multiple clients can access data that is stored in shared file folders.

Compared to block storage and object storage, file storage is ideal for use cases in which a large number of services and resources need to access the same data at the same time.

Amazon Elastic File System (Amazon EFS) is a scalable file system used with AWS Cloud services and on-premises resources.


EBS vs EFS

Amazon EBS volumes attach to EC2 instances and are an Availability Zone-level resource. In order to attach EC2 to EBS, you need to be in the same AZ. EBS doesn’t automatically scale.

EFS allows you to have multiple instances accessing the data in EFS at the same time. It’s a regional resource and stores data in and across multiple AZs, meaning any EC2 instance in the Region can write to the EFS file system. As you write more data to EFS, it automatically scales.


Notes


References