Horizontal Scaling
Horizontal Scaling
Horizontal scaling allows you to increase or decrease the number of application instances within an environment layer. It helps distribute workload, improve availability and adapt the environment capacity to changing demand.
Overview
Unlike vertical scaling, which changes the resources available to an individual container, horizontal scaling changes the number of containers in a layer. You can scale a layer manually through the environment topology or configure automatic scaling rules based on application load.
Tip
Before scaling an application layer, confirm that the application supports multiple instances and that shared files, sessions and database connections are configured appropriately.
Manually Scale a Layer
Use the environment topology wizard to add or remove nodes from a selected layer.
Open the environment topology
From the dashboard, locate the required environment and select Change Environment Topology or the equivalent topology-editing action.

Set the required node count
Use the + and − controls, enter the required number directly, or adjust the scaling slider. The topology displays the updated number of instances before the change is applied.
Select the scaling mode
Choose either Stateless or Stateful scaling from the layer settings. The selected mode determines how newly added nodes are created.
Apply the topology changes
Review the estimated resource usage and confirm the operation. The platform creates or removes the required containers and updates the environment topology.
Scale-in behaviour
When the number of nodes is reduced, the most recently added container is normally removed first unless a particular instance is selected explicitly.
Scaling Modes
The scaling mode can be selected during environment creation and changed later through the topology wizard.

During initial environment creation, multiple nodes can be provisioned simultaneously because the layer does not yet contain user customizations. For later scaling operations, the selected mode determines whether the master node’s file system is copied.
Recommended approach
Use stateful scaling when application files, custom server settings or local configuration must be reproduced on every new node. Use stateless scaling for immutable or externally configured workloads.
Stateless Mode Considerations
New nodes created in stateless mode are generated from the base template. Consequently, some changes made after the original deployment are not transferred automatically.
Important
For stateless workloads, keep application code and configuration in a repeatable deployment source such as a repository, container image, automation package or shared storage. Do not depend on manual changes made only inside one running node.
Horizontal Scaling Specifics
The maximum number of same-type nodes allowed in a layer is defined by the hosting provider and account limits. The applicable limit can be reviewed in the account quotas or pricing information.

Manage Scaled Nodes
After scaling, the layer can be managed either as a group or at the individual-node level.
Manage the complete layer
Use the action icons on the layer row to perform supported operations across all instances, such as restart, redeploy, configuration editing, log inspection or statistics review.
Expand the layer
Expand the node-group row to display every instance. The master node is normally identified by a dedicated icon, while each container has its own node ID.
Assign meaningful node aliases
Edit the default node label and enter a descriptive alias where required. This is useful for distinguishing roles such as primary, replica, worker, reporting or maintenance nodes.

Stack-Specific Behaviour
Some environment components have additional rules when they are scaled.
Operational recommendation
Test scaling in a non-production environment before applying it to a live workload. Verify application startup, health checks, shared sessions, file synchronization and load-balancer routing on newly created nodes.
Common Issues and Solutions
Expected Result
After the scaling operation is completed, the selected environment layer contains the required number of active nodes. Requests can be distributed among the instances, and the layer can be managed collectively or each node can be accessed individually.
Important Notes
- Choose the scaling mode before adding nodes and verify that it matches the application’s data and configuration model.
- Store persistent data outside the local container file system whenever possible.
- Review account quotas before planning a large scale-out operation.
- Check application logs and monitoring data immediately after scaling.
- During scale-in, confirm that the node selected for removal does not contain unique or unsynchronized data.
