All Products
Search
Document Center

PolarDB:Custom purchase

Last Updated:Apr 12, 2025

This topic describes how to purchase a PolarDB cluster by using the PolarDB console.

Prerequisites

You have registered and logged on to an Alibaba Cloud account.

Purchase procedure

Enterprise Edition

  1. Go to the PolarDB Custom Purchase page and configure the following parameters.

    Category

    Parameter

    Description

    Billing Method

    • Subscription: You select resources of fixed specifications and pay upfront when you create a cluster. The longer the subscription duration, the larger the discount. This method is suitable for businesses with consistent and long-term resource requirements.

    • Pay-as-you-go: You select resources of fixed specifications but do not need to pay upfront when you create a cluster. You are charged based on your actual resource usage. This method is suitable for businesses with flexible resource requirements.

    Note

    If the current billing method of your PolarDB cluster does not meet your business requirements, you can change the billing method at any time based on your actual needs.

    Region

    The region of the cluster. After a cluster is created, the region of the cluster cannot be changed. For more information, see Regions and zones.

    Note
    • Make sure that PolarDB and the Elastic Compute Service (ECS) instance to which you want to connect are deployed in the same region. Otherwise, they can communicate only over the Internet instead of an internal network, which reduces performance.

    • You can deploy PolarDB and the ECS instance in the same zone or in different zones. If you deploy PolarDB and the ECS instance in the same zone, network latency is reduced and access speed is increased.

    Creation Method

    The method that you want to use to create a PolarDB cluster.

    • Create Primary Cluster: creates a new PolarDB cluster.

    • Restore From Recycle Bin: You can create a new cluster by restoring a backup of a deleted cluster from the recycle bin.

      • Original Version: The version of the deleted cluster.

      • Deleted Cluster: The name of the deleted cluster.

      • Historical Backup: The backup that you want to restore.

    • Migrate From RDS: First clone data from RDS, and then maintain incremental synchronization, mainly used for migration. Before the formal migration switch, PolarDB is read-only and Binlog is enabled by default. For more information, see Solution overview.

      • Source RDS Version: The version of the source RDS instance. You can select PostgreSQL 9, PostgreSQL 10, PostgreSQL 11, PostgreSQL 12, PostgreSQL 13, PostgreSQL 14, PostgreSQL 15, or PostgreSQL 16.

      • Source RDS Instance: The source RDS instance that you can select. Read-only instances are not included.

    Note

    You can select other options to create databases of other engines.

    Engine And Version

    Database Engine

    Select Database Engine. PolarDB for PostgreSQL supports the following five database engines:

    • PostgreSQL 17

    • PostgreSQL 16

    • PostgreSQL 15

    • PostgreSQL 14

    • PostgreSQL 11

    Edition

    Set Edition to Enterprise Edition.

    Series

    The value is fixed as Cluster Edition (Recommended).

    Subseries

    Two subseries are supported: General-purpose and Dedicated:

    • Dedicated: Each cluster exclusively occupies the allocated computing resources (such as CPU) and does not share resources with other clusters on the same server, providing more stable and reliable performance.

    • General-purpose: Different clusters on the same server fully utilize each other's idle computing resources (such as CPU), benefiting from resource reuse to achieve higher cost-effectiveness.

    CPU Architecture

    The value is fixed as X86.

    Network And Zone

    Primary Zone

    Select the Primary Zone of the cluster.

    • A zone is an independent geographical location in a region. All zones in a region provide the same level of service performance.

    • You can deploy PolarDB and the ECS instance in the same zone or in different zones.

    Network Type

    Configure the VPC and vSwitch.

    The network type is fixed as VPC. You do not need to configure this parameter. Make sure that PolarDB and the ECS instance to which you want to connect are deployed in the same VPC. Otherwise, they can communicate only over the Internet instead of an internal network, which reduces performance.

    • If you have an existing VPC that meets your network requirements, select the VPC. For example, if you have created an ECS instance in a VPC that meets your business requirements, select the VPC.

    • Otherwise, use the default VPC and the vSwitch:

      • Default VPC:

        • There is only one default VPC per region.

        • The CIDR block of the default VPC uses a 16-bit subnet mask, such as 192.168.0.0/16, and provides up to 65,536 private IP addresses.

        • The default VPC does not count against the quota of VPCs that you can create.

      • Default vSwitch:

        • There is only one default vSwitch per zone.

        • The CIDR block of the default vSwitch uses a 20-bit subnet mask, such as 192.168.0.0/20, and provides up to 4,096 private IP addresses.

        • The default vSwitch does not count against the quota of vSwitches that you can create in a VPC.

    • If the preceding default VPC and vSwitch do not meet your requirements, you can create a VPC and a vSwitch. For more information, see Create and manage a VPC.

    High Availability Model

    Select High Availability Mode.

    • Dual AZ (Enable Hot Standby Storage Cluster): PolarDB deploys a primary cluster (including compute nodes with mutual backup and primary storage) and a hot standby storage cluster in the current region. The primary cluster and the hot standby storage cluster each ensure three data replicas (a total of six data replicas), providing higher SLA reliability assurance.

    • Single AZ (Disable Hot Standby Storage Cluster): Only the primary cluster (three data replicas) is retained. The storage unit price is 1/2 of the unit price when the hot standby storage cluster is enabled. This delivers lower SLA than when this feature is enabled.

    Note

    For more information about the hot standby storage cluster and its solution, see High availability mode.

    Secondary Zone

    Select Secondary Zone. You need to configure this parameter only when you set High Availability Mode to Dual AZ (Enable Hot Standby Storage Cluster). Auto Assign is supported.

    Specifications And Proxy

    Node Specifications

    The compute node specifications.

    Note

    For more information about compute node specifications, see Specifications of compute nodes in Enterprise Edition.

    Number Of Nodes

    By default, the cluster consists of one primary node and one read-only node. You can select two nodes (a primary node and a read-only node) or one node (a primary node).

    Storage

    Storage Type

    PolarDB supports two storage types: PSL5 and PSL4:

    • PSL5: The storage type supported in historical versions of PolarDB. It delivers higher performance, reliability, and availability.

    • PSL4: A new storage type launched by PolarDB that uses Alibaba Cloud's self-developed Smart-SSD technology. This technology compresses and decompresses data stored at the physical SSD disk layer, keeping performance impact under control while lowering the storage price per unit capacity.

    Note

    The storage type of existing clusters cannot be changed. If you want to change the storage type, you need to create a new cluster with the desired storage type and then migrate data to the new cluster.

    For a detailed comparison of the two storage types, see How to choose between PSL4 and PSL5.

    Storage Billing Method

    PolarDB supports two storage billing methods: Pay-as-you-go (Billed By Capacity) and Subscription (Billed By Storage):

    • Pay-as-you-go (Billed By Capacity): This method uses a serverless approach. You do not need to select a capacity when purchasing. The system automatically scales online as data grows, and you are charged only for the storage space occupied by the actual data volume.

    • Subscription (Billed By Storage): This method requires you to prepay for the storage space of the database cluster when purchasing.

    For more information about the two storage billing methods, see Storage billing methods.

    Note

    This configuration is supported only when Billing Method is set to Subscription.

    Storage Space

    The amount of storage capacity that you want to purchase for your cluster. Valid values: 10 GB to 500 TB. The value that you select must be a multiple of 10 GB.

    Note

    This configuration is supported only when Billing Method is set to Subscription and Storage Billing Method is set to Subscription (Billed By Storage).

    Storage Fee

    You do not need to configure this parameter. The system charges you on an hourly basis based on the actual data usage. For more information, see Specifications and pricing.

    Note

    You do not need to specify the storage capacity when you create a cluster. The system automatically scales the storage capacity as the amount of data increases or decreases.

    Advanced Settings (Optional)

    Cluster Name

    Choose to automatically generate or customize the Cluster Name.

    If you choose to automatically generate the Cluster Name, the system automatically generates a cluster name after the cluster is created. You can still modify the automatically generated cluster name;

    If you choose to customize the Cluster Name, you need to enter a cluster name that meets the following requirements:

    • The name cannot start with http:// or https://.

    • The name must be 2 to 256 characters in length.

    • The name must start with a letter and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    Resource Group

    Select a target resource group from the created resource groups.

    Note

    A resource group is a container that is used to manage a group of related resources in a single Alibaba Cloud account. A resource can belong to only one resource group. For more information, see Resource grouping and authorization.

    Enable TDE

    Specify whether to enable transparent data encryption (TDE). After TDE is enabled, PolarDB encrypts cluster data files. This feature is transparent to your business but reduces performance by 5% to 10%.

    Note
    • You cannot disable TDE after it is enabled.

    • TDE depends on the Key Management Service (KMS). After TDE is enabled, you need to configure a service role to authorize PolarDB to access KMS.

  2. On the right side of the page, confirm that all configuration items (such as Billing Method, Region, Deployment Mode, and Resource Group) meet your business requirements. Then, configure the following parameters:

    Parameter

    Description

    Quantity

    The number of clusters that you want to purchase.

    Note
    • You can create a maximum of 50 clusters at a time. This allows you to create multiple clusters in specific scenarios such as deploying multiple game servers at a time.

    • You can purchase a maximum of 50 clusters with your Alibaba Cloud account.

    Duration

    You need to configure the Duration of the cluster only when the billing method is Subscription. You also need to specify whether to Enable Auto-Renewal.

    Note

    We recommend that you select Enable Auto-Renewal to prevent service interruptions due to overdue payments.

    View the total cost and detailed cost breakdown (such as compute specifications, storage, and network), and click Buy Now. This indicates that you have read and agreed to the service agreement and the product-specific terms that you have selected on this page (if any). On the Payment page, confirm the unpaid order information, select a payment method, and click Pay.

After you complete the payment, wait 10 to 15 minutes. Then, you can view the newly created cluster on the Clusters page.

Note
  • When the status of the nodes in the cluster is Creating, the entire cluster may not be created yet. In this case, the cluster is unavailable. The cluster is available only when its status is Running.

  • Make sure that you have selected the region where the cluster is deployed. Otherwise, you cannot view the cluster.

Standard Edition

  1. Go to the PolarDB Custom Purchase page and configure the following parameters.

    Category

    Parameter

    Description

    Billing Method

    • Subscription: You select resources of fixed specifications and pay upfront when you create a cluster. The longer the subscription duration, the larger the discount. This method is suitable for businesses with consistent and long-term resource requirements.

    • Pay-as-you-go: You select resources of fixed specifications but do not need to pay upfront when you create a cluster. You are charged based on your actual resource usage. This method is suitable for businesses with flexible resource requirements.

    • Serverless: You do not need to select resources of fixed specifications or pay upfront when you create a cluster. This method refers to the dynamic elastic scaling capability of PolarDB clusters, which can adjust based on changes in system workload. This method is applicable to businesses with fluctuating or unpredictable loads.

    Note

    If the current billing method of your PolarDB cluster does not meet your business requirements, you can change the billing method at any time based on your actual needs.

    Region

    The region of the cluster. After a cluster is created, the region of the cluster cannot be changed. For more information, see Regions and zones.

    Note
    • Make sure that PolarDB and the ECS instance to which you want to connect are deployed in the same region. Otherwise, they can communicate only over the Internet instead of an internal network, which reduces performance.

    • You can deploy PolarDB and the ECS instance in the same zone or in different zones. If you deploy PolarDB and the ECS instance in the same zone, network latency is reduced and access speed is increased.

    Creation Method

    The method that you want to use to create a PolarDB cluster.

    • Create Primary Cluster: creates a new PolarDB cluster.

    • Restore From Recycle Bin: You can create a new cluster by restoring a backup of a deleted cluster from the recycle bin.

      • Original Version: The version of the deleted cluster.

      • Deleted Cluster: The name of the deleted cluster.

      • Historical Backup: The backup that you want to restore.

    • Migrate from RDS: First clone data from RDS, and then maintain incremental synchronization, mainly used for migration. Before the formal migration switch, PolarDB is read-only and Binlog is enabled by default.

      • Source RDS Version: The version of the source RDS instance. You can select PostgreSQL 9, PostgreSQL 10, PostgreSQL 11, PostgreSQL 12, PostgreSQL 13, PostgreSQL 14, PostgreSQL 15, or PostgreSQL 16.

      • Source RDS Instance: The source RDS instance that you can select. Read-only instances are not included.

    Note

    You can select other options to create databases of other engines.

    Engine And Version

    Database Engine

    Select Database Engine. The following four database engines are supported:

    • PostgreSQL 17

    • PostgreSQL 16

    • PostgreSQL 15

    • PostgreSQL 14

    Edition

    Set Edition to Standard Edition.

    Subseries

    Two subseries are supported: General-purpose and Dedicated:

    • Dedicated: Each cluster exclusively occupies the allocated computing resources (such as CPU) and does not share resources with other clusters on the same server, providing more stable and reliable performance.

    • General-purpose: Different clusters on the same server fully utilize each other's idle computing resources (such as CPU), benefiting from resource reuse to achieve higher cost-effectiveness.

    CPU Architecture

    Set CPU Architecture to X86 or ARM.

    • X86: The X86 architecture is equipped with Intel processors and high-performance networks, providing comprehensive improvements in overall performance and stability to meet the requirements of enterprise applications that demand high business stability and computing performance.

    • ARM: The ARM architecture uses Alibaba Cloud's self-developed Yitian 710 processor chips and 25 GE intelligent high-speed network cards at the underlying level, providing powerful computing capabilities. The architecture is complemented by high-performance network infrastructure to meet the demands of public service sectors and enterprises such as Internet companies for cost-effectiveness, security, and stability of cloud services.

    Network And Zone

    Primary Zone

    Select the Primary Zone of the cluster.

    • A zone is an independent geographical location in a region. All zones in a region provide the same level of service performance.

    • You can deploy PolarDB and the ECS instance in the same zone or in different zones.

    Network Type

    Configure the VPC and vSwitch.

    The network type is fixed as VPC. You do not need to configure this parameter. Make sure that PolarDB and the ECS instance to which you want to connect are deployed in the same VPC. Otherwise, they can communicate only over the Internet instead of an internal network, which reduces performance.

    • If you have an existing VPC that meets your network requirements, select the VPC. For example, if you have created an ECS instance in a VPC that meets your business requirements, select the VPC.

    • Otherwise, use the default VPC and the vSwitch:

      • Default VPC:

        • There is only one default VPC per region.

        • The CIDR block of the default VPC uses a 16-bit subnet mask, such as 192.168.0.0/16, and provides up to 65,536 private IP addresses.

        • The default VPC does not count against the quota of VPCs that you can create.

      • Default vSwitch:

        • There is only one default vSwitch per zone.

        • The CIDR block of the default vSwitch uses a 20-bit subnet mask, such as 192.168.0.0/20, and provides up to 4,096 private IP addresses.

        • The default vSwitch does not count against the quota of vSwitches that you can create in a VPC.

    • If the preceding default VPC and vSwitch do not meet your requirements, you can create a VPC and a vSwitch. For more information, see Create and manage a VPC.

    High Availability Model

    Select High Availability Mode.

    • Dual AZ (Enable Hot Standby Storage Cluster): PolarDB deploys a primary cluster (including compute nodes with mutual backup and primary storage) and a hot standby storage cluster in the current region. The primary cluster and the hot standby storage cluster each ensure three data replicas (a total of six data replicas), providing higher SLA reliability assurance.

    • Single AZ (Disable Hot Standby Storage Cluster): Only the primary cluster (three data replicas) is retained. The storage unit price is 1/2 of the unit price when the hot standby storage cluster is enabled. This delivers lower SLA than when this feature is enabled.

    Note

    For more information about the hot standby storage cluster and its solution, see High availability mode.

    Secondary Zone

    Select Secondary Zone. You need to configure this parameter only when you set High Availability Mode to Dual AZ (Enable Hot Standby Storage Cluster). Auto Assign is supported.

    Specifications And Proxy

    Node Specifications

    The compute node specifications.

    Note

    For more information about compute node specifications, see Specifications of compute nodes in Enterprise Edition.

    Number Of Nodes

    By default, the cluster consists of one primary node and one read-only node. You can select two nodes (a primary node and a read-only node) or one node (a primary node).

    Database Proxy Type

    Two database proxy types are supported: Enterprise General-purpose Edition and Enterprise Dedicated Edition. These are associated with the cluster subseries.

    • Enterprise General-purpose Edition: This matches the General-purpose cluster subseries. It uses shared CPU resources and provides intelligent, second-level elastic scaling based on business workloads.

    • Enterprise Dedicated Edition: This matches the Dedicated cluster subseries. It exclusively occupies all allocated CPU resources and provides better stability.

    Proxy Specifications

    Choose to disable the database proxy or configure the database proxy specifications separately. The database proxy specifications support configurations from 4C to 64C (4vCPU to 64vCPU), and also support Auto Match.

    Storage

    Storage Type

    Select Storage Type.

    ESSDs are ultra-high performance disks developed by Alibaba Cloud. ESSDs use a next-generation distributed block storage architecture and support 25 Gigabit Ethernet networks and Remote Direct Memory Access (RDMA). Each ESSD has low one-way latency and can deliver up to 1 million random read/write IOPS. ESSDs are provided at the following performance levels (PLs):

    • ESSD PL0: An ESSD at PL0.

    • ESSD PL1: Compared with PL0, an ESSD at PL1 delivers 5 times higher IOPS and approximately 2 times higher throughput.

    • ESSD PL2: Compared with PL1, an ESSD at PL2 delivers approximately 2 times higher IOPS and throughput.

    • ESSD PL3: Compared with PL2, an ESSD at PL3 delivers up to 10 times higher IOPS and 5 times higher throughput. It is suitable for business scenarios that require extremely high concurrent I/O performance and stable read/write latency.

    • ESSD AutoPL: Compared with PL0, PL1, PL2, and PL3, IOPS is decoupled from capacity, allowing flexible configuration and on-demand adjustment, thereby reducing the overall total cost of ownership (TCO).

    For more information about ESSD performance, see ESSD.

    Important

    After the storage of an ESSD is exhausted, the disk is locked. In this case, the disk handles only read operations.

    Storage Billing Method

    The storage billing method follows the billing method configuration.

    Note

    This configuration is supported only when Billing Method is set to Subscription.

    Storage Space

    Select Storage Space.

    This parameter specifies the amount of storage capacity that you want to purchase. Valid values: 20 GB to 64 TB. The value that you select must be a multiple of 10 GB.

    Advanced Settings (Optional)

    Cluster Name

    Choose to automatically generate or customize the Cluster Name.

    If you choose to automatically generate the Cluster Name, the system automatically generates a cluster name after the cluster is created. You can still modify the automatically generated cluster name;

    If you choose to customize the Cluster Name, you need to enter a cluster name that meets the following requirements:

    • The name cannot start with http:// or https://.

    • The name must be 2 to 256 characters in length.

    • The name must start with a letter and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

    Resource Group

    Select a target resource group from the created resource groups.

    Note

    A resource group is a container that is used to manage a group of related resources in a single Alibaba Cloud account. A resource can belong to only one resource group. For more information, see Resource grouping and authorization.

    Enable TDE

    Specify whether to enable transparent data encryption (TDE). After TDE is enabled, PolarDB encrypts cluster data files. This feature is transparent to your business but reduces performance by 5% to 10%.

    Note
    • You cannot disable TDE after it is enabled.

    • TDE depends on the Key Management Service (KMS). After TDE is enabled, you need to configure a service role to authorize PolarDB to access KMS.

  2. On the right side of the page, confirm that all configuration items (such as Billing Method, Region, Deployment Mode, and Resource Group) meet your business requirements. Then, configure the following parameters:

    Parameter

    Description

    Quantity

    The number of clusters that you want to purchase.

    Note
    • You can create a maximum of 50 clusters at a time. This allows you to create multiple clusters in specific scenarios such as deploying multiple game servers at a time.

    • You can purchase a maximum of 50 clusters with your Alibaba Cloud account.

    Duration

    You need to configure the Duration of the cluster only when the billing method is Subscription. You also need to specify whether to Enable Auto-Renewal.

    Note

    We recommend that you select Enable Auto-Renewal to prevent service interruptions due to overdue payments.

    View the total cost and detailed cost breakdown (such as compute specifications, storage, and network), and click Buy Now. This indicates that you have read and agreed to the service agreement and the product-specific terms that you have selected on this page (if any). On the Payment page, confirm the unpaid order information, select a payment method, and click Pay.

    After you complete the payment, wait 10 to 15 minutes. Then, you can view the newly created cluster on the Clusters page.

    Note
    • When the status of the nodes in the cluster is Creating, the entire cluster may not be created yet. In this case, the cluster is unavailable. The cluster is available only when its status is Running.

    • Make sure that you select the region in which the cluster is deployed when you view the cluster. Otherwise, the cluster is not displayed.

Related API operations

API

Description

CreateDBCluster - Create a cluster

Creates a PolarDB cluster.

DescribeDBClusters - Query clusters

Queries PolarDB clusters.

DescribeDBClusterAttribute - View the detailed attributes of a PolarDB cluster

Views the detailed attributes of a specified PolarDB cluster.

DescribeAutoRenewAttribute - Query the auto-renewal status of a cluster

Queries the auto-renewal status of a subscription PolarDB cluster.

ModifyAutoRenewAttribute - Configure the auto-renewal status of a subscription cluster

Configures the auto-renewal status of a subscription PolarDB cluster.