A healthcare SaaS provider is modernizing its on-premises, queue-driven DICOM image-processing application to AWS. The architecture must run on a serverless container platform to minimize operational overhead and automatically scale down to zero during periods of inactivity. Security and compliance requirements dictate that:
1. Each container task must have a dedicated private IP address and Elastic Network Interface (ENI) to allow granular security group configurations at the individual task level.
2. Ephemeral storage utilized by the container task to stage large medical images must be encrypted using a Customer Managed Key (CMK) in AWS KMS to satisfy HIPAA audit requirements.
3. The container tasks must resolve on-premises database hostnames via a Route 53 Private Hosted Zone (PHZ) hosted in a centralized shared services AWS account.
4. Outbound connectivity to the on-premises database must traverse an AWS Transit Gateway and must be resilient to Availability Zone failures without routing outbound public traffic through a single NAT Gateway.
Which of the following architectures meets these requirements while minimizing operational overhead?
- ADeploy the workload on Amazon ECS using AWS Fargate. Configure the ECS task definition to use bridge network mode to allow local container port mapping. Enable ephemeral storage encryption using the AWS-managed KMS key for Amazon ECS in the task definition. Associate the centralized Route 53 PHZ with the ECS VPC. Deploy NAT Gateways in each Availability Zone where tasks are running, and route all on-premises database traffic through the Transit Gateway.
- Deploy the workload on Amazon ECS using AWS Fargate (Platform Version 1.4.0 or later). Define the ECS tasks to use awsvpc network mode. Configure the ECS cluster setting to use a customer managed KMS key for Fargate ephemeral storage encryption. Associate the centralized Route 53 PHZ in the shared services account with the ECS VPC. Deploy a NAT Gateway in each Availability Zone containing the task subnets, and configure the local route tables to point on-premises traffic to the Transit Gateway attachment.Cevap
- CDeploy the workload on Amazon ECS using AWS Fargate with awsvpc network mode. Configure ephemeral storage encryption at the ECS cluster level using a customer managed KMS key. Rely on Transit Gateway routing to automatically propagate the Route 53 PHZ DNS resolution from the shared services VPC to the ECS VPC without explicit VPC association. Deploy a single NAT Gateway in a public subnet to handle all egress traffic.
- DDeploy the workload on Amazon ECS using AWS Fargate with awsvpc network mode. Configure the task definition's ephemeral storage settings to use the default AWS-managed KMS key and update its key policy to grant audit read access to the compliance team. Associate the centralized Route 53 PHZ with the ECS VPC. Deploy NAT Gateways in each Availability Zone where tasks are running and route traffic through the Transit Gateway.