[email protected]

PostgreSQL cluster with three nodes and automatic failover

One primary and two replicas: if the primary fails, a replica takes over automatically. WZ-IT operates the cluster and a connection endpoint for the application.

  • Cancel monthly
  • Three nodes, automatic failover
  • Fixed prices from XS to 4XL
Reviews
Cloud Wolke HerausforderungServer NachhaltigkeitIT Beratung Service Consulting SoforthilfeTimo Wevelsiep Robin ZinsExperten für Innovation Migration AWSHetzner Hosting zuverlässig

The following are trademarks of their respective owners: PostgreSQL (PostgreSQL Community Association of Canada). WZ-IT is an independent service provider and has no business, partnership, or contractual relationship with these owners. We offer independent migration, installation, hosting, and operations services.

Customers from mid-sized business, industry and the public sector, in Germany and internationally

  • Stadtwerke Brühl
  • DGHO e.V.
  • solarwerkstatt berlin
  • Krüger Dirndl
  • ABCO Water Systems
  • Golem.de
  • EVADXB
  • nextGYM
  • AInergy
  • ml&s
  • Odiseo Solutions
  • Annota
  • ARGE
  • SweetConnect GmbH
  • Aphy AG
  • CORGOS
  • Rekorder
  • SolidProof
  • Yonju
  • Keymate
  • Paritel
  • Mr. Clipart
  • Millenium
  • Negosh
  • Führerscheinmacher
  • BTI
  • Deutsche Gesellschaft für Datenschutz
Read client reviews

Starting point

A single database node is a single point of failure

A cluster spreads the database across several nodes.

  • A node fails

    If the single database node fails, the application stops until it is replaced or the database is restored.

  • Replication alone does not fail over

    PostgreSQL sends changes to a replica but does not decide which node is the primary. Additional software such as Patroni does that.

  • Two members cannot decide

    The consensus group (etcd) decides by majority. With two members nobody has a majority after a failure; with three members the majority remains.

  • The application has to find the new primary

    After a failover another node is the primary. The application finds it through failover-capable routing or a connection with several hosts; WZ-IT provides a connection endpoint for this.

High availability

What a PostgreSQL cluster does, and what it does not

A cluster protects against the failure of a node and fails over automatically if the primary fails. It is neither a backup nor a performance boost.

Covered

High availability with automatic failover

  • If the primary fails, a replica automatically becomes the new primary; if a replica fails, the primary stays in place
  • A connection endpoint operated by WZ-IT leads to the primary, also after the failover
  • Setup and operation of Patroni, etcd and the endpoint by WZ-IT
  • One primary accepts writes, two replicas replicate its data

Not covered

What a cluster does not do

  • A replacement for the backup: operator errors are carried over to the replicas
  • Commitments on failover time and data loss: no RTO and no RPO as a number
  • More write performance: the primary accepts writes
  • The failure of the entire site. Multi-site setups and other node counts are individual.

Setup

How the cluster is built

Four layers from the endpoint to the consensus, operated by WZ-IT.

Application

Connects to the connection endpoint.

Endpoint

A connection endpoint operated by WZ-IT: HAProxy asks each node's Patroni interface and routes to the current primary.

PostgreSQL

One primary and two replicas, connected by streaming replication.

Consensus

etcd with three members, one per node. Patroni holds the leader lock here; whoever holds it is the primary.

Sizes

PostgreSQL cluster: fixed prices per size

Three sizes come first, all eight sizes from XS to 4XL are in the table below.

  • Operations included
  • Automatic failover
  • Essential service level
  • Cancellable monthly, 30 days' notice to the end of the month

PostgreSQL cluster

Size L

Three nodes with 8 vCPU, 16 GB RAM each

€559.60excl. VAT / cluster and monthcancel monthly
  • Each node 8 vCPU, 16 GB RAM, 80 GB NVMe SSD
  • One primary and two replicas
  • Automatic failover if the primary fails

PostgreSQL cluster

Size XL

Three nodes with 16 vCPU, 32 GB RAM each

€889.60excl. VAT / cluster and monthcancel monthly
  • Each node 16 vCPU, 32 GB RAM, 80 GB NVMe SSD
  • One primary and two replicas
  • Automatic failover if the primary fails

PostgreSQL cluster

Size 2XL

Three nodes with 32 vCPU, 64 GB RAM each

€1,849.60excl. VAT / cluster and monthcancel monthly
  • Each node 32 vCPU, 64 GB RAM, 80 GB NVMe SSD
  • One primary and two replicas
  • Automatic failover if the primary fails
Prices per cluster with three nodes. A single node: Managed PostgreSQL. All prices are net and exclude statutory VAT. The offers are addressed to businesses.

Straightforward provisioning within a few business days

Payment
  • SEPA direct debit
  • Visa
  • Mastercard
  • American Express
  • Apple Pay
  • Google Pay
  • PayPal
  • Bank transfer

All sizes

All eight sizes as a cluster at a fixed price

Specification per node; the cluster price covers all three nodes.

SizeSpecification per nodeCluster with three nodes, excl. VAT per month
XS2 vCPU, 2 GB RAM, 40 GB NVMe-SSD€199.90
S2 vCPU, 4 GB RAM, 80 GB NVMe-SSD€289.90
M4 vCPU, 8 GB RAM, 80 GB NVMe-SSD€379.60
L8 vCPU, 16 GB RAM, 80 GB NVMe-SSD€559.60
XL16 vCPU, 32 GB RAM, 80 GB NVMe-SSD€889.60
2XL32 vCPU, 64 GB RAM, 80 GB NVMe-SSD€1,849.60
3XL64 vCPU, 128 GB RAM, 80 GB NVMe-SSD€3,439.60
4XL128 vCPU, 256 GB RAM, 80 GB NVMe-SSD€6,799.60

Scope

Included in the price: cluster operations, monitoring and backup

These services are part of every cluster.

Cluster
  • Setup and operation of the cluster

    WZ-IT sets up and operates Patroni, etcd and the connection endpoint.

  • One primary, two replicas

    The replicas replicate the data of the primary; if it fails, one is promoted.

Instances
  • Three dedicated nodes

    Every node has the chosen specification; the nodes run at one site.

  • NVMe SSD per node

    Storage per node as in the table; additional storage costs €4.99 per 50 GB and month, per node.

Operations
  • 24/7 monitoring

    Proactive monitoring of the nodes and the cluster.

    Monitoring & alerting
  • Updates and patches

    Regular updates, CVE monitoring and prioritised patches for critical vulnerabilities.

  • Daily backup

    With 7 days of retention, as in hosting.

    Managed PostgreSQL
  • Point-in-time recovery (PITR)

    Backups with point-in-time recovery: restoring to a point in time is possible within the backup retention of 7 days.

  • WireGuard VPN for secured access to the database included (regular price €99.90 excl. VAT / month)New

    WZ-IT sets up the access. The VPN provides secured access to the database without exposing the database port publicly: for administrators and tools as well as for systems and applications that are to access the database securely; applications are connected as configured or through the VPN. For teams that sign in with a company login, there is Managed NetBird.

Service
  • Essential service level included

    Personal technical contact; higher service levels at extra cost.

    SLA & Service Levels

Customer side

Not part of the price

  • Connection behaviour of the application: detecting a lost connection and reconnecting
  • Application code, schema, queries and indexes
  • Data protection assessment of the stored data

Service Levels

Five service levels for different operating requirements

Response target = initial technical response to critical incidents (P1) · Price and flexible operations allowance per customer environment and month · Hourly rate for additional work

  1. Essential

    Next business dayby end of dayInitial technical response to critical incidents (P1) by the end of the next business day

    includedin the base operations price

    no allowance
    Hourly rate
    5% below standard
    regular service hours
    €114
    outside regular service hours
    €228

    For less time-critical systems, staging and internal applications.

  2. Business

    Popular

    4 hwithin service hoursInitial technical response to critical incidents (P1) within 4 service hours

    +€99.90

    0.5 h allowance
    Hourly rate
    10% below standard
    regular service hours
    €108
    outside regular service hours
    €216

    For production systems without contractual night and weekend on-call coverage.

  3. Priority

    1 hwithin service hoursInitial technical response to critical incidents (P1) within 1 service hour

    +€199.90

    1 h allowance
    Hourly rate
    15% below standard
    regular service hours
    €102
    outside regular service hours
    €204

    For business-critical systems requiring a fast response during the service window.

  4. Production

    60 minnights and weekends includedInitial technical response to critical incidents (P1) within 60 minutes, 24/7

    +€349.90

    1 h allowance
    Hourly rate
    20% below standard
    regular service hours
    €96
    outside regular service hours
    €192

    24/7 P1 on-call coverage for business-critical production environments.

  5. Critical

    after audit

    30 minnights and weekends includedInitial technical response to critical incidents (P1) within 30 minutes, 24/7

    +€549.90

    2 h allowance
    Hourly rate
    25% below standard
    regular service hours
    €90
    outside regular service hours
    €180

    Available after audit, runbook and capacity approval.

Business, Priority, Production and Critical include the first covered workload in a customer environment. Further covered workloads cost €29.90, €39.90, €49.90 and €59.90 per month respectively. For monitoring-only servers, we notify within the level's window for €14.90, €19.90, €24.90 and €29.90 per server and month respectively; without a service level, during service hours.

SLA & Service Levels →

The flexible operations allowance applies to planned work during regular service hours and expires at month end. Operations, monitoring, backups, maintenance and updates within the agreed scope do not reduce it. Additional work beyond the agreed operations and the allowance, as well as further incident work, is billed at the hourly rate of the service level of the affected environment. The standard rate applies to commissioned work without a service level. Hour packages and fixed prices have their own prices. All prices are net and exclude statutory VAT. The offers are addressed to businesses.

In the cluster the three nodes count as three workloads: the tier for the environment plus the surcharge per additional workload.

Frequently Asked Questions

Answers to the most important questions

Knowledge

Further reading

Hosting, operations on your own servers and related services.

Reviews & projects

Operations that visibly relieve customers

Customer feedback on monitoring, updates, maintenance, support and stable production systems.

Networking & Provisioning

WZ-IT moved our studio infrastructure from decentralised individual devices to a central platform: every site is securely connected via VPN, new devices are onboarded automatically and an entire site is provisioned from a template, without manual steps on location. What impressed me most is the breadth and depth of their knowledge: Timo and Robin are not a typical IT provider who sets up a server and leaves. The two of them think their way into highly complex infrastructure and software topics, work through every requirement we put in front of them, and build networking, provisioning and operations so that everything fits together in the end. WZ-IT is an excellent partner for complex software, network and architecture projects.
Steve KirchnerManaging Director, nextGYM GmbH
View project

International

Built in Germany's Ruhr Valley. Running worldwide.

WZ-IT designs, develops and operates infrastructure and software for clients in Germany and internationally. We deliver projects remotely and continue supporting them in ongoing operations after go-live.

Selected projects

Read client reviews

Enquiry

Request a PostgreSQL cluster

For an initial assessment, the desired size, the current database size and whether an existing database moves are sufficient. We only need access credentials after commissioning.

  • You speak directly with Timo and Robin, who are technically responsible
  • A professional assessment of your situation
  • Concrete next steps for infrastructure, software or AI

The conversation is free and non-binding.

WZ-IT's advice on our Azure migration was technically sound and completely non-binding right from the intro call - we took away a great deal.
Jakob ÖschlbergerInno7 GmbH
Timo and Robin, founders of WZ-IT

Which cluster do you need?

Choose the appropriate starting point and briefly describe your database.

We usually respond within one business day. Please do not send access credentials yet.

WZ-IT's advice on our Azure migration was technically sound and completely non-binding right from the intro call - we took away a great deal.
Jakob ÖschlbergerInno7 GmbH