A Cantrill - EC2 Basics & Advanced Flashcards
Can you use EBS (Elastic Block Store) in multiple AZs?
No. EBS is limited to ONE AZ only
What type of storage is EBS?
EBS is a persistent data storage type.
EBS backups are called Snapshots which backup to S3.
How is EBS billed?
GB per month basis
Instance stores MUST be attached to an EC2 at launch, T or F?
True. Instance stores cannot be attached to an Instance AFTER it is already running
What type of storage is Instance Store?
Ephemeral. If the instance is stopped or moves hosts, the instance datastore is lost.
What is the pricing for instance store?
It is included in the price of your EC2 instance.
What type of backups are EBS Snapshots?
Incremental volume copies to S3.
what is the difference between restarting an EC2 AND “stopping and starting” an EC2?
-Restarting an EC2, the EC2 will stay on its host
-Stopping and starting an EC2, the EC2 will move hosts
What kind of a key is used for each EBS volume? Default KMS key or single unique DEK?
Each volume uses 1 unique DEK. And these snapshots and future volumes will use the SAME DEK
Every EC2 has at least one __?
ENI.
All EC2s need at least 1 ENI.
All ENIs have what ?
MAC Address and a primary IPv4 IP. The IPs are on the ENI, NOT the actual EC2
What happens to an IPv4 public IP when the EC2 is Stopped & Started?
What can be done to prevent a public IPv4 address from changing on an EC2?
-IPv4 public IPs are dynamic, so when you stop and start the EC2, the Public IP WILL change.
-Assign the EC2 an Elastic IP
AMI work only in 1 region (t or f)?
AMIs work in only one region. But can be copied into a other regions.
What is AMI baking?
Creating an AMI from configured AMI plus an application loaded automatically
Are AMIs editable?
No, once an AMI is created you cannot change it. Need to make a new AMI
If an AMI snapshot is copied over to another Region, is it the same AMI ?
When an AMI snapshot is copied over to another region, the new AMI is a different AMI. Same data but it is a different ID
If a company is moving off regular servers (EC2s) and onto serverless or container architecture (Lambda, Fargate) what should they utilize to save $?
EC2 savings plan can be a good tool for a company moving off ec2s
What service can be used to automatically recover EC2s that fail status checks ?
CloudWatch alarms can monitor the EC2 and automatically recover the instance if it becomes impaired due to an underlying hardware failure or a problem that requires AWS involvement to repair.