SAP-C02 · Question #620
A company is planning to migrate its on-premises transaction-processing application to AWS. The application runs inside Docker containers that are hosted on VMs in the company's data center. The…
The correct answer is B. Migrate the containers that run the application to AWS Fargate for Amazon Elastic Container. To migrate Docker containers with shared, low-latency, scalable storage without managing the Docker environment or rewriting the application, deploy to AWS Fargate for ECS with Amazon EFS.
Question
A company is planning to migrate its on-premises transaction-processing application to AWS. The application runs inside Docker containers that are hosted on VMs in the company's data center. The Docker containers have shared storage where the application records transaction data. The transactions are time sensitive. The volume of transactions inside the application is unpredictable. The company must implement a low-latency storage solution that will automatically scale throughput to meet increased demand. The company cannot develop the application further and cannot continue to administer the Docker hosting environment. How should the company migrate the application to AWS to meet these requirements?
Options
- AMigrate the containers that run the application to Amazon Elastic Kubernetes Service (Amazon
- BMigrate the containers that run the application to AWS Fargate for Amazon Elastic Container
- CMigrate the containers that run the application to AWS Fargate for Amazon Elastic Container
- DLaunch Amazon EC2 instances. Install Docker on the EC2 instances. Migrate the containers to
How the community answered
(32 responses)- A6% (2)
- B56% (18)
- C25% (8)
- D13% (4)
Why each option
To migrate Docker containers with shared, low-latency, scalable storage without managing the Docker environment or rewriting the application, deploy to AWS Fargate for ECS with Amazon EFS.
Amazon Elastic Kubernetes Service (EKS) provides container orchestration but requires more management overhead than Fargate for simpler deployments, and it doesn't inherently solve the shared storage scaling issue, though it can integrate with EFS.
AWS Fargate for Amazon ECS allows running Docker containers without managing the underlying EC2 instances, meeting the 'cannot administer Docker hosting environment' requirement. Amazon EFS provides a scalable, low-latency, shared file system that automatically scales throughput and capacity, which is suitable for the transactional application's shared storage needs and meets the 'cannot develop the application further' constraint by providing a familiar file interface.
Using Amazon S3 for shared storage is inappropriate for a transactional application that requires a file system interface with low-latency access to transaction data; S3 is object storage and lacks the file system semantics necessary.
Launching Amazon EC2 instances and installing Docker on them directly contradicts the requirement that the company 'cannot continue to administer the Docker hosting environment' as it places the burden of VM and Docker management on them.
Concept tested: Container migration with Fargate and EFS
Source: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_efs.html
Community Discussion
No community discussion yet for this question.