Cost Optimization - Decisions Flashcards
1
Q
Factors that affect cost
A
- Resources are priced per region and per AZ
- EC2 size and type
- S3 storage class
2
Q
Tips to save money 1
A
- Use the appropriate EC2 payment model to your needs
- Take advantage of EC2 reservations / commitments. The same for RDS and DynamoDB
- Tag everything in order to organize and classify expenditures
- Use Service Control Policies (SCPs) to restrict available features. Can configure them at AWS Organizations
3
Q
Tips to save money 2
A
- Monitor everything to find out unused services, or scaled down other services
- Implement Auto scaling
- Implement offloading by using CloudFront, ElastiCache, or RDS read replicas. This reduces demand on backend services, and therefore capacity and costs
- Turn things off. Shutdown and delete resources that you don’t need
4
Q
Tips to save money 3
A
- Should always use AWS Free tier
- Have good governance of services with tools like IAM. Use Cost Explorer to know your current costs and predict them
- Automate whenever you can so you have tight control of costs
5
Q
Tools to monitor costs
A
- Use Billing to create Budgets
- Use Cost Explorer -> Savings plans -> Recommendations
- Use CloudWatch Alarms for Billing
- Use Trusted Advisor -> Cost optimization. Need a Business or Enterprise support plan to access it