Lamp on Ubuntu

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Deploy To Azure Deploy To Azure US Gov Visualize

This template deploys a LAP(linux+apache2+php5) node on an Ubuntu virtual machine and a MYSQL(mysql server 5.5) node on an additional VM. This template also provisions a storage account, virtual network, availability sets, public IP addresses and network interfaces required by the installation.

This template deploys a LAP node and a MYSQL node, will create simple info.php, mysql.php and remotemysql.php(test if can connect to mysql server on MYSQL node) on LAP node to test if the deployment is successful or not.

The LAP node is exposed on a public IP address that you can access through a browser on port :80 as well as SSH on the standard port. The MYSQL node only has private ip address, and it's static ip address, the mysql database only allows to be accessed from LAP node. The Mysql server user root has empty password, you can set the password later. Only support one MYSQL node now.

##Known Issues and Limitations

  • The template does not currently configure SSL on the nodes.
  • The template uses username/password for provisioning and would ideally use an SSH key.
  • The template only support one LAP node and one Mysql node now.
  • The deployment scripts are not currently idempotent and this template should only be used for provisioning new.

Tags: Microsoft.Resources/deployments, Microsoft.Network/networkSecurityGroups, Microsoft.Network/publicIPAddresses, Microsoft.Compute/availabilitySets, Microsoft.Network/networkInterfaces, Microsoft.Compute/virtualMachines, Microsoft.Compute/virtualMachines/extensions, CustomScript, Microsoft.Storage/storageAccounts, Microsoft.Network/virtualNetworks