Learn how to migrate an on-premises application to AWS with minimal operational overhead using AWS Amplify, a powerful suite for building, deploying, and hosting modern web applications.
Table of Contents
Question
A company runs an application in an on-premises data center. The application gives users the ability to upload media files. The files persist in a file server. The web application has many users. The application server is overutilized, which causes data uploads to fail occasionally. The company frequently adds new storage to the file server. The company wants to resolve these challenges by migrating the application to AWS.
Users from across the United States and Canada access the application. Only authenticated users should have the ability to access the application to upload files. The company will consider a solution that refactors the application, and the company needs to accelerate application development.
Which solution will meet these requirements with the LEAST operational overhead?
A. Use AWS Application Migration Service to migrate the application server to Amazon EC2 instances. Create an Auto Scaling group for the EC2 instances. Use an Application Load Balancer to distribute the requests. Modify the application to use Amazon S3 to persist the files. Use Amazon Cognito to authenticate users.
B. Use AWS Application Migration Service to migrate the application server to Amazon EC2 instances. Create an Auto Scaling group for the EC2 instances. Use an Application Load Balancer to distribute the requests. Set up AWS IAM Identity Center (AWS Single Sign-On) to give users the ability to sign in to the application. Modify the application to use Amazon S3 to persist the files.
C. Create a static website for uploads of media files. Store the static assets in Amazon S3. Use AWS AppSync to create an API. Use AWS Lambda resolvers to upload the media files to Amazon S3. Use Amazon Cognito to authenticate users.
D. Use AWS Amplify to create a static website for uploads of media files. Use Amplify Hosting to serve the website through Amazon CloudFront. Use Amazon S3 to store the uploaded media files. Use Amazon Cognito to authenticate users.
Answer
D. Use AWS Amplify to create a static website for uploads of media files. Use Amplify Hosting to serve the website through Amazon CloudFront. Use Amazon S3 to store the uploaded media files. Use Amazon Cognito to authenticate users.
Explanation
This solution leverages AWS Amplify, which is a comprehensive set of tools and services for building, deploying, and hosting modern web applications. By using Amplify, the company can refactor their application as a static website, which is highly scalable and requires minimal operational overhead.
Here’s a detailed explanation of how this solution addresses the requirements:
- Static Website for Uploads: AWS Amplify provides a straightforward way to create a static website for file uploads. This eliminates the need for an application server, which was causing issues with overutilization and failed uploads.
- Amplify Hosting and Amazon CloudFront: Amplify Hosting automatically deploys the static website to Amazon CloudFront, a highly available and scalable content delivery network (CDN). This ensures low-latency access for users across the United States and Canada.
- Amazon S3 for File Storage: AWS Amplify seamlessly integrates with Amazon S3 for storing uploaded media files. S3 provides highly durable, scalable, and cost-effective object storage, eliminating the need for the company to manage their own file server.
- Amazon Cognito for User Authentication: AWS Amplify integrates with Amazon Cognito, a robust user authentication and authorization service. This ensures that only authenticated users can access the application and upload files, meeting the company’s security requirements.
- Accelerated Application Development: AWS Amplify provides a comprehensive set of tools, libraries, and services that accelerate the development of modern web applications. This aligns with the company’s need to refactor the application and expedite development.
By leveraging AWS Amplify, this solution minimizes operational overhead by eliminating the need for managing application servers, load balancers, and auto-scaling groups. Additionally, it offloads file storage and user authentication to fully managed AWS services, reducing the operational burden on the company.
Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Professional SAP-C02 exam and earn Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification.