
Answer-first summary for fast verification
Answer: Use Amazon S3 and make code changes in the application so all uploads are put on S3
Use Amazon S3 and make code changes in the application so all uploads are put on S3 Amazon S3 is an object storage built to store and retrieve any amount of data from anywhere on the Internet. It’s a simple storage service that offers an extremely durable, highly available, and infinitely scalable data storage infrastructure at very low costs. Amazon S3 provides a simple web service interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web. Using this web service, you can easily build applications that make use of Internet storage. You can use S3 PutObject API from the application to upload the objects in a single bucket, which is then accessible from all instances. Incorrect options: Use Amazon EBS and configure the application AMI to use a snapshot of the same EBS instance while launching new instances - Using EBS to share data between instances is not possible because EBS volume is tied to an instance by definition. Creating a snapshot would only manage to move the stale data into the new instances. Use Instance Store type of EC2 instances and share the files via file synchronization software Use Amazon EBS as the storage volume and share the files via file synchronization software Technically you could use file synchronization software on EC2 instances with EBS or Instance Store type, but that involves a lot of development effort and still would not be as production-ready as just using S3. So both these options are incorrect.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A developer is in the process of migrating an application from an on-premises environment to the AWS Cloud. Currently, this application handles user file uploads and stores these uploads in a local directory on the server. The goal is to ensure that all uploaded files are stored and subsequently accessible to every instance within an Auto Scaling group.
As someone with AWS Developer Associate expertise, which of the following solutions would you recommend to fulfill this use-case?
A
Use Instance Store type of EC2 instances and share the files via file synchronization software
B
Use Amazon EBS as the storage volume and share the files via file synchronization software
C
Use Amazon EBS and configure the application AMI to use a snapshot of the same EBS instance while launching new instances
D
Use Amazon S3 and make code changes in the application so all uploads are put on S3
No comments yet.