Post

How to migrate local Application to AWS

migration

What Is AWS Application Migration Service?

AWS Application Migration Service (MGN) is a highly automated lift-and-shift (rehost) solution that simplifies, expedites, and reduces the cost of migrating applications to AWS. It allows companies to lift-and-shift a large number of physical, virtual, or cloud servers without compatibility issues, performance disruption, or long cutover windows. MGN replicates source servers into your AWS account. When you’re ready, it automatically converts and launches your servers on AWS so you can quickly benefit from the cost savings, productivity, resilience, and agility of the Cloud. Once your applications are running on AWS, you can leverage AWS services and capabilities to quickly and easily replatform or refactor those applications – which makes lift-and-shift a fast route to modernization.

MGN

Migrating to AWS: A Step-by-Step Guide

AWS MGN is the recommended service for migrating applications to AWS without modifying them. Here’s a simplified guide:

diagram

1. Getting Started

  • Ensure you meet the network requirements.
  • Create IAM User for the agent.
  • In the AWS MGN console, create a replication settings template.

template

2. Adding Source Servers

  • Install the AWS MGN Replication Agent on your source servers (Linux or Windows).

agent

  • The agent will be added to the console and start syncing data.

cli

3. Configuring Launch Settings

  • Define how test or cutover instances will launch for each source server.

cli

4. Launching a Test Instance

  • Launch a test instance to verify your source server functions properly in AWS.
  • Use SSH to connect and test functionality.

cli

5. Performing a Cutover

  • Cutover to migrate your source server to AWS.

cli

  • After cutover, redirect users to the migrated server.
  • Finalize the cutover to mark the migration complete.

cli

Additional Points

  • Test your migration at least a week before cutover.
  • Use CloudWatch, EventBridge, and CloudTrail for monitoring.
  • Revert a test or cutover if needed.
  • AWS MGN is free for 90 days, but AWS infrastructure usage incurs charges.

Resources

  • For detailed instructions, refer to the AWS Application Migration Service documentation.
  • AWS MGN is available in specific regions. Use CloudEndure Migration or AWS SMS for unsupported regions or if agent installation is not possible.
This post is licensed under CC BY 4.0 by the author.

Comments powered by Disqus.