Search for Well Architected Advice
< All Topics
Print

Select resource type, size, and number automatically based on metrics

Choosing the right resource type, size, and number is crucial for meeting your cost targets. By leveraging metrics from your workload, you can minimize waste and optimize spending, ensuring you provision resources appropriately for the demands of your application.

Best Practices

  • Implement Auto-Scaling: Auto-scaling dynamically adjusts the number of resources based on real-time demand, ensuring that your application operates efficiently while minimizing costs. Implement it by setting up scaling policies that respond to metrics such as CPU utilization, request count, or custom application metrics.
  • Utilize Right-Sizing Tools: Employ AWS Compute Optimizer or Trusted Advisor to analyze your existing workloads and provide recommendations for resizing resources. Regular audits of these recommendations will help ensure that you are consistently optimizing resource types and sizes.

Supporting Questions

  • Are you monitoring workload metrics to inform resource provisioning decisions?

Roles and Responsibilities

  • Cloud Architect: Responsible for designing cloud resources considering cost and performance trade-offs, and implementing automated solutions for resource allocation.
  • DevOps Engineer: Tasked with managing deployments and implementing auto-scaling and monitoring setups to ensure that resource allocation remains efficient as workload changes.

Artifacts

  • Auto-Scaling Policies: Configuration settings that define how your resources will automatically scale in response to changes in demand, optimizing both performance and cost.
  • Cost Management Reports: Regularly generated reports providing insights into resource utilization and spend, helping to inform decisions on resource resizing and scaling strategies.

Cloud Services

AWS

  • AWS Auto Scaling: Automatically adjusts the number of Amazon EC2 instances, Amazon ECS services, DynamoDB read, and write capacity based on workload metrics to optimize cost and performance.
  • AWS Compute Optimizer: Analyzes the utilization of your Amazon EC2 instances and recommends optimal instance types and sizes for your workloads.

Question: How do you meet cost targets when you select resource type, size and number?
Pillar: Cost Optimization (Code: COST)

Table of Contents