Automatically Scaling Up Storage Space
You can enable storage autoscaling for GeminiDB HBase instances. When storage usage reaches the limit, autoscaling is triggered.
You can enable Auto Scale:
- When you create an instance. For details, see Getting to Know GeminiDB HBase API.
- After you create an instance
This section describes how to configure Auto Scale after an instance is created.

- If you enable Auto Scale using a Huawei Cloud account, no additional configuration is required.
- If you enable Auto Scale as an IAM user first time, you need to obtain the permission to create an agency.
Configuring Permissions
- Configure the GeminiDB FullAccess permission.
- Configure fine-grained permissions for IAM.
For details about how to configure IAM permissions, see Creating a Custom Policy.
If you use the JSON view to configure a custom policy, the policy content is as follows:{ "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" ] } ] }
- Create a user group and assign permissions.
You can create a user group on the IAM console and grant it custom permissions created in 2 and the security administrator role.
- Create an IAM user and add it to a user group.
Log in to the IAM console using a Huawei Cloud account or as an IAM user, locate the IAM user that the target instance belongs to, and add it to the user group created in 3. The IAM user will inherit permissions of the user group.
Usage Notes
- Autoscaling 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.
Automatically Scaling Up Storage of a Single Instance
- Log in to the Huawei Cloud console.
- In the service list, choose Databases > GeminiDB.
- On the Instances page, click the target instance. The Basic Information page is displayed.
- In the Storage Space area, click Auto Scale.
Figure 1 Auto Scale
- Toggle on Auto Scale and specify the parameters below.
Figure 2 Configuring autoscaling parameters
Table 1 Description Parameter
Description
Auto Scale
If you toggle on this switch, autoscaling is enabled.
Trigger If Available Storage Drops To
When the available storage usage drops to a specified threshold or the available storage drops to 10 GB, autoscaling is triggered.
Increase By
Percentage that your instance storage will be 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 (GB) that can be automatically scaled up to.
The value must be no less than the storage of your instance and cannot exceed the maximum storage supported by your instance.
- Click OK.
Automatically Scaling Up Storage of Multiple Instances In Batches
- Log in to the Huawei Cloud console.
- In the service list, choose Databases > GeminiDB.
- Select instances and click Auto Scale.
Figure 3 Auto Scale
- Select an instance, toggle on Auto Scale, and specify the parameters below.
Figure 4 Batch Auto Scale
Table 2 Description Parameter
Description
Auto Scale
If you toggle on this switch, autoscaling is enabled.
Trigger If Available Storage Drops To
When the available storage usage drops to a specified threshold or the available storage drops to 10 GB, autoscaling is triggered.
Increase By
Percentage that your instance storage will be 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
The value cannot be specified. By default, the storage is scaled up to the maximum defined by your instance specifications.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot