Tag: Migrate

Migrate Hyper-V VMs to Azure using Azure Migrate

Assess and Migrate Hyper-V VMs with Azure Migrate

Today, the Azure Migrate team launched an update to the Azure Migrate service, which can help you discover, assess, and migrate applications, infrastructure, and data from your on-prem environment to Microsoft Azure. This is excellent timing since we all know that Windows Server 2008 and Windows Server 2008 R2 are soon out of support and you get free extended security updates if you migrate your VMs to Azure. With Azure Migrate, you can now centrally track the progress of your migration journey across multiple thrid-party and Microsoft tools. In addition, Azure Migrate can now assess and migrate your Hyper-V virtual machines (VMs).

With the latest release of Azure Migrate you can now:

  • Extensible approach with choice across Microsoft and popular ISV assessment and migration tools
  • Integrated experience for discovery, assessment, and migration with end-to-end progress tracking for servers and databases
  • Server Assessment and Server Migration for large-scale VMware, Hyper-V, and physical server migrations
  • Database Assessment and Database Migration across various database targets including Azure SQL Database and Managed Instance

You can find more about the Azure Migrate capabilities on Microsoft Docs. For more information on Azure Migration, check out my blog post about Azure Migration on the Nigel Frank International blog. In this post, I am going to show you how you can step-by-step assess and migrate Hyper-V VMs to Azure using Azure Migrate.

Preparation

First, you need to prepare your Azure to set the right permissions and prepare the on-premises Hyper-V hosts and VMs for server assessment and migration. You can find more about the details for permissions and host preparations on Microsoft Docs.

Next, you will need to create a new Migration project for servers. Click on Asses and migrate servers.

Azure Portal Azure Migrate

Azure Portal Azure Migrate

Now you will need to add the tools you want to use for the assessment as well as for the migration, click on “add tools”.

Getting started

Getting started

You will need to create a new Azure Migrate project. Enter the details for your subscription, resource group, and a name for the project. You will also need to choose a region where your project is going to be deployed. No worries, this will only store the assessment data, you can still select another region for the migration.



Migrate Amazon S3 bucket to Azure blob Storage

Migrate AWS S3 buckets to Azure blob storage

With the latest version of AzCopy (version 10), you get a new feature which allows you to migrate Amazon S3 buckets to Azure blob storage. In this blog post, I will show you how you can copy objects, folders, and buckets from Amazon Web Services (AWS) S3 to Azure blob storage using the AzCopy command-line utility. This makes it easy to migrate S3 storage to Azure or create a simple backup of your AWS S3 bucket on Azure.

AzCopy will use the Put Block from URL API, which allows you to directly copy files from AWS directly to Azure. This means you will not use a lot of bandwidth from your computer. You can even copy large objects or buckets from S3 to Azure.

Configure access and authorize AzCopy with Azure and AWS

First, you will need to install AzCopy to your machine. After that, you will need to authorize AzCopy with Microsoft Azure and AWS. To authorize with AWS S3, you have to use an AWS access key and a secret access key.

AWS access key and secret access key, and then set these environment variables:

OSCommand
Windowsset AWS_ACCESS_KEY_ID=
set AWS_SECRET_ACCESS_KEY=
Linuxexport AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
macOSexport AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=

Copy an AWS S3 object to Azure blob

You can copy a simple object using the following command:

azcopy cp "https://s3.amazonaws.com/tomsbucket/tomsobject" "https://tomsstorageaccount.blob.core.windows.net/tomscontainer/tomsblob"

Copy and migrate Amazon S3 folder to Azure

You can copy a folder from the Amazon S3 bucket to the Azure blob storage:

azcopy cp "https://s3.amazonaws.com/tomsbucket/tomsfolder" "https://tomsstorageaccount.blob.core.windows.net/tomscontainer/tomsfolder" --recursive=true

Copy an Amazon S3 bucket to Azure blob storage

You can also copy one or multiple Amazon S3 buckets to Azure:

azcopy cp "https://s3.amazonaws.com/tomsbucket" "https://tomsstorageaccount.blob.core.windows.net/tomscontainer" --recursive=true

