Migrate MySQL from on-premises x64 to Arm on 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 on Azure virtual machines
Review 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.
Choose x64 for the simulator VM. It acts as the on-premises MySQL source that you migrate from.
Open an SSH shell on your on-premises x64 simulator and run the scripts from
$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.Open a second SSH session to the Arm-based Azure VM. Run
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.From the on-premises simulator, SSH to the VM using the key created in
$HOME/.ssh and the azureadmin user at the VM’s public IP.Create and run the script, for example
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.