AWS Certified Solutions Architect - Professional Exam: Migrate LAMP Stack to AWS | Recommended AWS Services and Approach |

Migrate LAMP Stack to AWS

Prev Question Next Question

Question

You have owned a two-tier LAMP stack in a local data center.

The stack has a frontend of Apache and PHP and a backend database running on MySQL.

The whole system is hosted on a virtualized platform, and you need to migrate the system to AWS in two weeks.

You plan to use AWS provided migration services to migrate MySQL database to RDS Aurora and on-premise virtual machines (managed by VMware vSphere) to EC2

Which AWS services should be used? (Select TWO.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answer - A, D.

This case aims to find out the proper AWS tools to help with the migrations for its two tiers application and database.

For the database, AWS Database Migration Service should be chosen to easily replicate the database to an RDS instance of Amazon Aurora which is a MySQL compliant database.

Check https://docs.aws.amazon.com/dms/latest/sbs/CHAP_MySQL2Aurora.html on how to migrate a MySQL-compatible database to Amazon Aurora MySQL.

For the application, AWS Server Migration Service should be used because it is designed to automate the migration of on-premises VMware vSphere or Microsoft Hyper-V/SCVMM virtual machines to the AWS Cloud.

The service can replicate the VM to an AMI for deployment on Amazon EC2.

Option A is CORRECT: Because it is used to migrate the database to RDS Aurora.

Option B is incorrect: The service can be used to discover the existing servers, plan migrations, and track the status.

However, the migration tools of Database Migration Service and Server Migration Service are still needed.

AWS Migration Hub is not necessary for this case.

Option C is incorrect: Because AWS Snowball is a service to copy a large amount of data rather than migrate applications or databases.

Option D is CORRECT: Because AWS Server Migration Service is the correct AWS service to migrate applications.

Option E is incorrect: AWS Application Discovery Service can collect data in local data centers, including system specification, performance, dependencies, and other useful information.

It is not mentioned or required for this case.

The correct answers are A (AWS Database Migration Service) and D (AWS Server Migration Service).

AWS Database Migration Service (AWS DMS) is a fully managed service that helps migrate databases to AWS quickly and securely. In this scenario, the MySQL database can be migrated to Amazon RDS Aurora using AWS DMS. AWS DMS can also migrate other types of databases, such as Oracle, Microsoft SQL Server, PostgreSQL, and MongoDB.

AWS Server Migration Service (AWS SMS) is a service that helps migrate on-premises virtual machines to AWS. In this scenario, the on-premises virtual machines running Apache and PHP can be migrated to Amazon EC2 instances using AWS SMS. AWS SMS can also migrate other types of virtual machines, such as those managed by VMware vSphere, Microsoft Hyper-V, and other virtualization platforms.

AWS Migration Hub (B) is a service that provides a single place to track the status of application migrations across multiple AWS and partner solutions. It can be useful for managing large-scale migrations but is not required for this specific scenario.

AWS Snowball (C) is a service that is used to transfer large amounts of data into and out of AWS using physical storage devices. It is not needed for this scenario since the migration can be accomplished over the network.

AWS Application Discovery Service (E) is a service that helps to discover and inventory on-premises applications and infrastructure dependencies. It is not needed for this scenario since the application components to be migrated are already known.