Introduction
In this article, we will learn how to migrate AWS VMs to Azure cloud with the help of Azure Site Recovery PaaS service; set up Azure Site Recovery simply by replicating an Azure VM to a different Azure region directly from the Azure portal. As a fully integrated offering, Site Recovery is automatically updated with the new Azure features as they’re released. It minimizes the recovery issues by sequencing the order of multi-tier applications running on multiple virtual machines. Also, it ensures the compliance by testing your disaster recovery plan without impacting production workloads or the end-users and keeps the applications available during outages with automatic recovery from on-premises to Azure or Azure to another Azure region.
Prerequisites
- AWS VM should have Windows Server 2012 R2 or above
- 60 GB storage space
- 4 GB RAM
- 2 core CPU
- Should have joined/configured domain controller
Step 1 - Download ASR
- Log into AWS VM with domain admin credentials
- Log into Microsoft Azure portal with your credentials
- Go to the market place, select Storage, select Backup and Site Recovery (OMS).
- Next, create RSV (Recovery Service Vault), choose resource group and location, i.e., where you want to keep the AWS migrated VMs, and click "Create".
- In "All Resources" blade, select the RSV and then click on the Site Recovery option. Choose "Prepare Infrastructure".
- Select the migration type as "Azure to Azure or On-premises"
- Choose where you want to replicate the VMs in Azure to On-premises.
- For choosing the source, we need to download the ASR suite in our on-premises server.
- Vault Register Key – Used for connecting On-Premises VMs with Azure Cloud
Step 2 - Configure ASR Unified Setup
- Open the downloaded ASR file, here we are choosing Site Recovery for the first time option.
- By default, the MySQL Server will be installed to manage the migration history
- For Registration – we need to browse the vault registration key file which was downloaded from Azure cloud.
- Internet Settings - Azure cloud can be connected in two ways , 1 ) with and 2) without proxy servers , by default only Http proxy is allowed
- Prerequisites – On-premises VMs should have pass all the validations like minimum OS version, CPU, Memory and more.
- MySQL Configuration – set up the root and database password for the svsystems user
- Network Selection – Azure Site Recovery Unified Setup will open two ports for inbound on this server. Port 443 will be used by a web server which orchestrates replication operations
- Installation Progress – once the above steps are done, then ASR unified set up will start the installation; same will contains MySQL, Third Party Components, Microsoft Azure Site Recovery provider, Microsoft Azure Site Recovery agent and more.
Step 3 - Microsoft Azure Site Recovery Configuration Server
- Azure Site Recovery needs account credentials to discover vCenter servers and to install the Mobility Service on virtual and physical machines.
- Click on the "Add Account" button; provide username and password of the On-premises server,
Note: The domain user should be part of the Domain Admin group. - Next Azure Site Recovery Registration, browse the key which was downloaded from Azure Cloud portal and then click register.
- Finally, Microsoft Azure Site Recovery unified setup has been registered with Azure Cloud ASR
Summary
In this article, we learned how to download and set up Microsoft Azure Site Recovery in On-Premises Server.