-Data that is stored on an Amazon EBS volume will persist independently of the life of the instance
– if you use Amazon EBS volume as root partition , you will need to set the Delete on Termination flag to “N” if you want your Amazon EBS volume to persist outside the life of the instance
Snapshots
You need to retain only the most recent snapshots in order to restore the volume
- Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted
- by default, only you can create a volumes from snapshots that you own
- you can not enable encryption for an exiting EBS volume
-You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your Amazon EBS volume at the time that snapshot command has been issued .
- To create a snapshot for Amazon EBS volumes that server as a root devices you should stop the instance before taking a snapshot
- The snapshot that you take of an encrypted volume are also encrypted and can be moved between AWS regions as nedded
- You can not share encrypted snapshots with other AWS accounts and you ca not make them public
– EBS encryption feature is only available on EC’2 more powerfull instances types ( e.g M3, C3, R3, CR1, G2, and I2 Instances )
You can not attached an encrypted EBS volume to other instances
With Amazon EBS encryption, you can now create an encrypted EBS volume and attach it to a supported instance type. Data on the volume, disk I/O, and snapshots created from the volume are then all encrypted. The encryption occurs on the servers that host the EC2 instances, providing encryption of data as it moves between EC2 instances and EBS storage. EBS encryption is based on the industry standard AES-256
cryptographic algorithm.
Public snapshots of encrypted volumes are not supported, but you can share an encrypted snapshot with specific accounts if you
take the following steps:
– Use a custom CMK, not your default CMK, to encrypt your volume.
– Give the specific accounts access to the custom CMK.
– Create the snapshot.
– Give the specific accounts access to the snapshot.
Amazon EBS provides three volume types: General Purpose (SSD) volumes, Provisioned IOPS (SSD) volumes, and Magnetic volumes
Snapshot on RAID Volumes
Migrate data between encrypted and unencrypted volume
Warning
On an EBS-backed instance, the default action is for the root EBS volume to be deleted when the instance is terminated.
Storage on any local drives will be lost.
That mean EBS volume is deleted when you terminate the instance !
Notes :
M- General purpose
C – Compute optimized
R- instance are optimised for memory-intensive
G – GPU