Question

Difficulty: MediumReserved Instances and Savings Plans Optimization

A company runs a data processing application in a single AWS account. The application uses a fleet of Amazon EC2 instances in an Auto Scaling group that dynamically scales between 55 and 2020 `c6i.large` instances depending on queue depth. The application also invokes AWS Lambda functions to perform lightweight pre-processing on incoming data. Additionally, a single `db.r6g.large` Amazon RDS for PostgreSQL database runs continuously to store processing metadata. The company wants to minimize costs over the next year with a commitment plan, while retaining the flexibility to change EC2 instance families in the future if needed. Which combination of purchases should the SysOps administrator make to achieve the maximum cost optimization? (Select TWO.)

  1. Purchase a Compute Savings Plan to cover the baseline usage of the EC2 instances and the AWS Lambda functions.Answer
  2. Purchase a 11-year Reserved Instance for the db.r6g.large RDS database instance.Answer
  3. C
    Purchase an EC2 Instance Savings Plan to cover the EC2 instances and the AWS Lambda functions.
  4. D
    Purchase a Compute Savings Plan that covers the EC2 instances and the db.r6g.large RDS database instance.
  5. E
    Purchase a single 11-year Regional Reserved Instance to cover both the EC2 Auto Scaling group and the RDS database instance.

Answer

Purchase a Compute Savings Plan to cover the baseline usage of the EC2 instances and the AWS Lambda functions, and purchase a 1-year Reserved Instance for the db.r6g.large RDS database instance.
The correct strategy involves purchasing a Compute Savings Plan to cover the EC2 instances and AWS Lambda functions, as Compute Savings Plans apply to both services and allow changes to instance families. In addition, a 1-year Reserved Instance must be purchased for the db.r6g.large RDS database because Savings Plans do not support Amazon RDS.

Step-by-Step Solution

1
Analyze the workload components and find which components can be grouped under a single Savings Plan type.
The EC2 instances and AWS Lambda functions can both be covered under a Compute Savings Plan, which applies to EC2, Fargate, and Lambda usage.
This matches the requirement to cover the dynamically scaling EC2 fleet and the Lambda functions with flexibility to change instance families.
2
Determine the optimization option for the Amazon RDS database instance.
Amazon RDS does not support Savings Plans, so the only commitment-based discount mechanism available for RDS is a database Reserved Instance.
This requires purchasing an RDS Reserved Instance for the db.r6g.large database tier to reduce database costs.

Key Concept

Compute Savings Plans provide flexible coverage across EC2 and Lambda, whereas Amazon RDS requires database Reserved Instances as it is not covered by Savings Plans.
Rate this question