EC2 Instance Storage Flashcards
What is an EBS Volume?
• An EBS (Elastic Block Store) Volume is a network drive you can attach to your instances while they run
** • Analogy:Think of them as a “network USB stick”
• It allows your instances to persist data, even after their termination
- You define how you want your EBS to perform
• Free tier: 30 GB of free EBS storage of type gp2 per month
How many instances can an EBS volume be attached to?
EBS Volume can only be attached to 1 instance at a time.
Are EBS Volumes bound to a specific availability zone?
Yes
• They are bound to a specific availability zone
They are locked to a specific availability zone
Can EBS Volumes be mounted to more than one instance?
• They can only be mounted to one instance at a time (at the CCP level)
- It can be detached from an EC2 instance and attached to another one quickly
- To move a volume across you need to snapshot it
Are EBS Volumes physical or network drives?
• An EBS (Elastic Block Store) Volume is a network drive you can attach to your instances while they run
** • Analogy:Think of them as a “network USB stick”
It uses the network to communicate the instance, which means there might be a bit of latency from one computer to reach another server
Do you have to provision EBS capacity in advance?
Yes
You have to provision capacity in advance
You need to specify how many gigabytes you want in advance and the IOPs, which is IO operations per second
You will get billed for the capacity& you can increase that capacity over time if you want better performance or more size
Can you have more than one EBS Volume attached to an EC2 instance?
Yes
It is possible to have 2 EBS Volumes attached to an EC2 instance
Think of it as 2 network USB sticks into one machine
What is an EBS Snapshot?
A backup of your EBS volume at a point in time
Do you need to detach your EBS Volume to take a snapshot?
It is NOT necessary to detach your EBS Volume to do a snapshot but it is recommended
Can you copy snapshots across AZ (availability zones) or Regions?
Yes
You are able to transfer your data in a different region of the AWS to leverage to global infrastructure
What powers your EC2 instances?
AMI = Amazon Machine Image
AMI is a customization of an EC2 instance (You add your own software, configuration, we can define and set up the operating system…)
What is AMI?
Amazon Machine Image
AMI is a customization of an EC2 instance (You add your own software, configuration, we can define and set up the operating system…)
Faster boot/ configuration time because all your software is pre-packaged
AMI are built for a specific region ( and can be copied across regions)
What is EFS?
EFS = Elastic File System
A managed NFS (network file system) that can be mounted on 100s of EC2
EFS works with Linux EC2 instances in multi-AZ
Highly available, scalable, expensive (3xgp2), pay per use, no capacity planning