PERF02-BP04 Determine the required configuration by right-sizing
Analyze the various performance characteristics of your workload and how these characteristics relate to memory, network, and CPU usage. Use this data to choose resources that best match your workload's profile. For example, a memory-intensive workload, such as a database, could be served best by the r-family of instances. However, a bursting workload can benefit more from an elastic container system.
Common anti-patterns:
-
You choose the largest instance available for all workloads.
-
You standardize all instances types to one type for ease of management.
Benefits of establishing this best practice: Being familiar with the AWS compute offerings allows you to determine the correct solution for your various workloads. After you have selected the various compute offerings for your workload, you have the agility to quickly experiment with those compute offerings to determine which ones meet the needs of your workload.
Level of risk exposed if this best practice is not established: Medium
Implementation guidance
Modify your workload configuration by right sizing: To optimize both performance and overall efficiency, determine which resources your workload needs. Choose memory-optimized instances for systems that require more memory than CPU, or compute-optimized instances for components that do data processing that is not memory-intensive. Right sizing enables your workload to perform as well as possible while only using the required resources
Resources
Related documents:
Related videos:
-
Better, faster, cheaper compute: Cost-optimizing Amazon EC2 (CMP202-R1)
-
Deliver high performance ML inference with AWS Inferentia (CMP324-R1)
-
Optimize performance and cost for your AWS compute (CMP323-R1)
-
Powering next-gen Amazon EC2: Deep dive into the Nitro system
-
Optimize performance and cost for your AWS compute (CMP323-R1)
Related examples: