EC2 Flashcards
What is EC2
IaaS
Resizable compute capacity in the cloud with a pay-as-you-go billing model
What are the four billing models on EC2
- On Demand: Charged by hour or second - Reserved: Reserve at 1 or 3 years with up to 75% discount - Spot instances Bid a price you're willing to pay - Dedicated hosts: Rent a physical server Allow using existing server bound software licenses Can be on demand
What pricing model would be best suitable for applications with spiky unpredictable loads?
On demand
What pricing model would be best suitable for applications with flexible start and end times, and only feasible at low compute prices loads?
Spot instances
What pricing model would you use for software with regulatory requirements that do not support multi-tenancy virtualization?
Dedicated hosts
What three types are available with reserved instances?
- Standard: Up to 75% discount - Convertible reserved instances: Up to 54% discount - Scheduled reserved instances
What are some attributes that you can change in a Convertible reserved instance?
Instance family
OS
Tenancy
Is termination protection turned on or off by default?
Turned off
What is the default action for EBS backed instances when instances are terminated?
Delete the EBS volume, but behavior can be disabled
How can you encrypt the EBS root volume of a default AMI?
During AMI creation via console or API, or third party tools (bit locker)
What rules does a default security group contain?
Inbound blocked by default
Outbound traffic allowed
How much time does it take for changes to Security Groups to be reflected?
Instant
T/F Security Groups are stateless
False, security groups are stateful
What does it mean for a firewall to be stateful?
It keeps track of what comes in and allows responses to those packages to go back.
Can you block specific IPs with security groups?
No