Scaling¶
See also: 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 and horizontal scaling through units.
Horizontal scaling up can be used to achieve high availability (HA) – though, depending on whether the charm delivering the application supports HA natively or not, you may also have to perform additional steps.