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 | 585 millicores | 1 – 1,415 millicores | 1714 MB | 1 – 2,382 MB |
Extend Service Extension | 585 millicores | 1 – 1,415 millicores | 1714 MB | 1 – 2,382 MB |
Extend Event Handler | 785 millicores | 1 – 1,215 millicores | 2738 MB | 1 – 1,358 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.