An events company runs a ticketing platform on AWS. The company's customers configure and schedule their events on the platform The events result in large increases of traffic to the platform The company knows the date and time of each customer's events
The company runs the platform on an Amazon Elastic Container Service (Amazon ECS) cluster The ECS cluster consists of Amazon EC2 On-Demand Instances that are in an Auto Scaling group. The Auto Scaling group uses a predictive scaling policy
The ECS cluster makes frequent requests to an Amazon S3 bucket to download ticket assets The ECS cluster and the S3 bucket are in the same AWS Region and the same AWS account Traffic between the ECS cluster and the S3 bucket flows across a NAT gateway
The company needs to optimize the cost of the platform without decreasing the platform's availability
Which combination of steps will meet these requirements? (Select TWO)
Gateway VPC Endpoint for S3:
Create a gateway VPC endpoint for Amazon S3 in your VPC. This allows instances in your VPC to communicate with Amazon S3 without going through the internet, reducing data transfer costs and improving security.
Add Spot Instances to ECS Cluster:
Add another ECS capacity provider that uses an Auto Scaling group of Spot Instances. Configure this new capacity provider to share the load with the existing On-Demand Instances by setting an appropriate weight in the capacity provider strategy. Spot Instances offer significant cost savings compared to On-Demand Instances.
Configure Capacity Provider Strategy:
Adjust the ECS service's capacity provider strategy to utilize both On-Demand and Spot Instances effectively. This ensures a balanced distribution of tasks across both instance types, optimizing cost while maintaining availability.
By implementing a gateway VPC endpoint for S3 and incorporating Spot Instances into the ECS cluster, the company can significantly reduce operational costs without compromising on the availability or performance of the platform.
Reference
AWS Cost Optimization Blog on VPC Endpoints
AWS ECS Documentation on Capacity Providers
Callie
2 months agoFiliberto
1 months agoLouvenia
1 months agoFreida
2 months agoBoris
3 months agoStefan
3 months agoBeckie
3 months agoFarrah
2 months agoRasheeda
3 months agoAnnabelle
3 months agoJacqueline
3 months agoAlexia
3 months agoFrank
3 months agoSusy
4 months agoStefan
4 months ago