An enterprise manages a multi-account environment under AWS Organizations with consolidated billing enabled. In one member account, a critical production workload consists of:
* An Amazon ECS on AWS Fargate application running 20 tasks continuously across three Availability Zones (AZs). Each task is configured with 4 vCPU and 16 GB of memory. CloudWatch metrics over the past 90 days show that CPU utilization averages , while memory utilization peaks at during daily traffic spikes.
* A stateful processing layer consisting of 6 self-managed EC2 instances in an Auto Scaling group running on `m6i.2xlarge` instances ( vCPU, GiB RAM) across two AZs. CloudWatch metrics show average CPU utilization at and memory utilization at , but the application experiences occasional, unpredictable network throughput bursts.
* Outbound internet traffic for both the ECS tasks and the EC2 instances is routed through a single NAT Gateway located in a public subnet in AZ-A to minimize running costs.
The company wants to optimize its infrastructure costs while maintaining high availability, ensuring performance during peak loads, and maximizing the discount from Savings Plans across the entire AWS Organization.
Which set of actions will achieve the maximum cost optimization while satisfying all availability and performance requirements?
- Downsize the Amazon ECS Fargate tasks to 2 vCPU and 16 GB of memory. Downsize the EC2 instances to `m6i.xlarge`. Deploy a NAT Gateway in each of the three Availability Zones and update the route tables. Purchase Compute Savings Plans at the AWS Organizations management account level with sharing enabled.Answer
- BDownsize the Amazon ECS Fargate tasks to 2 vCPU and 16 GB of memory. Downsize the EC2 instances to `m6i.xlarge`. Deploy a NAT Gateway in each of the three Availability Zones and update the route tables. Purchase EC2 Instance Savings Plans for the `m6i` family at the AWS Organizations management account level with sharing enabled.
- CDownsize the Amazon ECS Fargate tasks to 2 vCPU and 16 GB of memory. Downsize the EC2 instances to `m6i.xlarge`. Retain the single NAT Gateway in AZ-A to avoid additional NAT Gateway hourly charges. Purchase Compute Savings Plans at the AWS Organizations management account level with sharing enabled.
- DDownsize the Amazon ECS Fargate tasks to 2 vCPU and 16 GB of memory. Share the EC2 instances across the other member accounts using AWS Resource Access Manager (RAM) to consolidate idle capacity. Deploy a NAT Gateway in each of the three Availability Zones and update the route tables. Purchase Compute Savings Plans at the AWS Organizations management account level with sharing enabled.