In this comprehensive guide, we’ll explore the process of assessing an on-premises multi-tier application and migrating it to Microsoft Azure. We’ll leverage the powerful suite of tools provided by Azure Migrate to ensure a seamless and efficient migration journey.

Abstract and Learning Objectives

This hands-on lab will teach you how to assess and migrate a multi-tier application from Hyper-V to Azure. You will learn to use Azure Migrate as the central hub for executing the migration, along with accompanying tools like Microsoft Data Migration Assistant (DMA) and Azure Database Migration Service (DMS).

After this lab, you will:

  • Understand the role of Azure Migrate and related migration tools
  • Learn how to use these tools to successfully migrate an on-premises multi-tier application to Azure

Overview

Before the lab, you will have a pre-deployed on-premises infrastructure hosted in Hyper-V. This infrastructure hosts a multi-tier application called ‘SmartHotel’, using Hyper-V VMs for each application tier.

During the lab, you will migrate the entire application stack to Azure. This includes:

  1. Assessing the on-premises application using Azure Migrate: Server Assessment
  2. Assessing the database migration using Microsoft Data Migration Assistant (DMA)
  3. Migrating the database using the Azure Database Migration Service (DMS)
  4. Migrating the web and application tiers using Azure Migrate: Server Migration, including both Windows and Linux VMs

Solution Architecture

The SmartHotel application comprises 4 VMs hosted in Hyper-V:

  • Database tier: Hosted on the smarthotelSQL1 VM, running Windows Server 2016 and SQL Server 2017.
  • Application tier: Hosted on the smarthotelweb2 VM, running Windows Server 2012R2.
  • Web tier: Hosted on the smarthotelweb1 VM, running Windows Server 2012R2.
  • Web proxy: Hosted on the UbuntuWAF VM, running Nginx on Ubuntu 18.04 LTS.

Throughout this lab, you’ll use Azure Migrate as the primary tool for assessment and migration, along with several other complementary tools.

Exercise 1: Discover and Assess the On-Premises Environment

In this exercise, you’ll use Azure Migrate: Server Assessment to assess the on-premises Hyper-V environment. This includes:

  • Creating the Azure Migrate project and adding assessment and migration tools
  • Deploying the Azure Migrate appliance into the on-premises Hyper-V environment
  • Configuring the Azure Migrate appliance
  • Creating a migration assessment
  • Configuring the dependency visualization feature

Exercise 2: Migrate the Application Database

In this exercise, you’ll migrate the application database from the on-premises Hyper-V VM to a new database hosted in Azure SQL Database. You’ll use the Azure Database Migration Service, which leverages the Microsoft Data Migration Assistant for assessment and schema migration.

Exercise 3: Migrate the Application and Web Tiers using Azure Migrate: Server Migration

In this final exercise, you’ll migrate the web tier and application tiers of the application from on-premises to Azure using Azure Migrate: Server Migration. You’ll then reconfigure the application tier to use the migrated application database hosted in Azure SQL.

Conclusion

By the end of this hands-on lab, you’ll have a comprehensive understanding of how to assess and migrate a multi-tier application from on-premises to Azure, leveraging the powerful suite of tools provided by Azure Migrate and its accompanying services.

For more information, please refer to the detailed step-by-step instructions provided in the source document: https://raw.githubusercontent.com/microsoft/MCW-Line-of-business-application-migration/master/Hands-on%20lab/HOL%20step-by%20step%20-%20Line-of-business%20application%20migration.md