Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
azuredeploy.json [AUTO-2018-10-05] adding file 201-aci-wordpress-vnet/azuredeploy.json Jan 28, 2019
azuredeploy.parameters.json fix parameter Nov 15, 2018
metadata.json Update metadata.json Nov 21, 2018

README.md

Create an Azure Container Instance with VNet

This template creates a WordPress website and its MySQL database on container instance in a virtual network. The WordPress site content and MySQL database are persistently stored on an Azure Storage File Share. Also creates an Application gateway with WordPress container instance as Backend server. The application gateway exposes public network access to WordPress site in virtual network.

Tags: Azure Container Instance, WordPress

Solution overview and deployed resources

The following resources are deployed as part of the solution

  • Azure Container Instance: Azure Container Instance to host the WordPress site.
  • Azure Container Instance: Azure Container Instance to host the MySQL database.
  • Azure Container Instance: A run-once Azure Container Instance, where the az-cli is executed to create the file shares
  • Storage Account: Storage account for the file shares to store the WordPress site content and MySQL database.
  • File share: Azure File shares to store WordPress site content and MySQL database.
  • Application gateway: Application gateway for WordPress site. It exposes public network access to WordPress site in VNet.
  • Virtual network: Virtual network for WordPress site, MySQL database, Application gateway.

Deployment steps

You can click the "deploy to Azure" button at the beginning of this document or follow the instructions for command line deployment using the scripts in the root of this repo.

Parameters:

  • mysqlPassword: The password to access the MySQL database.

Usage

Use browser to access the SiteFQDN from output. WordPress will guide you through the rest of the setup.

Notes

Azure Container Instance is available in selected locations. Please use one of the available location for Azure Container Instance resource.

You can’t perform that action at this time.