I hope this gives you a quick idea of how you can migrate data from Amazon AWS S3 storage to Azure using AzCopy. If you want to know more, check out the official Microsoft Docs about how to copy data from Amazon S3 buckets by using AzCopy.



VMware Switch

Microsoft’s new VMware migration offer for Windows Server 2016

Microsoft just announced a new VMware migration offer for Windows Server 2016. In a nutshell: If you switch from VMware to Hyper-V from during September 1, 2016, through June 30, 2017, you can get free Windows Server Datacenter licenses when buying Windows Server Datacenter + Software Assurance. That ultimately means customers only pay for Software Assurance.

Microsoft also released a new TCO calculator to compare VMware and Hyper-V, which you can find here: VMware Shift

There are also a lot of great technical reasons to switch from VMware to Hyper-V. Check out my blog post about What’s new in Windows Server 2016 Hyper-V to get an overview about new features.

To get started just follow these steps:

To be eligible for the VMware migration offer, customers must follow these steps:

  • Step 1: Engage your account executive or sales rep to begin the process.
  • Step 2: Identify virtualized workloads to migrate and specify the Windows Server Datacenter cores required.
  • Step 3: Provide your account executive proof of eligibility. (Offer applicable to customers migrating from VMware to Microsoft).
  • Step 4: Engage your partner to start the migration process.
  • Step 5: Receive free Windows Server Datacenter licenses with Software Assurance and pay only the cost of Software Assurance to kick start your migration.

Feel free to contact us to help you switch!



Windows Azure Website from Gallery

Migrate your WordPress Blog to Microsoft Azure Web Apps

I am running several WordPress websites and I run them on several different hosters, now in the past months I migrated some of them to Microsoft Azure using the Azure Web Apps. In this post you can see how you can migrate a smiple WordPress blog to Microsoft Azure.

First you have to have a Microsoft Azure account and login to the Microsoft Azure Portal. You can now create a new website from gallery, where you can choose WordPress as an option.

Windows Azure Website from Gallery

Windows Azure Website WordPress

You can than start configuring the WordPress website and set it up to use a new database and where it should be located.

Windows Azure Website WordPress configuration

After you created the website, you can go on the link of the website and configure your wordpress site.

Windows Azure Website Dashboard

To be able to upload themes and plugins you have to enable FTP for you account. In you can do this by changing the deployment credentials.

Windows Azure Website Configure FTP

Now what you can to migrate your existing blog to your new Microsoft Azure blog, you can export your WordPress blog and import in in the new WordPress blog running on Windows Azure. In my case I hit a issue with a PHP default setting which was maxupload limited to 2MB, and my WordPress blog export file was bigger than 2MB. Now you can simply change the PHP setting by using a .user.ini..

 



Microsoft Virtual Machine Converter 3.0

Microsoft releases Microsoft Virtual Machine Converter 3.0

Microsoft today released the next version of the Microsoft Virtual Machine Converter (MVMC). (MVMC) is a Microsoft-supported, stand-alone solution for the IT pros or solution provider who wants to convert virtual machines and disks from VMware hosts to Hyper-V hosts and Microsoft Azure.

In MVMC 3.0 Microsoft adds the ability to convert a physical computer running Windows Server 2008 or above server operating systems or Windows Vista or above client operating systems to a Virtual Machine. This feature was highly claimed by the community, since the P2V (Physical to Virtual) Migration feature was removed in System Center Virtual Machine Manager 2012 R2.

MVMC can be deployed with minimal dependencies. Because MVMC provides native support for Windows PowerShell, it enables scripting and integration with data center automation workflows such as those authored and run within Microsoft System Center Orchestrator 2012 R2 or Service Management Automation. It can also be invoked through the Windows PowerShell command-line interface. The solution is simple to download, install, and use. In addition to the Windows PowerShell capability, MVMC provides a wizard-driven GUI to facilitate virtual machine conversion.

This tool can not only help you to migrate from VMware or physical computers to Hyper-V, it also allows you to directly upload the Virtual Machine to Microsoft Azure.

MVMC3 migrate to Hyper-V or Azure

You can get the new version of the Microsoft Virtual Machine Converter 3.0 in the Microsoft Download Center.