EC2 Flashcards
How to move an EC2 volume from one region to another?
- Take snapshot of volume
- Create AMI from snapshot
- Copy AMI to new region
- Launch new EC2 instance in new region from copied AMI
How to move an EC2 volume to a new AZ?
- Take a snapshot of the volume
- Create AMI from snapshot
- Use the AMI to launch a new EC2 instance in the new AZ
Encryption state of snapshots of encrypted volumes?
snapshots of encrypted volumes are encrypted automatically
Encryption state of a volume restored from an encrypted snapshot
The restored volume is encrypted automatically
Can you share snapshots?
Yes, but only if they are unencrypted
How to encrypt an unencrypted root device volume?
- Create snapshot of root device volume
- Create copy of the snapshot and select the encrypt option
- Create an AMI from the encrypted snapshot
- Use the AMI to launch new encrypted instances
Alternate name for instance store volumes
Ephemeral storage
Instance store volumes vs. EBS backed instances
Instance store volumes will lose the data if the underlying host fails.
EBS backed instances can be stopped without data loss.
Both can be rebooted without losing data
Both will delete ROOT volumes on termination but EBS volumes have an option to keep the root device volume
ENI - acronym
Elastic Network Interface
ENI - definition/info
For basic networking; Can use multiple to create separate networks at low cost
EN - acronym
Enhanced network
EN - definition/info
For when you need reliable, high throughput.
Supports speeds between 10Gbps and 100Gbps
EFA - acronym
Elastic Fabric Adaptor
EFA - definition/info
For when you need to accelerate
High Performance Computing (HPC) OR
Machine Learning OR
If you need to do an OS by-pass
EC2 Network adapters
ENI - elastic network interface
EN - enhanced network
EFA - elastic fabric adaptor
Cloudwatch
Used to monitor performance
Can monitor most of AWS as well as apps running on AWS