Chp 5: EC2 Fundamentals Flashcards
Types of storage for EC2 Instances
- Network Attached (EBS + EFS)
2. Hardware (EC2 instance store)
Is it possible to bootstrap instance using a user data script?
yes it is
EC2 user data script can automate what types of tasks
- installing software
- installing updates
- downloading common files
EC2 User Data Script is run as which user?
root
EC2 instance type
- General Purpose
- Compute optimized
- Memory Optimized
- Storage Optimized
How many instances can a security group can be attached to?
multiple
Security groups are locked down to what
Region/vpc combo
Should SSH have its own security group?
yes
When is it a security group related issue?
If the app is not accessible
Describe the default traffic for security groups
all inbound traffic is blocked
all outbound traffic is authorized
EC2 instance purchasing options
- on demand
- reserved
- spot
- dedicated host
Describe an EC2 dedicated host
a physical server with EC2 instance capacity fully dedicated
When is an EC2 dedicated host ideal
- licenses
- when compliance requirements are an issue
What is the min time required for EC2 dedicated host?
3 year
What are spot fleets?
a set of spot instances + (optional) on demand instances
will try to meet the target capacity with price constraints