EC2 Flashcards
What are the types of EC2 instances?
On-Demand - fixed fee, no commitment
Reserved - with contract
Spot - Bid
Dedicated hosts - physically dedicated system
How are you charged for a partial hour if the prices changes on a spot instance?
You will not be charged
How are you charged for a partial hour if you terminate a spot instance?
You will be charged
What are the instance types
F I G H T D R M C P X Z A U
You delete an EBS instance. What is the default protection behavior?
None, it is deleted unless termination protection was turned on
You delete an EC2 instance, Will addition EBS volumes other than root be retained?
Yes
Can default AMI root volumes be encrypted?
No.
How can you encrypt a root volume?
Use a 3rd party tool or it can be done when creating the AMI
Can EBS volumes be encrypted?
Yes, but not the root when using a default AMI
Security group fundamentals?
All inbound is blocked by default All outbound is allowed Changes take effect immediately Unlimited number of EC2 instances can use the same Sec Group Are stateful
What does stateful mean?
When a port is opened it is open for both inbound and outbound
How can you block IP addresses? Sec groups or NACL’s?
NACLS
What are the EBS Types?
GP (SSD) PIOPS (SSD) = DB-s TO (HDD) =Big data Cold (HDD) = File servers EBS Mag - Infrequently accessed
You take an EBS snapshot, where is it stored?
S3
T or F Snapshots are Full
False
How do you ensure an EBS snapshot is quiesced?
Stop the instance
Can you take an EBS snap while the instance is running?
Yes
Can you create AMI’s from volumes and snapshots?
Yes
You want to change the EBS volume size and and type. How can you do this?
You can do this on the fly
How do you move a EC2 volume to another AZ?
Take a snapshot, create an AMI then launch in the new AZ
How do you move a EC2 volume to another region?
Take a snapshot, create an AMI then move to the new region
Are snapshot of encrypted volumes encrypted?
Yes
Are encrypted volumes that are restored encrypted?
Yes
Can you share encrypted volumes?
No