Configure Extend app replicas limit and resource allocation
Overview
This article walks you through how to configure your Extend app's limit of replicas and allocation of CPU and and memory in the AccelByte Gaming Services (AGS) Admin Portal.
Configuration limits
Replicas
Each type of Extend app can have one up to 60 replicas.
Resources (CPU and memory)
Each Extend app type has its own range for allowed CPU and memory allocation considering the reserved resources for the internal component, as shown in the table below.
Type | Reserved CPU | CPU | Reserved Memory | Memory |
---|---|---|---|---|
Extend Override | 450 millicores | 1 – 1,550 millicores | 700 MB | 1 – 3,300 MB |
Extend Service Extension | 450 millicores | 1 – 1,550 millicores | 700 MB | 1 – 3,300 MB |
Extend Event Handler | 750 millicores | 1 – 1,350 millicores | 1700 MB | 1 – 2,300 MB |
Configure replicas limit and resource allocation
To configure the replicas limit and resource allocation of an Extend app, follow these steps:
The CPU and memory allocation of an Extend app can also be configured during creation, on the Create New Extend app form. The resource allocation set during creation can later be adjusted, if needed.
On the AGS Admin Portal sidebar, go to Extend and select the Extend app menu where your app is in.
From the list of Extend apps, click on the name of the Extend app you want to update to open its details page.
At the top-right side of the details page, click on the settings button (gear icon). The Settings page appears.
On the Settings page of the Extend app, configure the replicas limit and resource allocation as needed:
- Replicas: adjust the minimum and maximum number of replicas the Extend app is allowed to have. The replicas limit can be up to 60 replicas.
- Resources
- CPU: adjust the Extend app's CPU allocation using millicores. Note that 1 CPU unit is equivalent to 1,000 millicores. For example, to allocate 0.5 of a CPU to the Extend app, set the value to 500 millicores.
- Memory: adjust the Extend app's memory allocation using MB.
Click Save to apply your changes.
warningIf the Extend app you're configuring is currently running, the app will automatically restart after you save your changes to apply them.