Help Center/ GeminiDB/ GeminiDB Influx API/ Working with GeminiDB Influx API/ Instance Modifications/ Scaling Storage Space/ Automatically Scaling Up Storage Space of a GeminiDB Influx Instance
Updated on 2025-07-29 GMT+08:00

Automatically Scaling Up Storage Space of a GeminiDB Influx Instance

You can enable autoscaling for GeminiDB Influx instances. When storage usage reaches the limit, autoscaling is triggered.

You can enable storage autoscaling when or after creating an instance. For details, see Buying a GeminiDB Influx Instance.

This section describes how to configure storage autoscaling after an instance is created.

Configuring Permissions

If you are using an IAM user, perform the following operations to configure GeminiDB and IAM permissions before you enable storage autoscaling:
  1. Configure fine-grained permissions for IAM and least permissions for GeminiDB.

    For details about how to configure IAM permissions, see Creating a Custom Policy.

    {
         "Version":"1.1",
         "Statement":[
             {
                 "Effect":"Allow",
                 "Action":[
                     "iam:permissions:listRolesForAgencyOnProject",
                     "iam:permissions:grantRoleToGroupOnProject",
                     "iam:agencies:createAgency",
                     "iam:agencies:listAgencies",
                     "iam:roles:listRoles",
                     "iam:roles:createRole"
                 ]
             }
         ]
     }
  2. Create a user group and assign permissions to it.

    You can create a user group on the IAM console and grant it custom permissions created in 1 and the security administrator role.

  3. Add a user to a user group.

    Log in to the IAM console using a Huawei Cloud account or an IAM account, locate the IAM user that the target instance belongs to, and add it to the user group created in 2. The IAM user will inherit permissions of the user group.

Usage Notes

  • Auto Scale is available only when your account balance is sufficient.
  • The instance is in the Available status.
  • Once Auto Scale is enabled, an agency will be created and fees will be automatically deducted.
  • Currently, only GeminiDB Influx instances in a performance-enhanced cluster support autoscaling.
  • By default, when the storage is used up (the available storage space is less than or equal to 10% or the available storage is less than or equal to 10 GB), autoscaling is triggered.

Automatically Scaling Up Storage of a Single Instance

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB.
  3. On the Instances page, click the target instance. The Basic Information page is displayed.
  4. In the Storage Space area, click Auto Scale.

    Figure 1 Auto Scale

  5. Toggle on Auto Scale and specify the trigger condition and increment.

    Figure 2 Configuring autoscaling parameters
    Table 1 Parameters

    Parameter

    Description

    Auto Scale

    If you toggle on this switch, autoscaling is enabled.

    Trigger If Available Storage Drops To

    If the available storage usage drops to a specified threshold (10%, 15%, or 20%), autoscaling is triggered.

    Increase By

    Percentage of the current storage to be automatically scaled up at. The value can be 10%, 15%, or 20%. If the value is not a multiple of 10, it is rounded up. At least 100 GB is added each time.

    Storage Limit

    Limit of storage that can be automatically scaled up to

  6. Click OK.

Automatically Scaling Up Storage of Multiple Instances In Batches

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB.
  3. In the instance list, select the target instances and click Auto Scale.

    Figure 3 Auto Scale

  4. Toggle on Auto Scale and specify trigger conditions.

    Figure 4 Configuring autoscaling parameters
    Table 2 Parameters

    Parameter

    Description

    Auto Scale

    If you toggle on this switch, autoscaling is enabled.

    Trigger If Available Storage Drops To

    If the available storage usage drops to a specified threshold (10%, 15%, or 20%), autoscaling is triggered.

    Increase By

    Percentage of the current storage to be automatically scaled up at. The value can be 10%, 15%, or 20%. If the value is not a multiple of 10, it is rounded up. At least 100 GB is added each time.

    Storage Limit

    Limit of storage that can be automatically scaled up to

  5. Click OK.