Create a PolarDB cluster with custom settings in the PolarDB console.
Prerequisites
You have registered for and logged in to an Alibaba Cloud account.
Usage notes
supports the Oracle-compatible 64-bit DATE type. This requires the latest PolarDB JDBC driver, version 42.2.9.1.2 or later. Earlier versions may cause precision loss. For more information, see Support for the 64-bit DATE type.
Procedure
-
Go to the PolarDB Custom Purchase page and configure the following parameters.
Category
Parameter
Description
Billing Method
-
Subscription: Prepaid for a fixed period. Longer periods offer greater discounts. Best for stable, long-term workloads.
-
Pay-as-you-go: Postpaid based on actual usage with no upfront cost. Best for fluctuating workloads.
NoteYou can change the billing method of your PolarDB cluster at any time.
Region
Select where to create the cluster. The region cannot be changed after creation. Regions and zones.
Note-
Create your PolarDB cluster in the same region as the connecting ECS instance. Otherwise, traffic goes over the public network, which degrades performance.
-
Your PolarDB cluster and ECS instance can be in different zones, but placing them in the same zone reduces latency.
Creation Method
Select how to create the PolarDB cluster.
-
Create the master cluster: Creates a new PolarDB cluster.
-
Restore from Recycle: Restores a deleted cluster from a backup in Recycle.
-
Original Version: The version of the deleted cluster.
-
Deleted Clusters: The name of the deleted cluster.
-
Backup History: Select the backup that you want to restore.
-
NoteOther options are available for creating clusters of different database engines.
Engine and Version
Database Engine
Select Database Engine as the Compatible with Oracle 2.0.
Service Edition
This parameter is fixed as Enterprise Edition.
Edition
The default value is Cluster Edition (Recommended).
Specification Edition
This parameter is fixed as Dedicated.
NoteAvailable specs: Compute node specifications.
CPU Architecture
The default value is X86.
Network and Zone
Primary Zone
Select the Primary Zone for the cluster.
-
Zones are independent physical areas within a region with no significant differences.
-
Your PolarDB cluster and ECS instance can be in the same or different zones.
Network Type
Configure the VPC and vSwitch.
The network type is fixed as VPC. Place your PolarDB cluster and connecting ECS instance in the same VPC for internal network communication.
-
If a suitable VPC exists, select it—for example, the VPC containing your ECS instance.
-
If no suitable VPC exists, use the default VPC and vSwitch:
-
Default VPC:
-
Unique within your selected region.
-
Uses a 16-bit subnet mask, such as 192.168.0.0/16, which provides up to 65,536 private IP addresses.
-
Does not count against your VPC quota.
-
-
Default vSwitch:
-
Unique within your selected zone.
-
Uses a 20-bit subnet mask, such as 192.168.0.0/20, which provides up to 4,096 private IP addresses.
-
Does not count against the vSwitch quota in your VPC.
-
-
-
If the defaults do not meet your needs, create a custom VPC and vSwitch. Create and manage a VPC.
HA Mode
Select a HA Mode.
-
Dual-AZ (Hot Standby Storage Cluster Enabled): PolarDB deploys a primary cluster and a Hot Standby Storage Cluster, each with three data replicas (six total), for a higher SLA.
-
Single-AZ (Hot Standby Storage Cluster Disabled): Retains only the primary cluster with three data replicas. Storage costs half the Dual-AZ price, but the SLA is lower.
NoteArchitecture details: High-availability mode.
Secondary Zone
Select a Secondary Zone. This is required only if HA Mode is set to Dual-AZ (Hot Standby Storage Cluster Enabled). You can also select Auto-assign.
Specification and Proxy
Node Specifications
Select the specifications for the cluster's compute nodes.
Nodes
By default, two nodes are displayed: one primary node and one read-only node. The primary node count is fixed. Adjust read-only nodes as needed, but keep at least one for high availability.
Storage
Storage Type
PolarDB supports two storage types: PSL5 and PSL4.
-
PSL5: A legacy storage type in PolarDB with high performance, reliability, and availability.
-
PSL4: Uses Alibaba Cloud technology to compress and decompress data at the physical SSD level, reducing storage cost while maintaining predictable performance.
NoteThe storage type cannot be changed after creation. To switch, create a new cluster and migrate your data.
Compare the two types: .
Storage Billing Method
PolarDB supports two storage billing methods: Pay by Capacity (Pay-as-you-go) and Subscription.
-
Pay by Capacity (Pay-as-you-go): This serverless method does not require you to specify a storage capacity upfront. Storage scales automatically with data growth, and you pay only for what you use.
-
Subscription: You must specify and pay for storage capacity upfront.
NoteThis parameter is available only when the Billing Method is set to Subscription.
Storage Capacity
Pre-purchase storage capacity. Range: 10 GB–500 TB in 10 GB increments.
NoteThis parameter is available only when Billing Method is set to Subscription and Storage Billing Method is set to Subscription.
Advanced Options (Optional)
Cluster Name
Auto-generate or customize the Cluster Name.
The Cluster Name can be modified after creation if auto-generated.
A custom Cluster Name must meet these requirements:
-
It cannot start with
http://orhttps://. -
It must be 2 to 256 characters in length.
Resource Group
In Create a resource group, select a target resource group.
NoteA resource group manages related resources under one Alibaba Cloud account. Each resource belongs to one group. Resource groups and authorization.
Enable TDE
Enable or disable Transparent Data Encryption (TDE). TDE encrypts PolarDB data files transparently but may reduce performance by 5%–10%.
Note-
TDE cannot be disabled once enabled.
-
TDE uses Key Management Service (KMS). After enabling TDE, configure a service-linked role to authorize PolarDB to access KMS.
-
-
Confirm your configurations on the right side of the page, then set the following parameters:
Parameter
Description
Quantity
Select the number of clusters to purchase.
Note-
You can create up to 50 clusters at once, ideal for batch deployments such as game servers.
-
An Alibaba Cloud primary account can own a maximum of 50 clusters.
Subscription Duration
For the Subscription billing method, set a Subscription Duration and optionally enable Auto-renewal.
NoteEnable Auto-renewal to prevent service interruptions from missed renewals.
Review the cost breakdown, agree to the terms of service, and click Buy Now. On the Payment page, select a payment method and click Pay.
-
Cluster creation takes 10–15 minutes. View the new cluster on the Clusters page.
-
The cluster is available only when its status changes from Creating to Running.
-
Verify the correct region is selected, or the cluster may not appear.
Related APIs
|
API |
Description |
|
Creates a database cluster. |
|
|
Retrieves a list of clusters. |
|
|
Retrieves the attributes of a specific PolarDB cluster. |
|
|
Retrieves the auto-renewal status of a PolarDB subscription cluster. |
|
|
Modifies the auto-renewal status of a PolarDB subscription cluster. |