> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# scaleApplication

> Scales an application container by adjusting the amount of memory or number of instances that are assigned to run it. Inputs Input Name Input Code Req

Scales an application container by adjusting the amount of memory or number of instances that are assigned to run it.

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Identity Domain</td><td>`FDACC_IDENTITY_DOMAIN`</td><td>Yes</td><td>The identity domain in which to perform operations.</td></tr><tr><td>Application Name</td><td>`FDACC_APPLICATION_NAME`</td><td>Yes</td><td>The name of the Application Container.</td></tr><tr><td>Username</td><td>`FDACC_USERNAME`</td><td>Yes</td><td>The username with which to connect to the Application Container.</td></tr><tr><td>Password</td><td>`FDACC_PASSWORD`</td><td>Yes</td><td>The password for `FDACC_USERNAME`.</td></tr><tr><td>Timeout</td><td>`FDACC_TIMEOUT`</td><td>No</td><td>The number of minutes to wait for the instance to start. If the number of minutes is exceeded, the operation will exit with a failure. Defaults to 60 minutes.</td></tr><tr><td>Instance Count</td><td>`FDACC_INSTANCE_COUNT`</td><td>No</td><td>The quantity of instances desired.</td></tr><tr><td>Ram Amount</td><td>`FDACC_RAM_AMOUNT`</td><td>No</td><td>The amount of RAM to allocate to each instance (e.g. `4G`)</td></tr></tbody></table>

# Artifacts

This operation doesn't consume or produce any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will randomly execute on one of the endpoints identified during selection.
