A financial services firm wants to migrate its containerized risk-simulation engine from an on-premises datacenter to AWS. The workload runs in a highly bursty manner and requires strict network isolation to comply with security regulations. The firm decides to deploy the workload using Amazon ECS on AWS Fargate. To ensure high availability, compliance, and proper functionality of the tasks in private subnets, which of the following networking and deployment configurations should the solutions architect implement? (Select TWO.)
- Configure the Amazon ECS task definitions to use the awsvpc network mode.Cevap
- Create interface VPC endpoints (AWS PrivateLink) for Amazon ECS and Amazon ECR in the VPC to allow tasks to pull images and communicate with the control plane without traversing the public internet.Cevap
- CConfigure the Amazon ECS task definitions to use the host network mode to maximize network throughput and minimize latency.
- DConfigure a single NAT Gateway in one public subnet to route all outbound internet traffic from the ECS tasks distributed across three Availability Zones.
- ECreate a Route 53 Private Hosted Zone for service discovery in a centralized shared services account without associating it with the application VPC where the Fargate tasks run.
Cevap
The correct configuration involves configuring the task definitions to use the awsvpc network mode and creating interface VPC endpoints (AWS PrivateLink) for Amazon ECS and Amazon ECR in the application VPC.
The correct design configurations are configuring the task definitions to use the awsvpc network mode and deploying interface VPC endpoints (AWS PrivateLink) for ECS and ECR in the VPC. Since AWS Fargate tasks require the awsvpc networking mode, configuring this mode is mandatory for container deployment on Fargate. Creating interface endpoints ensures that all container image retrieval and orchestration API traffic remain within the AWS network backbone, adhering to strict compliance and network isolation rules.
Adım Adım Çözüm
Anahtar Kavram
AWS Fargate networking constraints and private endpoint architecture for secure container modernization