---
title: Charmhub | Deploy PgBouncer using Charmhub - The Open Operator Collection
description: Deploy the latest version of PgBouncer on any cloud.
url: https://charmhub.io/pgbouncer/actions
---

# PgBouncer

[Canonical](https://charmhub.io/publisher/data-platform "View all packages from Canonical")

* [Canonical](https://charmhub.io/publisher/data-platform "View all packages from Canonical")
* [Databases](https://charmhub.io/?filter=databases)

Platform:

24.04

22.04

20.04

18.04

16.04

1/stable 1092

```
juju deploy pgbouncer --channel 1/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [pre-upgrade-check](https://charmhub.io/pgbouncer/actions#pre-upgrade-check)
* [set-tls-private-key](https://charmhub.io/pgbouncer/actions#set-tls-private-key)

[Learn about actions >](https://juju.is/docs/juju/action)

* pre-upgrade-check

  Run necessary pre-upgrade checks before executing a charm upgrade.
* set-tls-private-key

  Set the private key, which will be used for certificate signing requests (CSR). Run for each unit separately.

  Params

  + private-key
    string

    The content of private key for communications with clients. Content will be auto-generated if this option is not specified.
