[Wow-Modal-Windows id=1]

I performed a migration of my EC2 instance (Windows 2012 R2 server called PRODSVR) from AWS to Azure today using Azure Site Recovery. This is how I did it…

Prepared Azure Infrastructure

Before performing any migrations, I prepped my Azure environment. To do so, I logged into my Azure Resource Manager portal and created a Resource Group called AWSMigrationLab and deployed the following resources into it:

Virtual Network

Storage Account

I deployed the Virtual Network with an address space of 172.31.0.0/16 and a default subnet of 172.31.0.0/24.

Although I own several storage accounts, I created a separate account called myawsmigrationstorage and placed it into my AWSMigrationLab resource group so I could easily kill it off when I was done with the lab. I specified GRS replication for the storage and selected General Purpose. I used the cheapest disk I could find – this is a lab after all.

Prepared my AWS Environment

Once I had my storage account and virtual network configured in Azure, I switched over to my AWS dashboard and completed the following tasks:

Deployed an EC2 Instance to function as my Azure Site Replication Configuration Server and named it CONFIGSVR

Opened firewall for my PRODSVR EC2 Instance

When deploying my Azure Site Replication Configuration Server, I chose a t2.medium instance type, running Windows 2012 R2 and gave it 650GB of disk space (600GB of FREE space is recommended for the Configuration Server). I deployed the server to the same VPC (virtual network) as my PRODSVR – 172.31.0.0 and gave it a static IP address.

Click here to join the Understanding Azure Facebook group or here for the latest Azure practice questions, answers, explanations, and reference materials.