Chapter 16 Optimization Flashcards
5 pillars
- operational excellence
- security
- reliability
- performance efficiency
- cost optimization
Cost Tagging Categories
- Environment
- Application ID
- Automation (opt in/out)
- Business Unit
- Owner
How to enforce tagging?
Via IAM policy which specified required tag names.
Why would you potentially be charged for stopped EC2 instance?
Because an associated EBS volume was not terminated.
Are you charged for an unused Elastic IP address?
Yes, but it is not charged if it is attached to an EC2 instances.
General purpose instance types
A1, T2, M3, M4
Compute Optimized instance types
C3, C4
Memory Optimized instance types
X1, R3, R4
Storage Optimized Instance Types
I3, D2
Accelerated Computing Instance Types
P2, G3, F1
Reserved instance duration
1-3 years, potential savings of 75%
For DB reserved instances, what happens when you exceed reserved rate?
You are charged the on demand rate.
Termination notices for spot instances are issues when?
2 minutes before instances are terminated
How to guarantee a specific time duration with Spot instances?
Use block durations, which is a parameter set when using spot instances. It guarantees a duration block.
How to minimize impact of interruptions with Spot instances?
Persist data with EBS volume and/or split up the work using SQS.
______refers to the functionality that automatically replaces unhealthy instances in your application, maintains your fleet at the desired capacity, and balances instances across Availability Zones.
Fleet management
A _______ is a snapshot of a particular state of a resource, such as an Amazon EC2 instance, Amazon EBS volumes, and an Amazon RDS DB instance.
golden image