Before you use ApsaraDB for OceanBase, you must create a database instance. This topic describes the procedure for creating an instance and the parameters that must be specified.
You can create and manage instances in the ApsaraDB for OceanBase console. By default, an instance consists of three zones, all of which provide read and write services. When you purchase an instance, a backup and recovery order is generated. For more information, see Billing for backup and recovery.
Log on to the ApsaraDB for OceanBase console.
If this is your first time creating an instance, click Create Now as prompted.
In the left-side navigation pane, click Instances.
In the upper-right corner of the page, click Create Database Instance.
Based on the billing method you need, select Subscription or Pay-As-You-Go.
Subscription: You must pay for an instance when you create it. This billing method is more favorable than the Pay-As-You-Go billing method if you need to use the instance for a long term. You can get a higher discount if you subscribe for a longer term.
Pay-As-You-Go: The fees are charged on an hourly basis and are postpaid. This billing method applies to short-term requirements. To save costs, you can release the instance immediately when the instance is no longer needed.
After you choose the billing method, specify Instance Type, Series, Region, Deployment Plan, Availability Zone, Node Specifications, Node Quantity, Storage Type, Storage Size, Resource Group, Quantity, and Subscription Term.Note
If you specify Tenant Instance for Instance Type, you must also specify information about the tenant instance, such as the VPC ID, primary zone, vSwitch ID, AliyunServiceRoleForOceanBaseEncryption, character set, and time zone.
The type of the purchased instance.
Standard Edition (Cloud Disk): We recommend that you use this high-availability instance. It supports the widest range of specifications and deployment modes and is applicable to more scenarios.
Standard Edition (Local Disk): In this edition, local SSD disks are used for storage. It applies to scenarios that require high stability.
Standard Edition (History Database): This instance is the same as the high-availability instance, except that the cloud disks are replaced with HDDs. It applies mainly to the storage of massive amounts of archived data that is infrequently accessed.
If you specify Tenant Instance for Instance Type, you can purchase only the Standard Edition (Cloud Disk) series.
The geographical location where the instance resides.
To accelerate the access, we recommend that you select a region that is geographically close to your location.
You cannot change the region after you confirm your order.
Multi-IDC Deployment: It is a multi-zone deployment plan in which the primary and standby nodes are located in different zones for disaster recovery. This does not incur additional charges. By default, three zones are selected.
Dual-IDC Deployment: Two nodes are deployed in two zones. A log node is deployed in a third zone. This node is used only for log synchronization and does not provide read or write services. Dual-IDC deployment provides the same availability as multi-IDC deployment, and is more cost-effective.
Single-IDC Deployment: All nodes are deployed in the same zone.
The available deployment plans vary with the region. For more information, see Pricing.
If you choose a multi-IDC deployment plan, you can deploy three nodes in three different zones to achieve zone-level disaster recovery. This does not incur additional charges.
If you choose a dual-IDC deployment plan, you can deploy two nodes in any two zones.
If you choose a single-IDC deployment plan, you can deploy all nodes in any single zone.
All nodes use exclusive resources. The node specifications specify the CPU and memory resources allocated to the instance. An instance contains one primary node and two standby nodes.
The specifications for sale vary based on the series. For more information, see Specifications for sale.
Supported storage types: ESSD PL1 and ESSD PL0 cloud disks.
The ESSD PL1 cloud disk is recommended and used by default.
The ESSD PL0 cloud disk is a cost-effective option.
The ESSD PL0 cloud disk is available only to users in the whitelist. To activate it, contact Alibaba Cloud Technical Support. You can directly purchase an ESSD PL0 or ESSD PL1 cloud disk, or upgrade an ESSD PL0 cloud disk to an ESSD PL1 cloud disk.
The maximum storage capacity varies with the node specifications. To increase the capacity, submit a ticket.
A resource group is a container that manages all resources under an Alibaba Cloud account. A resource can only be managed in one resource group. You can map a resource group to a project, application, or organization in different business scenarios. For more information, see Use RAM to create and authorize resource groups.
The ID of the VPC where the tenant instance resides. This parameter is required if Tenant Instance is selected for Instance Type.
The ID of the primary zone to which the instance belongs. This parameter is required if Tenant Instance is selected for Instance Type.
The ID of the primary vSwitch of the tenant instance. This parameter is required if Tenant Instance is selected for Instance Type.
The role that you used to create the tenant instance. You must also use this role to access your resources in the VPC and purchase an ApsaraDB for OceanBase tenant instance. For more information, see AliyunServiceRoleForOceanBaseEncryption.
This parameter is required if Tenant Instance is selected for Instance Type.
The character set used by the tenant instance. This parameter is required if Tenant Instance is selected for Instance Type.
The time zone of the tenant instance. This parameter is required if Tenant Instance is selected for Instance Type.
The version of OceanBase Database of the purchased instance.
The number of purchased instances.
The validity period of the subscription in the unit of month.
You can enable automatic renewal. The renewed term is the same as the subscription term.
Click Buy Now.
Select I have read and agree to the OceanBase subscription service agreement, and click Pay Now.
After you have made the payment, you can view the created instance in the instance list.
The Instances list shows the details of instances, such as the type, series, zone, specification, storage space, billing method, tag, and status.
If you have selected the Pay-As-You-Go billing method, you can click the More icon in the Actions column to add or remove nodes, scale up the storage space and specifications, change the billing method, or release the instance. If you have selected the Subscription billing method, you can click the More icon in the Actions column to add nodes, scale up the storage space and specifications, or renew the subscription.