EC2 Instance Storage Flashcards
1
Q
What is an EBS Volume?
A
- EBS: Elastic Block Store
- A network drive (not a physical drive like a USB) that instances can be attached to while they run
- Allows instances to persist data, even after their termination
- Can only be mounted to one instance at a time (at the Cloud Practitioner level)
- Bound to a specific availability zone
- Have a provisioned capacity (size in GBs and IO Operations/Second)
2
Q
What is the ‘Delete on Termination’ attribute for an EBS Volume?
A
Delete on Termination defines whether the EBS Volume is deleted when the EC2 instance terminates
* The root EBS volume is deleted by default
* All other EBS volumes are not deleted by default
3
Q
What is an EBS Snapshot?
A
- A backup/snapshot of an EBS Volume at a point in time
- It is not necessary to detach the volume to do a snapshot, but recommended
- Snapshots can be copied across AZs or Regions
4
Q
What is the EBS Snapshot Archive?
A
- Snapshots can be moved to the ‘archive tier’, which is 75% cheaper
- It takes 24-72 hours to restore a snapshot in the archive
5
Q
What is Recycle Bin for EBS Snapshots?
A
- Recycle Bin holds deleted snapshots so that they can be recovered after accidental deletion
- The retention period can be set from 1 day to 1 year
6
Q
What is an AMI?
A
- AMI: Amazon Machine Image
- A customisation of an EC2 instance
- Built for a specific region, and can be copied across regions
7
Q
What is involved in the process for creating an AMI?
A
- Start an EC2 instance and customise it
- Stop the instance to maintain data integrity
- Build the AMI, which will also create EBS snapshots
- Launch instances from other AMIs
8
Q
What is EC2 Image Builder?
A
- Used to automate the creation of Virtual Machines or container images
- Auttomates the creation, maintainence, validation and testing of EC2 AMIs
- Can be run on a schedule