An enterprise manages a multi-account environment under AWS Organizations with consolidated billing enabled. In member Account A, the production environment runs a containerized microservice on Amazon ECS on AWS Fargate that scales dynamically throughout the day, and several AWS Lambda functions that process real-time streaming data. In member Account B, a legacy application runs on Amazon EC2 instances 24/7 with a constant baseline CPU utilization of . The solutions architect needs to optimize resource costs for these workloads while maximizing the savings rate. Which two options represent the most cost-effective and architecturally sound actions to achieve this objective?
- Purchase Compute Savings Plans in the payer account of the organization to cover the Amazon ECS on AWS Fargate tasks and AWS Lambda functions.Answer
- Purchase EC2 Instance Savings Plans in Account B for the instance family in the target AWS Region to cover the legacy application servers.Answer
- CPurchase EC2 Instance Savings Plans in the payer account to cover the dynamically scaling Amazon ECS on AWS Fargate tasks and AWS Lambda functions.
- DUse AWS Resource Access Manager (RAM) to share the Amazon EC2 instances in Account B with the payer account, and purchase EC2 Instance Savings Plans in the payer account.
- EConsolidate the outbound internet traffic from both Account A and Account B through a single NAT Gateway in Account B to minimize hourly NAT charges.
Answer
The most cost-effective and architecturally sound actions are to purchase Compute Savings Plans in the payer account to cover the AWS Fargate and AWS Lambda workloads, and to purchase EC2 Instance Savings Plans in Account B for the instance family in the target AWS Region to cover the legacy application servers.
Purchasing Compute Savings Plans in the payer account allows the discount to automatically apply to the dynamically scaling ECS Fargate tasks and Lambda functions in Account A. Purchasing EC2 Instance Savings Plans in Account B for the instance family provides the maximum discount for the steady-state, 24/7 legacy EC2 instances. Buying them in the specific member account ensures the local instances consume the commitment first before any excess is shared.
Step-by-Step Solution
Key Concept
Optimizing compute costs by combining Compute Savings Plans for dynamic, serverless workloads with EC2 Instance Savings Plans for steady-state, family-specific EC2 instances across a multi-account organization.