View a markdown version of this page

Quick start guide for AWS Transform MGN - AWS Transform MGN

Quick start guide for AWS Transform MGN

This quick start is a high-level checklist of the AWS Transform MGN migration flow. Each step links to the detailed instructions for that step. For a one-page overview of the migration flow, see Migration workflow.

Before you begin

Before you start the migration, make sure that:

The following diagram shows the network architecture for AWS Transform MGN.

Data replication from corporate data center through AWS Replication Agent to staging area and migrated resources in AWS.

The service is free for each server for 2,160 hours, which is 90 days when used continuously, but you pay for the AWS resources you provision during the migration. Learn more about costs during migration.

Step 1: Initialize the service

AWS Transform MGN must be initialized in each AWS Region in which you plan to use it. When you initialize MGN with the console, the initialization process creates your replication template, which determines how data is replicated from your source servers to AWS.

Learn more about initializing MGN with the console and the replication template.

Step 2: Add source servers

Add source servers to AWS Transform MGN by installing the AWS Replication Agent on them.

How you know you're done: in the Source servers list, the Migration lifecycle column shows Not ready while the initial sync runs, and changes to Ready for testing when the initial sync is complete. The Data replication status column shows Healthy when all data has been copied and changes are replicated continuously.

Learn more about adding source servers, installing the AWS Replication Agent, and the migration lifecycle.

Step 3: Review launch settings

Launch settings determine how a test or cutover instance is launched for each source server in AWS. AWS Transform MGN creates them automatically, including the Amazon EC2 launch template, each time you add a source server, and you can modify them at any time.

Learn more about launch settings and reviewing launch settings for a source server.

Step 4: Launch and validate test instances

Launch test instances to verify that your source servers function properly in AWS before you initiate a cutover.

What you do:

  • Check that the server shows Ready for testing and Healthy, then choose Test and cutover, then under Testing, choose Launch test instances.

  • Connect to each test instance with SSH (Linux) or RDP (Windows), validate connectivity, and run acceptance tests for your application.

  • When testing is complete, choose Test and cutover, then under Testing, choose Mark as "Ready for cutover".

How you know you're done: the Migration lifecycle column changes from Test in progress to Ready for cutover.

Tip

You can test as many times as you need. Each new test replaces the previous test instance, and data replication continues. You are billed for test instances, so terminate them when you no longer need them.

Learn more about launching test instances and marking servers as Ready for cutover.

Step 5: Launch cutover instances

After you finalize testing for your source servers, launch cutover instances at a set date and time. The cutover migrates your source servers to the cutover instances in AWS.

What you do:

  • Confirm that the server shows Ready for cutover, that Data replication status is Healthy, and that there is no lag.

  • Stop all operational services on the source server. We recommend that you shut down the source server so that it doesn't drift from the cutover instance. Don't reboot source servers before the cutover.

  • Choose Test and cutover, then under Cutover, choose Launch cutover instances.

  • Connect to the cutover instances with SSH or RDP and validate your application.

How you know you're done: the Migration lifecycle column shows Cutover in progress.

Learn more about launching cutover instances.

Step 6: Complete the migration

After you confirm that the cutover instance works as expected, finalize the cutover. Then disconnect the source server from AWS Transform MGN, and archive or delete the source server.

Important

Don't disconnect a source server until the cutover instance works correctly. You might need to fall back to the source server, and restarting replication requires reinstalling the agent.

What you do:

  • Choose Test and cutover, then choose Finalize cutover. This stops data replication, discards replicated data, terminates replication resources, and sends the AWS Replication Agent a command to uninstall itself (typically up to 10 minutes).

  • Choose Actions, then choose Disconnect from service.

  • Choose Actions, then choose Mark as archived.

How you know you're done: after you finalize the cutover, the Migration lifecycle column shows Cutover complete, and the Next step column shows Mark as archived.

Learn more about managing source servers after migration, including how to finalize the cutover, disconnect the source server, and archive the source server.