Udemy

Postgres Cluster: Master Patroni-Managed Clusters

Enroll Now
  • 109 Students
  • Updated 9/2025
3.5
(10 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
12 Hour(s) 22 Minute(s)
Language
English
Taught by
Sandro Servino
Rating
3.5
(10 Ratings)

Course Overview

Postgres Cluster: Master Patroni-Managed Clusters

Learn how to build a robust PostgreSQL cluster on Linux using Patroni, ETCD, HAProxy and Keepalived

In this 100% hands-on course, you will learn how to set up high availability with PostgreSQL using the powerful Patroni orchestrator, in a modern and professional Linux environment.

If you want to ensure your PostgreSQL databases remain available even in the event of failures, this course is for you.

Throughout the lessons, we’ll build a fully functional and robust cluster together, using:

  • PostgreSQL — the most advanced open-source database on the market

  • Patroni — the orchestration tool that manages automatic failover and replication

  • ETCD — the distributed configuration store that ensures cluster-wide consensus

  • HAProxy — the load balancer that automatically routes connections to the primary node

  • Keepalived — used to set up a floating virtual IP to guarantee continuous access

You will learn:

  • What quorum is and how it works in a cluster

  • How to avoid issues like split-brain

  • How to perform both automatic and manual failover safely

  • How to monitor the cluster and maintain data integrity

  • How to simulate real-world failure and recovery scenarios

  • Best practices for production environments

This course is ideal for DBAs, DevOps engineers, SREs, and Linux administrators who want to take their PostgreSQL infrastructure to the next level.

Prerequisites

  • Basic knowledge of PostgreSQL (but don’t worry — if you’re new to it, I have a complete PostgreSQL course available here on Udemy)

  • A strong desire to learn by doing, with real-world simulations

Enjoy the course, everyone!

Prof. Sandro Servino

Course Content

  • 5 section(s)
  • 48 lecture(s)
  • Section 1 Introduction
  • Section 2 Oracle Linux Installation and Basic Linux Knowledge
  • Section 3 Installing Postgres Database on Oracle Linux
  • Section 4 Setting Up Postgres Cluster with Patroni
  • Section 5 Course Closing

What You’ll Learn

  • Install and configure Oracle Linux, Create virtual machines, Install and configure Postgres, Configure a complete Postgres cluster environment with Patroni, etcd, haproxy, and keepalived


Reviews

  • A
    Alper Sel
    1.0

    The first 18 lessons are about simple Linux commands. I'm looking forward to hearing about PostgreSQL and Patroni.

  • F
    Francesco DI TULLO
    4.5

    It was an interesting course, with good examples and clear explanations

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed