This topic describes how to create an instance in the ApsaraDB for SelectDB console.
Prerequisites
An Alibaba Cloud account is created. If you have not created an Alibaba Cloud account, go to the Alibaba Cloud official website to create one.
The AliyunSelectDBFullAccess policy is attached to a Resource Access Management (RAM) user if you want to create an ApsaraDB for SelectDB instance as the RAM user. For more information about how to grant permissions to a RAM user, see Grant permissions to a RAM user.
Application Real-Time Monitoring Service (ARMS) is activated. For more information, see Activate ARMS.
The balance of your Alibaba Cloud account is at least CNY 100 if you want to create a pay-as-you-go instance.
Usage notes
By default, the system creates a cluster in an ApsaraDB for SelectDB instance when you create the instance. Make sure that at least one cluster is available in an ApsaraDB for SelectDB instance.
Procedure
Log on to the ApsaraDB for SelectDB console.
In the left-side navigation pane, click Instances. On the Instances page, click Create Instance.
On the buy page, specify the billing method of the instance.
Billing method
Scenario
Subscription
You complete the payment when you create an instance. If you want to use the instance for a long period of time, the subscription billing method is more cost-effective than the pay-as-you-go billing method. You are provided with larger discounts for longer subscription durations.
Pay-as-you-go
You pay for bills after you use an instance. After you purchase the instance, Alibaba Cloud automatically deducts fees from your account on an hourly basis based on the instance specifications. You can use this billing method if you want to use the instance for a short period of time. For example, if you create an instance for a test, you can release the instance to reduce costs after the test is complete. When you can estimate the amount of resources that you need each month or each year, you can change the billing method of the instance from pay-as-you-go to subscription.
Configure the parameters that are described in the following table as prompted.
Parameter
Description
Example
Region and Zone
The region and zone in which you want to create the ApsaraDB for SelectDB instance. A region indicates the geographical location at which the instance resides. You cannot change the region after the instance is created. To accelerate access, we recommend that you select a region that is nearest to the location of your business.
A zone indicates the physical area that has an independent power supply and an independent network in a region. Zones are isolated from each other. All zones in a region provide the same services.
China, China (Hangzhou), Hangzhou Zone H
VPC ID
The ID of the virtual private cloud (VPC) in which you want to create the instance. If no VPC is available, go to the VPC console to create one.
vpc-bp175iuvg8nxqraf2****
vSwitch ID
The ID of the vSwitch in the specified VPC. If no vSwitch is available, go to the VPC console to create one.
vsw-bp1gzt31twhlo0sa5****
Kernel Version
The kernel version of the ApsaraDB for SelectDB instance. The kernel version corresponds to a version of Apache Doris. For more information, see Release notes for SelectDB Core.
2.4
Computing Resource Quota
The total computing resources of all subscription clusters in the instance. When you create a subscription instance, the system creates a subscription cluster in the instance by default. In this case, the computing resources of the default cluster equals the total computing resources of the instance.
4 Cores, 32 GB
Cache Size
The total cache size of all subscription clusters in the instance. When you create a subscription instance, the system creates a subscription cluster in the instance by default. In this case, the cache size of the default cluster equals the total cache size of the instance.
200 GB
Storage Capacity
The storage capacity of the instance. You do not need to preset the storage capacity of the instance. You are charged for the storage space based on the pay-as-you-go billing method. All clusters in the instance share the same stored data.
N/A
Computing Resources
The total computing resources of all pay-as-you-go clusters in the instance. When you create a pay-as-you-go instance, the system creates a pay-as-you-go cluster in the instance by default. In this case, the computing resources of the default cluster equals the total computing resources of the instance.
4 Cores, 32 GB
Cache Size
The total cache size of all pay-as-you-go clusters in the instance. When you create a pay-as-you-go instance, the system creates a pay-as-you-go cluster in the instance by default. In this case, the cache size of the default cluster equals the total cache size of the instance.
200 GB
Storage Capacity
The storage capacity of the instance. You do not need to preset the storage capacity of the instance. You are charged for the storage space based on the pay-as-you-go billing method. All clusters in the instance share the same stored data.
N/A
Duration
The subscription duration of the instance. If you set the Product Type parameter to Subscription, you must configure the Duration parameter.
1 Month
Auto-renewal
Specifies whether to enable the auto-renewal feature for the instance. If you set the Product Type parameter to Subscription, you can determine whether to enable the auto-renewal feature for the instance. If you do not enable the auto-renewal feature for the instance when you create the instance, you can enable the auto-renewal feature or manually renew the instance in the User Center console.
Auto-renewal is selected.
Click Buy Now and complete the payment as prompted.
You can go to the Instances page in the ApsaraDB for SelectDB console and refresh the page to view the created ApsaraDB for SelectDB instance.