Migrate MySQL from on-premises x64 to Arm-based Azure virtual machines
Introduction
Understand Azure Cobalt 100 VMs and MySQL migration strategy
Create an Azure x64 virtual machine as an on-premises simulator
Prepare the on-premises source instance
Perform the lift-and-shift migration into Azure cloud
Benchmark MySQL performance on Azure Cobalt 100
Next Steps
Migrate MySQL from on-premises x64 to Arm-based Azure virtual machines
Who is this for?
This Learning Path is for developers who want to migrate MySQL from an on-premises x64 environment to an Arm-based virtual machine (VM) powered by Azure Cobalt 100.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Provision an Arm-based Azure VM powered by Cobalt 100 using Terraform and Azure CLI.
- Export and restore a MySQL database from an on-premises x64 simulator into the Arm VM.
- Run sysbench on the migrated database and interpret key performance metrics.
Prerequisites
Before starting, you will need the following:
- A Microsoft Azure account with access to Cobalt 100 based instances (Dpsv6)
- Basic familiarity with SSH and MySQL command-line tools
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
sysbench workload, and review the results.Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
$HOME/lift-n-shift-assets. Run scripts/create_ssh_key.sh to generate an SSH key pair in $HOME/.ssh and print the public key. Press Enter to leave the passphrase empty, and save the printed ssh-rsa public key string for use with the Azure VM.sudo su -, then cat /root/mysql_root_password.txt to retrieve the password. Enter it at the restore prompt in your original session on the on-premises simulator.$HOME/.ssh and the azureadmin user at the VM’s public IP.run.sh, on the Arm-based Azure VM after connecting with SSH. Expect sysbench to produce a summary of performance metrics that you can review to validate the migrated database.