<a id="scaling"></a>

# Scaling

See also: [Scale an application](https://documentation.ubuntu.com/juju/3.6/howto/manage-applications.md#scale-an-application)

In the context of a cloud deployment in general, **scaling**  means modifying the amount of resources allocated to an application, which can be done *vertically* (modifying the memory, CPU, or disk for a cloud resource) or *horizontally* (modifying the number of resource instances), where each can be *more* (up or out) or less (*down or in*). In the context of Juju, scaling means exactly the same, with the mention that

- Vertical scaling is handled through [constraints](https://documentation.ubuntu.com/juju/3.6/reference/constraint.md#constraint) and horizontal scaling through [units](https://documentation.ubuntu.com/juju/3.6/reference/unit.md#unit).
- Horizontal scaling up can be used to achieve [high availability (HA)](https://documentation.ubuntu.com/juju/3.6/reference/high-availability.md#high-availability) – though, depending on whether the charm delivering the application supports HA natively or not, you may also have to perform additional steps.
