|
1 |
| -# Azure Patroni Deployment |
2 |
| - |
3 | 1 | <a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fhellotech%2Fazure_patroni%2Fmaster%2Ftemplate.json" target="_blank">
|
4 | 2 | <img src="http://azuredeploy.net/deploybutton.png"/>
|
5 | 3 | </a>
|
6 | 4 | <a href="
|
7 | 5 | http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2Fhellotech%2Fazure_patroni%2Fmaster%2Ftemplate.json" target="_blank">
|
8 |
| - <img src="http://armviz.io/visualizebutton.png"/> |
| 6 | + <img src="http://armviz.io/visualizebutton.png"/> |
| 7 | + |
| 8 | +# Azure Patroni Deployment |
| 9 | + |
| 10 | +One click deployment of a Highly-Available PostgreSQL Cluster on Azure. With automated replication, server management and leader election. This project contains a modified deployment version of Haufe's [blog post](http://dev.haufe.com/PostgreSQL-Cluster-Azure/). |
| 11 | + |
| 12 | +This azure template generates two sets of machines both running Ubuntu 16.04 LTS. The first set of three machines are used to run the distributed configuration store [ZooKeeper](https://zookeeper.apache.org/), while the second set is running PostgreSQL 9.6 together with [Patroni](https://github.com/zalando/patroni) providing a high-availability customizable PostgreSQL cluster deployment. |
| 13 | + |
| 14 | +# Parameters |
| 15 | + |
| 16 | +This template provides the following parameters, so you can customize your deployment to your needs: |
| 17 | + |
| 18 | + |
| 19 | +* clusterName: What your cluster will be named. |
| 20 | + |
| 21 | +* _artifactsLocation: The repo name from which you are deploying. Default("https://raw.githubusercontent.com/HelloTech/azure_patroni/master") |
| 22 | + |
| 23 | +* newVnet: Whether or not you want to create a new vnet. Default("yes") |
| 24 | + |
| 25 | +* vnetGroup: The resource group in which the vnet is located. If you select yes on newVnet this needs to be set to the resource group in which you are deploying. |
| 26 | + |
| 27 | +* lbType: Whether you want to create an external or internal load balancer. If set to internal the load balancer will only be accessible from inside the virtual network. Default("internal") |
| 28 | + |
| 29 | +* vnetName: If newVnet is set to yet the this will be name of the created vnet otherwise this is the name of already existing vnet to which the deployment will be associated. |
| 30 | + |
| 31 | +* zookeeperNetName: If newVnet is set to yes the this will be name of the created subnet for the zookeeper machines, otherwise this is the name of already existing subnet that will contain the zookeeper vm's. |
| 32 | + |
| 33 | +* postgresNetName: If newVnet is set to yes the this will be name of the created subnet for the postgres machines, otherwise this is the name of already existing subnet that will contain the postgres vm's. |
| 34 | + |
| 35 | +* zookeeperVMSize: The size of zookeeper vms. |
| 36 | + |
| 37 | +* postgresVMSize: The size of the postgres vms. |
| 38 | + |
| 39 | +* postgresDataSize: The size of the ssd used for pg_data for the postgres vms. |
| 40 | + |
| 41 | +* instanceCount: The number of postgres vms. |
| 42 | + |
| 43 | +* adminUsername: The Ubuntu username. |
| 44 | + |
| 45 | +* adminPassword: The Ubuntu password. |
| 46 | + |
| 47 | +# License |
| 48 | + |
| 49 | +Released under the MIT license. See the LICENSE file for more info. |
0 commit comments