Migrate Hyper V VM to azure


I'm trying to migrate existing VMs from Hyper V to Azure but I can't find any helpful tutorials on it. All I could find was for generic VMs but nothing for migrating already running servers. I wouldn't want to run sysprep on production servers in order to migrate them. I'm not sure what I'm missing here. If I migrate the VHD the way is setup in Hyper-V, it will be migrated with the static IP address already set so when I would bring it up in a subnet created in Azure, I won't be able to connect to it.

Any help would be appreciated.

Alan DalaITAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
See my EE Articles, step by step, with screenshots, my article shows the migration of a VM, happens to be hosted on VMware vSphere, but it does not matter, Microsoft Virtual Machine converter is the tool to use, from vSphere or Hyper-V, it does not matter.

HOW TO: Migrate a VMware vSphere virtual machine to the Cloud (hosted on Windows Azure)

HOW TO:  P2V, V2V for FREE to Hyper-V -  Microsoft Virtual Machine Converter 3.1

HOW TO: Convert a physical server or virtual server (P2V/V2V) to Microsoft Hyper-V using Microsoft Virtual Machine Converter 3.1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alan DalaITAuthor Commented:
Thanks for your response. How do I get over the 'Source' step where it's asking me for an ESXi server? I tried entering one of my Hyper-V hosts but didn't work.

Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Perhaps Azure Site Recovery would be the way to go? Install the agent, configure, send the backups up into Azure, and finally failover to Azure.

Tweak your Internet DNS settings for the DR site's IP setup and your VM's for the local subnet (PowerShell can be used to assign "static" IPs to each VM for manageability purposes).

That to me would be the simplest way to go.

The other way is to copy the VHD(x) files up into Azure and attach them to Azure VMs. From there tweaking the network setup for the Azure site, your DNS IPs for the new WAN IP, and other clean-up tasks would be required.
Alan DalaITAuthor Commented:
I got it to work with Powershell. My mistake was not assuring I can open RDP before the machine was uploaded in Azure. I had to allow the RDP port through the firewall before migrating the VHD.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.