Lifecycle - Application Migration Service

Lifecycle

The Lifecycle view shows the current state of each server within the migration lifecycle.

Lifecycle states include:

  • Not ready – The server is undergoing the Initial Sync process and is not yet ready for testing. Data replication can only commence once all of the Initial Sync steps have been completed.

  • Ready for testing – The server has been successfully added to AWS Application Migration Service and data replication has started. Test or cutover instances can now be launched for this server.

  • Test in progress – A test instance is currently being launched for this server.

  • Ready for cutover – This server has been tested and is now ready for a cutover instance to be launched.

  • Cutover in progress – A cutover instance is currently being launched for this server.

  • Cutover complete – This server has been cutover. All of the data on this server has been migrated to the cutover instance.

The lifecycle always displays the Launch status, Last test, and Cutover status for each server that has undergone these stages.

Not ready

The Not ready lifecycle state represents several possible scenarios:

Server undergoing initial sync

A source server that has been added to AWS Application Migration Service will automatically begin the initial sync process after AWS Replication Agent installation.

Data replication can only commence after all of the initial sync steps have been completed. The server will be in the Not ready lifecycle state until initial sync has been successfully completed.

Initial sync steps include:

  • Initiation

    • Creating firewall rules

    • Creating replication server

    • Booting replication server

    • Resolving Service Manager address

    • Authenticating with the Service Manager

    • Downloading replication software

    • Creating staging disks

    • Pairing replication server with agent

    • Establishing communication between AWS Replication Agent and replication server

  • Sync (0% to 100%)

  • Flush backlog (if any)

  • Create first launchable snapshot

You can review the overall progress of the Initial Sync process under the Data replication status view.

It provides the percentage of completion, the time left until initial sync is finished, and whether there are any issues (such as a stall).

You can tell that a server has successfully completed the initial sync process through several indicators on the main Source servers page as well as on the Migration dashboard tab for an individual server.

On the main Source servers page, a newly added server that has completed initial sync for the first time will show Ready for testing under the Migration lifecycle column and Healthy under the Data replication status column.

On the individual server view, under the Migration dashboard tab, the Lifecycle section will show the Ready for testing status. The Data replication status section will show the Healthy status.

Note

Servers will automatically undergo initial sync every time there is a network disconnect.

Unable to complete initiation

The server will be in the Not ready Lifecycle state until Initial Sync has been successfully completed.

If the Initial Sync process is stalled for any reason, the Data replication status section will indicate that replication has stalled.

Scroll down to the Replication initiation steps to see the step on which the error occurred. The step on which initial sync failed will be marked with a red "x".

You must fix the indicated issue before the initial sync process can continue. You will not be able to migrate your server and the server will remain in the Not ready state until the issue is resolved.

Each step has unique troubleshooting methods.

Ready for testing

Once the server has successfully completed the Initial Sync process, it will enter the Ready for testing lifecycle state.

The Data replication status box will show a Healthy state, indicating that the server is healthy.

You can now launch a test instance for this server. The server will stay in the Ready for testing lifecycle state until you launch a Test instance for the server.

Test in progress

Once you have launched a Test instance for your server, the migration dashboard will show the Test in progress lifecycle state.

Within the Lifecycle box, you can review the Launch status and Last test information fields for the test instance.

  • The Launch status field will show the time of the test instance launch. While the Testing instance is being launched, the Launch status field will show Waiting.

  • Once the test instance has been launched, the Launch status will show Launched. Wait for the instance to boot and then choose View in EC2 console link to open the EC2 Console in a new tab, in order to view and monitor your launched test instance.

  • The AWS EC2 Console will open in a new tab and will automatically search for and display your test instance.

  • The Last test field will show the date of the last test. To review the test launch details, click Job ID, which will open the job within the Launch History page in a new tab.

  • On the main Source servers page, the Migration lifecycle column will show Ready for testing and the Next step column will show Launch test instance.

  • The server will stay in the Test in progress Lifecycle state until you finalize your testing and mark the server as Ready for cutover.

You can use the following indicators to verify that your test instance was successfully launched::

  • On the Server Details > Lifecycle pane, the Launch status will state Launched.

  • On the main Source servers page, the Alerts column will show the Launched status.

Ready for cutover

After you have finalized your testing, the Migration dashboard will show the Ready for cutover lifecycle state.

  • The Launch status field will show the time of the last test instance launch. Click on the View in EC2 console link to open the EC2 Console in a new tab in order to view and monitor your launched Test instance.

  • The Last test field will show the date the last test was started. You can review the test launch details by clicking on the Job ID. This will open the relevant Job.

  • The Cutover field will show the date of the last cutover instance launch, if applicable. You can review the cutover launch details by clicking on the Job ID. This will open the relevant Job.

  • On the Source servers page, the Migration lifecycle column will show Ready for cutover and the Next step column will show Terminate test instance; Launch cutover instance.

The server will stay in the Ready for cutover Lifecycle state until you launch a cutover instance.

Cutover in progress

Once you have launched a cutover instance for your server, the Migration dashboard will show the Cutover in progress Lifecycle state.

  • The Launch status field will show the last time of cutover launch. Click on the View in EC2 console link to open the EC2 Console in a new tab in order to view and monitor your launched cutover instance.

  • The Last test field will show the date the last test was started. You can review the test launch details by clicking on the Job ID. This will open the Job.

  • The Cutover field will show the date of the last cutover instance launch. You can review the cutover launch details by clicking on the Job ID. This will open the Job.

  • On the Source servers page, the Migration lifecycle column will show Cutover in progress and the Next step column will show Complete the cutover.

The server will stay in the Cutover in progress Lifecycle state until you complete the cutover.

Cutover complete

Once you have completed your cutover instance launch for your server, the Migration dashboard will show the Cutover complete lifecycle state. This is the final state in the migration lifecycle. This state indicates that you have successfully migrated your source server to AWS.

  • The Launch status field will show Launched. Click on the View in EC2 console link to open the EC2 Console in a new tab in order to view and monitor your launched cutover instance.

  • The Last test field will show the date the last test was started. You can review the test launch details by clicking on the Job ID. This will open the Job.

  • The Cutover field will show the date you finalized your Cutover instance launch. You can review the cutover launch details by clicking on the Job ID. This will open the Job.

  • The AWS Application Migration Service Console will automatically stop data replication for the source servers that were cutover in order to save resource costs.

  • On the Source servers page, the selected source servers' Migration lifecycle column will show the Cutover complete status, the Data replication status column will show Disconnected and the Next step column will show Mark as archived.

The lifecycle also shows the status of any post-launch actions for the server. Learn more about post-launch actions.