SUS05-BP01 Use the minimum amount of hardware to meet your needs
Use the minimum amount of hardware for your workload to efficiently meet your business needs.
Common anti-patterns:
-
You do not monitor resource utilization.
-
You have resources with a low utilization level in your architecture.
-
You do not review the utilization of static hardware to determine if it should be resized.
-
You do not set hardware utilization goals for your compute infrastructure based on business KPIs.
Benefits of establishing this best practice: Rightsizing your cloud resources helps to reduce a workload’s environmental impact, save money, and maintain performance benchmarks.
Level of risk exposed if this best practice is not established: Medium
Implementation guidance
Optimally select the total number of hardware required for your workload to improve its overall efficiency. The AWS Cloud provides the flexibility to expand or reduce the number of resources dynamically through a variety of mechanisms, such as AWS Auto Scaling
Implementation steps
-
Choose the instances type to best fit your needs.
-
Scale using small increments for variable workloads.
-
Use multiple compute purchase options in order to balance instance flexibility, scalability, and cost savings.
-
On-Demand Instances are best suited for new, stateful, and spiky workloads which can’t be instance type, location, or time flexible.
-
Spot Instances are a great way to supplement the other options for applications that are fault tolerant and flexible.
-
Leverage Compute Savings Plans
for steady state workloads that allow flexibility if your needs (like AZ, Region, instance families, or instance types) change.
-
-
Use instance and availability zone diversity to maximize application availability and take advantage of excess capacity when possible.
-
Use the rightsizing recommendations from AWS tools to make adjustments on your workload.
-
Negotiate service-level agreements (SLAs) that allow for a temporary reduction in capacity while automation deploys replacement resources.
Resources
Related documents:
Related videos:
Related examples: