Pillar Four - Cost Optimization Flashcards Preview

SA-12-The Well Architected Framework > Pillar Four - Cost Optimization > Flashcards

Flashcards in Pillar Four - Cost Optimization Deck (12):

Cost Optimization consists of

Paying lowest cost possible, while achieving objectives


Design principles

  1. Transparently attribute expenditures to users
  2. Use managed services to reduce cost of ownership
  3. Trade capital expense for operating expense
  4. Benefit from economies of scale
  5. Stop spending money on data center operations


Cost optimization in the cloud is composed of 4 areas

  1. Matched supply and demand
  2. Cost effective resources
  3. Expenditure awareness
  4. Optimizing over time


Best Practices - Matched supply and demand

  1. Don’t over provision / under provision - instead, autoscale with demand
  2. In server-less context, use services such as Lambda that only execute (or respond) when a request (demand) comes in
  3. CloudWatch can help you track your demand


Best Practices — Cost effective resources

  1. Use the correct instance type for your need (smaller can be more expensive if it runs longer)


Best Practices - Expenditure awareness

  1. Be aware of each team’s AWS account expenditures
  2. Use cost allocation tags to track this, billing alerts, and consolidate billing


Best Practices - Optimizing over time

  1. You should keep changes made to AWS and constantly re-evaluate your existing architecture
  2. You can do this by subscribing to the AWS blog
  3. Use services such as Trusted Advisor


Key AWS Services

  1. Matched supply and demand - Autoscaling
  2. Cost effective resources - EC2 (reserved instances), AWS Trusted Advisor
  3. Expenditure awareness - CloudWatch Alarms, SNS
  4. Optimizing over time - AWS Blog, AWS Trusted Advisor


Questions: Matched supply and demand

  1. How do you make sure your capacity matches, but does not substantially exceed what you need?
  2. How are you optimizing your usage of AWS services?


Questions - Cost effective resources

  1. Have you selected the appropriate resource types to meet your cost targets?
  2. Have you selected the appropriate pricing model to meet your cost targets?
  3. Are there managed Services (higher-level services than ECS, EBC, S3) that you can use to improve your ROI?


Questions: Expenditure awareness

  1. What access controls and procedures do you have in place to govern AWS costs?
  2. How are you monitoring usage and spending?
  3. How do you decommission resources that you no longer need, or stop resources that are temporarily not needed?
  4. How do you consider data transfer charges when designing your architecture?


Questions: Optimizing over time

  1. How do you manage and / or consider the adoption of new services?