EBS Snapshots
- Data of the EBS can be backed up using EBS Snapshots. Internally these backups will be stored in s3.
- AWS EBS Snapshots are incremental backups
- So when we delete the latest snapshot then the latest data is lost
- When we delete older snapshots, then we dont loose data as the data gets copied to child snapshot
- From EBS Snapshot (backup), we can create a new volume (disk) or we can also create a new AMI (Amazon Machine Image)
- Volume will be restricted to an AZ. Snapshot will be present in a Region. So using snapshot we can create the same volume in different AZs
- Now lets create EBS Snapshot
- Now lets create a volume using this snapshot in az-a (us-east-1a)
- Snapshots can be copied to other regions as well
- From this snapshot i can create a new volume in any AZ in other region (oregon)
- We can also share ebs snapshots
- to public
- to other AWS accounts
- We can use AWS Lifecycle manager to create and delete the EBS Snapshots and EBS Snapshot backed AMI
EBS Fast Snapshot restore
- EBS fast snapshot restore enables you to create a volume from snapshot which is fully initialized which helps in eliminating I/O Latency on disk operations.
EBS Volume Modifications
- Lets create an ec2 instance with windows 2016 operating system
- Create an additional volume of size 1 GB in the Same AZ as ec2 instance and attach to ec2
- Lets mount the additional disk in windows server
- Now lets increase the size of the EBS Volume from 1 GiB to 2 GiB
- Now lets verify the disk statistics in EC2 instance
- Refer Here
