Skip to content

chunliu/drupal-vmss-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Drupal on Azure VMSS with Ansible

The Ansible playbooks in this repo helps to automatically deploy a testing environment for Drupal sites based on Azure VMSS.

What the playbooks do

The playbooks deploy and configure the following components and services.

  • A virtual network with 2 subnets, one for VMSS and another for GlusterFS cluster.
  • A 2 nodes GlusterFS cluster.
  • An Azure Database for MariaDB.
  • A VMSS with a load balancer. The servers in VMSS are configured with the following roles:
    • GlusterFS client with the gluster volume mounted.
    • PHP, Drupal and Nginx.

The diagram below shows how the deployed environment would look like.

the environment topology

How to use it

  • Configure your Ansible control node to work with Azure. See this document.
  • On the Ansible control node, git clone https://github.com/chunliu/drupal-vmss-ansible.git.
  • Update the value of variables in src/group_vars/all.yml.
  • Run the playbooks one by one following the sequence with ansible-playbook.

Credits

The playbooks are built on top of the awesome work in the following repos. Thanks to their authors.

About

Deploy Drupal on Azure VMSS with Ansible.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages