Soru

Zorluk: ZorOptimizing Resource Costs and Sizing

An enterprise manages a multi-account environment under AWS Organizations with consolidated billing enabled. The architecture includes two member accounts with the following workloads:

* Account A (Production): Runs a web application on Amazon ECS using AWS Fargate. Analysis of the Fargate tasks reveals they are configured with 4 vCPU4\text{ vCPU} and 16 GB16\text{ GB} of memory. Over the past 30 days30\text{ days}, Amazon CloudWatch metrics show that the average CPU utilization is consistently at 15%15\% and peak memory utilization is 3.2 GB3.2\text{ GB}. The account also utilizes high-volume AWS Lambda functions for event-driven background processing.

* Account B (Development): Runs a fleet of Amazon EC2 instances (m6i.xlargem6i.xlarge) that operate 24/724/7. Analysis shows these instances have an average CPU utilization of 20%20\% and memory utilization never exceeds 4 GB4\text{ GB}. The development team wants to retain the instance types but apply Savings Plans to reduce compute costs.

The Solutions Architect must optimize the resource costs and sizing across these accounts while maintaining high availability for the production workloads.

Which of the following actions should the Solutions Architect recommend to achieve these objectives? (Select TWO.)

  1. Downsize the Amazon ECS Fargate tasks in Account A to 1 vCPU1\text{ vCPU} and 4 GB4\text{ GB} of memory based on the analyzed utilization metrics.Cevap
  2. Purchase a Compute Savings Plan in the AWS Organizations management account to automatically apply discounts to the EC2 instances, Fargate tasks, and Lambda functions across both member accounts.Cevap
  3. C
    Purchase EC2 Instance Savings Plans for the m6im6i family in the management account to cover the EC2 instances in Account B and the Fargate tasks in Account A.
  4. D
    Route all outbound internet traffic from Account B through a single NAT Gateway deployed in a single Availability Zone in Account A to minimize NAT Gateway hourly provisioning costs.
  5. E
    Use AWS Resource Access Manager (RAM) to share subnets from Account A's VPC to Account B, allowing direct container communication and bypassing transit charges, without enabling organizational sharing in AWS Organizations settings.

Cevap

Right-size the Amazon ECS Fargate tasks in Account A to 1 vCPU1\text{ vCPU} and 4 GB4\text{ GB} of memory, and purchase a Compute Savings Plan in the AWS Organizations management account.
Right-sizing the Amazon ECS Fargate tasks to 1 vCPU1\text{ vCPU} and 4 GB4\text{ GB} of memory aligns resource allocation with the measured peak memory (3.2 GB3.2\text{ GB}) and average CPU utilization (0.6 vCPU0.6\text{ vCPU}), generating immediate cost reduction without impacting performance. Purchasing a Compute Savings Plan at the AWS Organizations management account level allows the savings discount to distribute dynamically across all member accounts. Because the environment features a mix of EC2 instances, ECS Fargate tasks, and Lambda functions, a Compute Savings Plan is the only savings type that covers all three compute services, maximizing the overall financial benefit.

Adım Adım Çözüm

1
Analyze Fargate utilization metrics in Account A.
Identify that average CPU utilization (15%15\% of 4 vCPU=0.6 vCPU4\text{ vCPU} = 0.6\text{ vCPU}) and peak memory (3.2 GB3.2\text{ GB}) can be accommodated by a 1 vCPU1\text{ vCPU} and 4 GB4\text{ GB} task configuration.
This right-sizes the compute resources, reducing waste while maintaining safe overhead and complying with Fargate task configuration limits.
2
Evaluate the different Savings Plan options for the multi-account architecture.
Determine that Compute Savings Plans apply to EC2, Fargate, and Lambda, whereas EC2 Instance Savings Plans only apply to EC2.
Since the workload contains Fargate tasks and Lambda functions in addition to EC2 instances, Compute Savings Plans provide the necessary flexibility to cover all these resources.
3
Determine the purchasing location for the Savings Plan.
Select the management account of the AWS Organization to leverage consolidated billing and share the savings across all member accounts.
Purchasing at the management account level allows the benefit of the Compute Savings Plan to automatically float and apply to eligible usage in any member account.

Anahtar Kavram

Compute Resource Sizing and Savings Plans Optimization under AWS Organizations
Bu soruyu puanla