Soru

Zorluk: KolayModernizing Workloads using Containers (ECS and EKS)

CloudCart, an e-commerce startup, is migrating its legacy monolithic shopping cart application to AWS. The development team has decided to containerize the application and run it on Amazon Elastic Container Service (Amazon ECS) using the AWS Fargate launch type to minimize operational overhead. During task definition configuration, the team is selecting the network mode for the task. Which network mode must the team configure in the Amazon ECS task definition to deploy this containerized application on AWS Fargate?

  1. awsvpcCevap
  2. B
    bridge
  3. C
    host
  4. D
    none

Cevap

The correct network mode is awsvpc, as AWS Fargate requires the awsvpc network mode to allocate an elastic network interface (ENI) directly to each running task.
AWS Fargate only supports the awsvpc network mode. In this mode, every task execution receives its own dedicated Elastic Network Interface (ENI) and private IPv4 address, ensuring security group isolation and simple network configuration similar to EC2 instances.

Adım Adım Çözüm

1
Identify the hosting platform and launch type selected for the containerized application.
The application will run on Amazon ECS with the AWS Fargate launch type.
Fargate has specific architectural constraints regarding network modes.
2
Evaluate the supported network modes for AWS Fargate task definitions.
Fargate only supports the awsvpc network mode.
Fargate manages the underlying infrastructure and assigns a dedicated Elastic Network Interface (ENI) to each task rather than sharing a host interface.

Anahtar Kavram

AWS Fargate Networking Modes
Bu soruyu puanla