All Products
Search
Document Center

ApsaraDB for SelectDB:Create an instance

Last Updated:Dec 05, 2025

This topic describes how to create an instance in the ApsaraDB for SelectDB console.

Prerequisites

  • You have an Alibaba Cloud account. If you do not have one, go to the official Alibaba Cloud website to register an account.

  • You have activated Application Real-Time Monitoring Service (ARMS) for your Alibaba Cloud account.

    Note
    • Activating ARMS is free. All ARMS sub-products are available after activation. For paid sub-products, ARMS provides a free quota. After you exhaust the free quota, you are charged for your usage.

    • For more information about how to activate ARMS, see Activate ARMS.

Notes

  • When you use a Resource Access Management (RAM) user to create a SelectDB instance, the RAM user must have the AliyunSelectDBFullAccess permission. For more information about how to grant permissions, see Grant permissions to a RAM user.

  • When you create a pay-as-you-go instance, make sure that your Alibaba Cloud account has a sufficient balance.

  • An instance can contain one or more BE clusters. When you create an instance, it includes a single cluster that uses the same billing method as the instance. To scale out, you can create a new cluster in the instance.

Important

After a SelectDB instance is created, an address is generated for the FE cluster. This address is accessible within the virtual private cloud (VPC) and exposes port 8080 for HTTP operations such as StreamLoad imports and metric scraping. Access to this address is controlled by a whitelist. To access the instance using this address, make sure that the IP address of the client is added to the whitelist of the destination instance. For more information about how to configure a whitelist, see Configure a whitelist.

Procedure

  1. Log on to the ApsaraDB for SelectDB console.

  2. On the Instances page, click Create Instance.

  3. On the purchase page, select a Billing Method.

    Product Type

    Scenarios

    Subscription

    This is a subscription billing method. You pay for resources before you use them. This method is suitable for long-term use and is more cost-effective than pay-as-you-go. The longer the subscription duration, the higher the discount.

    Pay-as-you-go

    This is a pay-as-you-go billing method. You are charged for the resources that you use on an hourly basis. This method is suitable for short-term needs, such as testing. You can release the instance immediately after use to save costs. After your resource usage becomes stable, you can change the billing method from pay-as-you-go to subscription.

  4. Configure the following parameters based on the selected Billing Method.

    Subscription

    Parameter

    Description

    Example

    Region and Zone

    Region: The region where the instance is located. You cannot change the region after the instance is created. Select a region close to your business to reduce network latency.

    Zone: A zone is a physical area within a region that has independent power and networks. Zones in the same region are not substantially different from each other.

    China, China (Hangzhou), Hangzhou Zone H

    VPC

    The VPC in which to create the instance. If you do not have a VPC, go to the VPC console to create one.

    vpc-bp175iuvg8nxqraf2****

    vSwitch

    Select a vSwitch in the selected VPC. If you do not have a vSwitch, go to the VPC console to create one.

    vsw-bp1gzt31twhlo0sa5****

    Kernel Version

    The SelectDB kernel version corresponds to an Apache Doris version. For more information, see Kernel release history.

    3.0

    Instance Deployment Architecture

    The deployment architecture of the instance determines its disaster recovery capability.

    • Zone-redundant Storage: Resources are deployed in multiple zones to provide cross-zone disaster recovery. If a zone fails, services can be recovered in other zones to ensure that no metadata or persistent data is lost.

    • Locally Redundant Storage: Resources are deployed in a single zone. This option is cost-effective but does not provide cross-zone disaster recovery.

    Zone-redundant storage

    Cluster Computing Resources

    The total computing resources of all subscription clusters in the instance. When you create a subscription instance, a subscription cluster is created by default. Therefore, the subscription computing resources are also the computing resources of this default cluster.

    8 vCores, 32 GB

    Cluster Cache Size

    The total cache of all subscription clusters in the instance.

    Note

    When you create a subscription instance, a subscription cluster is created by default. Therefore, the subscription cache capacity is also the cache capacity of this default cluster.

    • The cache is used to store hot data to accelerate read and write operations. The cache size is constrained by the computing resources. The available range for the cache size varies based on the selected computing resource specifications.

    • Unit: GB

    200 GB

    Instance Storage Capacity

    Used to store full data. You do not need to specify a size in advance.

    The metering system collects instance storage usage statistics every hour and generates hourly bills based on the actual usage.

    None

    Table Name Case Sensitivity

    Specifies whether table names are case-sensitive.

    Case-sensitive

    Resource Group

    Select a resource group for the instance.

    If you want a RAM user to access the instance using a resource group, you must grant the required permissions to the RAM user. For more information about the permissions, see Grant permissions to access ApsaraDB for SelectDB instances using resource groups.

    Default Resource Group

    Tag

    Optional. Add a tag to your instance.

    Duration

    If you set the billing method to Subscription, you must specify the subscription duration.

    1 month

    Auto-renewal

    If you set the billing method to Subscription, you can select this option to enable auto-renewal as needed.

    If you do not select Auto-renewal when you create the instance, you can enable auto-renewal or perform manual renewal in the Renewal console.

    Select Auto-renewal

    Pay-as-you-go

    Parameter

    Description

    Example

    Region and Zone

    Region: The region where the instance is located. You cannot change the region after the instance is created. Select a region close to your business to reduce network latency.

    Zone: A zone is a physical area within a region that has independent power and networks. Zones in the same region are not substantially different from each other.

    China, China (Hangzhou), Hangzhou Zone H

    VPC

    The VPC in which to create the instance. If you do not have a VPC, go to the VPC console to create one.

    vpc-bp175iuvg8nxqraf2****

    vSwitch

    Select a vSwitch in the selected VPC. If you do not have a vSwitch, go to the VPC console to create one.

    vsw-bp1gzt31twhlo0sa5****

    Kernel Version

    The SelectDB kernel version corresponds to an Apache Doris version. For more information, see Kernel release history.

    2.4

    Instance Deployment Architecture

    The deployment architecture of the instance determines its disaster recovery capability.

    • Zone-redundant Storage: Resources are deployed in multiple zones to provide cross-zone disaster recovery. If a zone fails, services can be recovered in other zones to ensure that no metadata or persistent data is lost.

    • Locally Redundant Storage: Resources are deployed in a single zone. This option is cost-effective but does not provide cross-zone disaster recovery.

    Zone-redundant storage

    Cluster Computing Resources

    The total computing resources of all pay-as-you-go clusters in the instance. When you create an instance, a pay-as-you-go cluster is created by default. Therefore, the computing resources are also the computing resources of this default cluster.

    4 vCores, 16 GB

    Cluster Cache Size

    The total cache of all pay-as-you-go clusters in the instance.

    Note

    When you create an instance, a pay-as-you-go cluster is created by default. Therefore, the cache capacity is also the cache capacity of this default cluster.

    • The cache is used to store hot data to accelerate read and write operations. The cache size is constrained by the computing resources. The available range for the cache size varies based on the selected computing resource specifications.

    • Unit: GB

    200 GB

    Table Name Case Sensitivity

    Specifies whether table names are case-sensitive.

    Case-sensitive

    Resource Group

    Select a resource group for the instance.

    Default Resource Group

    Tag

    Optional. Add a tag to your instance.

  5. Click Buy Now and complete the payment as prompted.

    Instance creation takes about 10 to 15 minutes. You can go to the Instances page and refresh the page to view the new SelectDB instance.