PgBouncer

Canonical Publisher

Platform:

Ubuntu
24.04 22.04 20.04 18.04 16.04
Channel Revision Published Runs on
latest/stable 5 17 Jan 2022
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
1/stable 911 06 Mar 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/stable 910 06 Mar 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/stable 914 06 Mar 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/stable 909 06 Mar 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/stable 912 06 Mar 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/stable 913 06 Mar 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/candidate 1017 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/candidate 1019 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/candidate 1020 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/candidate 1018 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/candidate 1022 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/candidate 1021 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/beta 1017 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/beta 1019 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/beta 1020 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/beta 1018 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/beta 1022 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/beta 1021 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/edge 1022 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/edge 1021 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/edge 1020 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/edge 1019 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/edge 1018 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
1/edge 1017 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
juju deploy pgbouncer --channel 1/stable

Cleanup and extra info

This is part of the PgBouncer Tutorial. Please refer to this page for more information and the overview of the content.

Remove and cleanup environment

If you’re done with testing and would like to free up resources on your machine, just remove Multipass VM. Warning: when you remove VM as shown below you will lose all the data in PostgreSQL and any other applications inside Multipass VM!

multipass delete --purge my-vm

Next Steps

In this tutorial we’ve successfully deployed PgBouncer, added/removed cluster members, added/removed users to/from the database, and even enabled and disabled TLS. You may now keep your deployment running and write to the database or remove it entirely. If you’re looking for what to do next you can: