Charmed PgBouncer
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 5 | 17 Jan 2022 | |
1/stable | 89 | 21 Feb 2024 | |
1/candidate | 176 | 06 May 2024 | |
1/beta | 176 | 30 Apr 2024 | |
1/edge | 180 | 30 Apr 2024 |
juju deploy pgbouncer --channel 1/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
20.04
How to enable encryption
PgBouncer is a subordinate charm. When integrated to a host application (principal charm), it serves on localhost, so TLS encryption is not necessary.
If you are using data-integrator
, PgBouncer will open a port to listen to TCP traffic. In this case, because PgBouncer is exposed, TLS encryption is recommended.
Enable TLS
First, deploy the TLS charm:
juju deploy self-signed-certificates --config ca-common-name="Tutorial CA"
To enable TLS, integrate the two applications:
juju integrate self-signed-certificates pgbouncer
To enable TLS on PostgreSQL, refer to Charmed PostgreSQL | How to enable security.