StreamVibe is modernizing its legacy document-management application by migrating it to AWS. To minimize operational overhead, a solutions architect decides to deploy the containerized application on Amazon Elastic Container Service (Amazon ECS) using the AWS Fargate launch type. The application is distributed across three Availability Zones and requires a shared, persistent file system that supports simultaneous read and write operations with full POSIX-compliant file permissions. Which configuration should the solutions architect recommend to satisfy these requirements?
- Configure the ECS task definition to use the awsvpc network mode. Provision an Amazon Elastic File System (Amazon EFS) file system, and define an EFS volume in the task definition. Mount this volume to the container tasks, and utilize EFS Access Points to enforce POSIX permissions.Cevap
- BConfigure the ECS task definition to use the bridge network mode. Provision an Amazon Elastic File System (Amazon EFS) file system, and define an EFS volume in the task definition. Mount this volume to the container tasks, and utilize EFS Access Points to enforce POSIX permissions.
- CConfigure the ECS task definition to use the awsvpc network mode. Provision an Amazon Elastic Block Store (Amazon EBS) volume with Multi-Attach enabled. Configure the task definition to mount this EBS volume to the containers across the three Availability Zones.
- DConfigure the ECS task definition to use the awsvpc network mode. Provision an Amazon Simple Storage Service (Amazon S3) bucket and configure the task definition to run a FUSE-based file system driver to mount the bucket. Route outbound traffic through a single NAT Gateway located in a single public subnet.
Cevap
Configure the ECS task definition to use the awsvpc network mode, provision an Amazon EFS file system, define an EFS volume in the task definition, mount this volume to the container tasks, and utilize EFS Access Points to enforce POSIX permissions.
The correct configuration uses the awsvpc network mode, which is the only network mode supported by the AWS Fargate launch type. It uses Amazon Elastic File System (Amazon EFS) to provide shared, regional storage that supports concurrent read and write operations across multiple Availability Zones. The configuration also leverages EFS Access Points to enforce specific POSIX user and group IDs, meeting the application's file permissions requirements.
Adım Adım Çözüm
Anahtar Kavram
AWS Fargate network mode compatibility and regional shared persistent storage using Amazon EFS.