Course Information
Course Overview
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
Skills covered in this course
Reviews
-
AAlper Sel
The first 18 lessons are about simple Linux commands. I'm looking forward to hearing about PostgreSQL and Patroni.
-
FFrancesco DI TULLO
It was an interesting course, with good examples and clear explanations