A company is deploying a new web application on AWS. The application consists of Amazon EC2 instances running a steady-state web server 24/7, and an Amazon DynamoDB table storing session data with highly spiky and unpredictable access patterns. Which TWO strategies should a solutions architect select to run this workload in the most cost-effective manner?
- Purchase a Compute Savings Plan to cover the Amazon EC2 instances.Answer
- Configure the Amazon DynamoDB table to use On-Demand capacity mode.Answer
- CPurchase a Compute Savings Plan to cover both the Amazon EC2 instances and the Amazon DynamoDB table capacity.
- DMigrate the continuously running EC2 web application server to AWS Lambda to eliminate idle compute costs.
- EConfigure the Amazon DynamoDB table with Provisioned Capacity Mode to optimize for the spiky traffic.
Answer
Select the option to purchase a Compute Savings Plan for the EC2 instances, and the option to configure the DynamoDB table to use On-Demand capacity mode.
Purchasing a Compute Savings Plan is the most cost-effective way to run the steady-state 24/7 EC2 instances because it offers significant discounts in exchange for a usage commitment. Additionally, configuring the DynamoDB table to use On-Demand capacity mode is optimal for spiky, unpredictable workloads, as it charges per request and avoids the waste of over-provisioning capacity that goes unused during low-traffic periods.
Step-by-Step Solution
Key Concept
Selecting cost-effective purchasing strategies (Compute Savings Plans vs. On-Demand vs. Provisioned Capacity) based on workload predictability and service compatibility.