CLF-C02 Recap
Instance Stores and Amazon Elastic Block Store (Amazon EBS)

Instance Stores and Amazon Elastic Block Store (Amazon EBS)

Instance stores

Block-level storage volumes behave like physical hard drives.

An instance store provides temporary block-level storage for an Amazon EC2 instance. An instance store is 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.

An Amazon EC2 instance with an attached instance store is running

9akZyOW7SzGpGcjluwsxmA_8c2afb3a960d4b64bee464157c63e6db_Instance-Store-1.png

The instance is stopped or terminated

wWXJAd3DTdSlyQHdw_3UyQ_6ac0a2bcd3694ec69f8010077113ca55_Instance-Store-2.png

All data on the attached instance store is deleted

d0iald1cTP2ImpXdXKz9tQ_5e4d62641143459e8e087601cc62bfa9_Instance-Store-3.png

Amazon Elastic Block Storage (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.

To create an EBS volume, you define the configuration (such as volume size and type) and provision it. After you create an EBS volume, it can attach to an Amazon EC2 instance.

Because EBS volumes are for data that needs to persist, it’s important to back up the data. You can take incremental backups of EBS volumes by creating Amazon EBS snapshots.

nF82Y_Y8QBmfNmP2PBAZ3g_09f88d1ef8d2423d879146d698712227_EBS1.png

Amazon EBS Snapshots

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 snapshots are saved.

Incremental backups are different from full backups, in which all the data in a storage volume copies each time a backup occurs. The full backup includes data that has not changed since the most recent backup.

XfmNRhWHSn65jUYVh9p-WQ_46db8789bf184ca8a427ddc15f647523_EBS-Snapshots.png