Skip to main content

Configure Extend app replicas limit and resource allocation

Last updated on November 18, 2024

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.

TypeReserved CPUCPUReserved MemoryMemory
Extend Override585 millicores1 – 1,415 millicores1714 MB1 – 2,382 MB
Extend Service Extension585 millicores1 – 1,415 millicores1714 MB1 – 2,382 MB
Extend Event Handler785 millicores1 – 1,215 millicores2738 MB1 – 1,358 MB

Configure replicas limit and resource allocation

To configure the replicas limit and resource allocation of an Extend app, follow these steps:

note

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.

  1. On the AGS Admin Portal sidebar, go to Extend and select the Extend app menu where your app is in.

  2. From the list of Extend apps, click on the name of the Extend app you want to update to open its details page.

  3. At the top-right side of the details page, click on the settings button (gear icon). The Settings page appears.

    Extend app settings

  4. On the Settings page of the Extend app, configure the replicas limit and resource allocation as needed:

    Settings page

    • 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.
  5. Click Save to apply your changes.

    warning

    If the Extend app you're configuring is currently running, the app will automatically restart after you save your changes to apply them.