Skip to content
Azure Database for MySQL sample deployment template for a Wordpress website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

ARM Template for provisioning a Linux Web App with Wordpress connected to Azure Database for MySQL

This template will deploy the following resources into your Azure subscription:

Azure Web App for Linux (Preview)

Wordpress 4.7.4 in a Docker container

Azure Database for MySQL - Basic 50 Compute Unit SKU

Your server will deployed with SSL Disabled as well as firewall rules being set to the full range of - Feel free to change these afterwards if you'd like to add more security to your DB connection, however note that additional configuration will be necessary for your WordPress site to connect over SSL.

To deploy, make sure to edit the parameters.json file and update the fields in ALL CAPITALS specific to your deployment. No editing is needed of the template.json file. After your parameters.json file is edited, save the file and run the following PowerShell command:

New-AzureRmResourceGroupDeployment -Name <YOURSITENAME> -TemplateFile c:\<YOURPATH>\template.json -TemplateParameterFile c:\<YOURPATH>\parameters.json

To learn more about Azure Database for MySQL, check out our documentation and quick start tutorials here. For more information on deploying ARM templates for Azure Web Apps, check here.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

You can’t perform that action at this time.