From ab4412724b897e7075d594397f55be5c9ae5e579 Mon Sep 17 00:00:00 2001 From: sarabadanie Date: Tue, 30 Aug 2016 14:14:48 +0200 Subject: [PATCH] Update 2016-08-30-PostgreSQL-Cluster-Azure.md --- _posts/2016-08-30-PostgreSQL-Cluster-Azure.md | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md index e965047..e26e5c4 100644 --- a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md +++ b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md @@ -1 +1,22 @@ -Hello +# Building a Highly-Available PostgreSQL Cluster on Azure + +The possibility to create a PostgreSQL cluster on your Azure subscription is now only few clicks away. The use of PostgreSQL database (a.k.a the most advanced open-source database) has increased in different software development projects in Haufe and setting it up in a cluster on Azure in an easy and convenient way (preferably as-a-Service) was always a wish for developers. + +We would like to announce that with our new Azure template it is now possible to automate the creation of a highly-available PostgreSQL cluster on your Azure subscription. +It uses Ubuntu 14.04 LTS machines with 128 GB SSD data disks for high performance. A [Zookeeper] ensemble of three machines is used to orchestrate the behavior of the postgres cluster. For automated PostgreSQL server management and leader election the open source solution [Patroni] (developed by zalando) is used and installed side by side with PostgreSQL 9.5 on the machines. + +To use this template simply click [here] and you will be redirected to the Azure login page where you can log in and provide values for the following parameters: + + - ClusterName: The name of the cluster to create. Avoid spaces and special characters in this name + - InstanceCount: The number of postgreSQL servers to create. Minimum: 2, Maximum: 5 + - AdminUsername: Name for user account with root privileges. Can be used to connect to the machines using ssh + - AdminPassword: Password for admin user account + +After deployment, you can connect to clusterName.regionName.cloudapp.azure.com on postgreSQL default port 5432 using username "admin" and the password you set as a parameter value in the template. +In order to connect to the postgreSQL instances, use any ssh client on port 10110 for instance postgres0, 10111 for postgres1 and etc. + +We hope this brings some joy and of course convenience on your journey to cloud. + + [Zookeeper]: + [Patroni]: + [here]: