MariaDB Galera Cluster deployment with terraform
for automated infrastructure provisioning and ansible
for software deployments. The installations are based on MariaDB 10.1
which now includes the Galera components by default.
The goal of the repository is to make it as easy as possible for anyone to create a MariaDB Galera cluster on the providers below. If you would like support for any other provider, feel free to create a pull request.
Currently, the installation supports the following list of providers.
- Digital Ocean
- GCE
- AWS
- OpenStack
To get started, review and modify the configuration in the files below as required. See the provider installation docs below for further information.
ansible.cfg
providers/<provider>.sample.tf
provisioning/roles/dbhost/defaults/main.yml
- Digital Ocean Installation Documentation
- Google Compute Engine Installation Documentation
- AWS Installation Documentation
Once the MariaDB Galera cluster has been created, you'll need to bootstrap the cluster by following the Bootstrapping documentation.
- Fork it (https://github.com/ldejager/mariadb-galera-cluster/fork)
- Create your feature branch (git checkout -b feature/new_feature)
- Commit your changes (git commit -am 'Added some new features')
- Push to the branch (git push origin feature/new_feature)
- Create a new Pull Request