A logistics company is optimizing the deployment costs of its application portfolio on AWS. The portfolio consists of the following workloads:
- A legacy enterprise resource planning (ERP) system hosted on Amazon EC2 instances that must run and cannot tolerate any service interruptions.
- A batch image-transcoding application hosted on AWS Fargate that processes files uploaded throughout the day, where tasks can be interrupted and retried without affecting the final output.
- A set of AWS Lambda functions that execute periodically to process API event requests.
- An Amazon RDS for PostgreSQL database instance that stores transactional data and must remain online continuously.
Which strategy should a solutions architect recommend to achieve the most cost-effective solution?
- Purchase a Compute Savings Plan to cover the Amazon EC2 instances and AWS Lambda functions. Configure the AWS Fargate tasks for the image-transcoding application to use the Fargate Spot capacity provider. Purchase an Amazon RDS Reserved Instance for the PostgreSQL database.Answer
- BPurchase a single Compute Savings Plan to cover the Amazon EC2 instances, AWS Lambda functions, and the Amazon RDS for PostgreSQL database. Configure the AWS Fargate tasks for the image-transcoding application to use the Fargate Spot capacity provider.
- CPurchase an EC2 Instance Savings Plan to cover the Amazon EC2 instances and the Amazon RDS for PostgreSQL database. Purchase a Compute Savings Plan to cover the AWS Lambda functions and the AWS Fargate tasks for the image-transcoding application.
- DMigrate the PostgreSQL database from Amazon RDS to run continuously as a containerized database within AWS Lambda functions configured with provisioned concurrency. Purchase a Compute Savings Plan to cover the Amazon EC2 instances, Fargate tasks, and Lambda functions.