A company hosts a legacy inventory management application on AWS. The architecture consists of a steady-state fleet of Amazon EC2 instances running and an Amazon RDS for PostgreSQL database instance that also runs continuously. The company wants to minimize costs for both the EC2 instances and the RDS database with a -year commitment. Which combination of purchasing options will provide the most cost-effective solution?
- APurchase a Compute Savings Plan to cover both the Amazon EC2 instances and the Amazon RDS database instance.
- Purchase a Compute Savings Plan for the Amazon EC2 instances, and purchase Amazon RDS Reserved Instances for the database instance.Answer
- CPurchase a Compute Savings Plan for the Amazon EC2 instances, and purchase a separate Compute Savings Plan to cover the Amazon RDS database instance.
- DPurchase an EC2 Instance Savings Plan for the Amazon EC2 instances, and purchase an EC2 Instance Savings Plan to cover the Amazon RDS database instance.
Answer
Purchase a Compute Savings Plan for the Amazon EC2 instances, and purchase Amazon RDS Reserved Instances for the database instance.
Purchasing a Compute Savings Plan for the Amazon EC2 instances provides a flexible discount on the compute workload, and purchasing Amazon RDS Reserved Instances provides a dedicated discount for the RDS database instance. Compute Savings Plans apply automatically to EC2, Fargate, and Lambda, while RDS Reserved Instances are required to reduce the cost of the RDS database instance.
Step-by-Step Solution
Key Concept
Compute Savings Plans apply to EC2, Fargate, and Lambda, whereas Amazon RDS requires RDS Reserved Instances for cost optimization.