---
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/docs/h-manage-units
---

# 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)

---

#### Relevant links

* [Homepage](https://ubuntu.com/data/postgresql)

---

#### Contacts

##### Maintainers

+ [Canonical Data Platform](mailto:data-platform@lists.launchpad.net)

* [Submit a bug](https://github.com/canonical/pgbouncer-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# How manage units

To deploy a single unit of PgBouncer using its default configuration:

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

## [Scale units](https://charmhub.io/pgbouncer/docs/h-manage-units#p-28388-scale-units)

PgBouncer is a subordinated charm, both scaling-up and scaling-down operations are performed via the principal charm using `juju add-unit`:

```
juju add-unit <principal_charm> -n <desired_num_of_units>
```

The subordinated charm will be scaled automatically, following the principal charm.

---
