Skip to content

DixitArora-MSFT/AWS-MIgration

Repository files navigation

Server Assessment of AWS EC2 Instances by Azure Migrate

Description

Customer is looking to Migrate Ubuntu 16.04 EC2 instances hosted in AWS to Azure. Create a POC for this which discuss step by step instructions in migrating a Ubuntu 16.04 hosted in AWS to Azure by Azure Migrate.

Checking Migration Supportability

In the public MS Docs https://docs.microsoft.com/en-us/azure/site-recovery/vmware-physical-azure-support-matrix#ubuntu-kernel-versions , there are a list of generic Linux Kernels that are supported for migration to Azure.

So, you can check with your customer what is the current kernel version that is being used in their EC2 instances.

Run the following commands to get the OS version & Kernel.

  • Run lsb_release -a to get version of Ubuntu
  • Run uname -mrs to get current kernel

If customer are not in the supported Kernel, then below are the option they have.

  • Workaround in this case is to install a supported version of the generic kernel (or switch to a supported version of a generic kernel that is available ) and test the system thoroughly before moving.

  • Other options are to setup VMs in Parallel and then do the data migration or RSync to sync file system.

If supported version, then leverage below step by step instructions and learnings.

So as a first step do discovery and assessment of the product.

  • EC2 Ubuntu 16.04 instance in AWS

Png (Ubuntu EC2 instances in AWS)

Some of the learnings from above step:

  • Key based authentication will not work so we should use password authentication. Error while using key based authentication “No suitable authentication method found to complete authentication (publickey)

  • Always use root login for authentication not any pseudo user and then promoting this user as Admin. Error while using pseudo user. Azure Migrate failed to fetch BIOS GUID

  • Set up an Azure Migrate appliance which will collect metadata about system running in AWS. https://docs.microsoft.com/en-us/azure/migrate/tutorial-assess-physical#set-up-the-appliance

PNG (Prerequisite Azure Migrate)

PNG (Register with Azure Migrate)

PNG (Physical Server Details)

PNG (Validate)

PNG(Validation Completion)

After performing all the above steps, you have servers in Discovered Servers

PNG (Discovered Server in Azure Portal)

PNG (Assessment)

PNG (Assess Servers)

Same steps will be repeated for Migration apart from one extra step. https://docs.microsoft.com/en-us/azure/migrate/tutorial-migrate-physical-virtual-machines

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published