PostgreSQL Automation Made Easy
pglift provides a command-line interface and an Ansible collection to deploy
and manage production-ready instances of PostgreSQL.
An “instance”, in pglift terminology, is composed of a PostgreSQL cluster complemented by a number of satellite components providing additional services such as backup or monitoring. By default, pglift simply deploys and manage PostgreSQL and all supported components are optional.
pglift is configurable on site thus making instance management uniform across an infrastructure.
Install the CLI with uv
uv tool install pglift-cli --with pglift
You can now create an instance using the command-line interface:
pglift instance create main --port=5433 --surole-password
Super-user role password:
Repeat for confirmation:
INFO initializing PostgreSQL
INFO configuring PostgreSQL
INFO configuring PostgreSQL authentication
INFO starting PostgreSQL 14/main
pglift is licensed under PostgreSQL license.
For community support, please open an issue on the project page.
If you need commercial support, send us a message at contact@dalibo.com.
pglift is maintained by the following Dalibo Labs team members: