Tutorial: Migrate from Azure Hourly to Azure PAYG or Access Server Subscription
Overview
Migrate an Azure Hourly Access Server when you want to switch to Azure PAYG billing or an Access Server Subscription. The migration moves your Access Server configuration to a new Azure virtual machine (VM) using the license model you choose.
You can't change the licensing model on the existing Azure Hourly instance. Create a configuration backup, deploy the replacement instance, restore your configuration, verify networking and licensing, move traffic to the instance, and then retire the Azure Hourly deployment.
For an overview of the available Azure licensing options, refer to Deploy Access Server on Azure — Choose Your Licensing Model.
Choose your destination licensing model
Licensing model | Access Server billing | License management | Future connection changes |
|---|---|---|---|
Azure PAYG | Microsoft Azure | Azure Marketplace | Change the PAYG plan without migrating Access Server to another Azure VM. |
Access Server Subscription | OpenVPN | Access Server Hub and license activation key | Change the subscription connection amount without migrating Access Server to another Azure VM. |
Prerequisites
Before starting the migration, ensure you have:
An existing Azure Hourly Access Server deployment.
Administrative access to Access Server.
SSH access to the current Azure VM.
Permission to deploy a new Azure VM and its associated Azure resources.
If you're migrating to Azure PAYG: access to Azure Marketplace and a new OpenVPN account. Azure PAYG requires a new Access Server Hub account, so you can’t use the account associated with your current Azure Hourly deployment. Create it before you start (Step 3).
If you're migrating to an Access Server Subscription: an OpenVPN account with an active Access Server Subscription and its license activation key. You can use your existing Access Server Hub account.
Access to your DNS provider if you use a hostname for Access Server.
A maintenance window for the final cutover.
A current configuration backup.
Helpful migration notes
PAM authentication: PAM passwords are stored in the operating system and aren't included in the Access Server configuration backup.
Clusters: If your Access Server cluster uses an external MySQL-type database, use the cluster migration approach rather than copying the SQLite databases.
Azure infrastructure: The configuration backup restores Access Server data, not Azure network interfaces, security groups, route tables, IP forwarding, or other Azure resources.
Hostnames and addresses: If the address users connect to changes during migration, update the Access Server hostname or IP address setting and redistribute connection profiles. Preserving the existing hostname or static public IP avoids this. Refer to Step 7: Move the hostname or public IP to the new instance.
Rollback: Keep the Azure Hourly instance until you've verified authentication, VPN connectivity, private-resource access, licensing, and Azure networking on the replacement instance.