A logistics corporation is migrating its containerized supply-chain optimization suite to AWS. The suite will run on Amazon ECS using AWS Fargate and consists of three primary workloads:
1. A core dispatch coordination engine that runs , requiring a constant baseline of and of RAM.
2. A route-recalculation batch process that runs for hours daily ( to UTC). This process is highly parallelizable, state-resilient, and can resume from checkpoints if interrupted.
3. A continuous, non-interruptible inventory sync process that monitors external warehouse API streams, requiring a steady and of RAM.
The database tier utilizes a production Amazon Aurora PostgreSQL cluster that runs continuously with a predictable database load. The route-recalculation process also downloads terabytes of historical logs from Amazon S3 and writes results to Aurora.
Which architecture and purchasing strategy provides the most cost-optimized compute and data transfer solution while meeting all workload SLAs?
- Implement ECS Fargate with a Compute Savings Plan sized to cover the combined baseline of the dispatch coordination engine and the inventory sync process. Execute the route-recalculation batch tasks using the ECS Fargate Spot capacity provider, establish an Amazon S3 Gateway VPC Endpoint to bypass NAT Gateway data transfer charges, and purchase Aurora Reserved DB Instances for the database cluster.Answer
- BPurchase a Compute Savings Plan with a commitment level sized to cover the dispatch coordination engine, the inventory sync process, and the Amazon Aurora PostgreSQL database instance hours. Deploy the route-recalculation batch tasks on ECS Fargate Spot, and route all S3 traffic through a NAT Gateway for secure internal data transfer.
- CMigrate the 24/7 dispatch coordination engine and continuous inventory sync process to AWS Lambda functions to eliminate idle compute charges. Run the route-recalculation batch tasks on ECS Fargate Spot, and purchase an EC2 Instance Savings Plan to cover the Lambda execution costs.
- DImplement ECS Fargate with a Compute Savings Plan to cover the dispatch coordination engine and the inventory sync process. Execute the route-recalculation batch tasks using the ECS Fargate Spot capacity provider. Route all S3 logging traffic through a NAT Gateway, and purchase Aurora Reserved DB Instances.