Overview of Moodle manual migration
Moodle is a free, open-source learning management system written in PHP. This guide explains how to migrate a Moodle deployment from an on-premises environment to Azure. The guide provides steps for two different approaches that use either the Azure portal or the Azure command-line interface (Azure CLI).
Prerequisites
Before starting migration, you need the following prerequisites:
- On-premises software updated and patched to the following versions:
- Ubuntu 18.04 LTS
- NGINX 1.14
- MySQL 5.6, 5.7, or 8.0 database server. This guide uses Azure Database for MySQL.
- PHP 7.2, 7.3, or 7.4
- Moodle 3.8 or 3
- Your Moodle website set to Maintenance mode.
- Access to the on-premises infrastructure, to back up the Moodle deployment and configurations, including database configurations.
- Azure CLI and AzCopy installed on-premises.
- An Azure subscription and Azure Blob Storage account created.
Moodle migration process
Migrating Moodle with an Azure Resource Manager (ARM) template creates the infrastructure in Azure, then migrates the Moodle software stack and associated dependencies.
The Moodle migration steps to Azure break down into the following three stages:
Next steps
Continue to How to prepare for a Moodle migration.