All Products
Search
Document Center

PolarDB:Create a PolarDB-X instance

Last Updated:Nov 13, 2023

This topic describes how to create a PolarDB-X instance.

Procedure

  1. Log on to the PolarDB for Xscale console.

  2. In the top navigation bar, select the region where the target instance is located.

  3. On the Instances page, click the PolarDB-X 2.0 tab.

  4. In the upper-right corner of the page that appears, click Create New Instance.

  5. On the buy page, configure parameters described in the following table.

    Parameter

    Description

    Product Type

    The billing method of the PolarDB-X instance. You can set this parameter to PolarDB-X 2.0 (Subscription) or PolarDB-X 2.0 (Pay-as-you-go).

    Note
    • If you select the subscription billing method, you are charged for the resource usage of your PolarDB-X instance when you purchase the instance. This billing method is suitable for long-term usage because subscription PolarDB-X instances are more cost-effective than pay-as-you-go PolarDB-X instances.

    • If you select the pay-as-you-go billing method, you are charged for the resource usage of your PolarDB-X instance on an hourly basis. This billing method is suitable for short-term usage. If you no longer require specific pay-as-you-go instances, you can release the instances to reduce costs.

    • If you want to create a pay-as-you-go PolarDB-X instance, make sure that the balance in your Alibaba Cloud account is at least USD 100.

    Region

    The region in which you want to deploy the instance.

    Topology

    • Single-zone Deployment: If you select this deployment mode, you must specify a zone for the primary node of the instance. The secondary nodes and logger nodes of the instance are automatically deployed in the same zone as the primary node.

    • Three-zone Deployment: If you select this deployment mode, you must specify three zones for the instance. The compute nodes, data nodes, Global Meta Service (GMS) nodes, and Change Data Capture (CDC) nodes of the instance are deployed in the zones that are specified. Three-zone instances support cross-zone disaster recovery. For more information, see Overview.

      Note

      If you select Three-zone Deployment, you must specify different values for the Primary Node Zone, Secondary Node Zone, and Logger Node Zone parameters.

    Primary Node Zone

    The zone in which you want to deploy the primary node.

    Secondary Node Zone

    The zone in which you want to deploy the secondary nodes. This parameter is displayed only after you set the Topology parameter to Three-zone Deployment.

    Logger Node Zone

    The zone in which you want to deploy the logger nodes. This parameter is displayed only after you set the Topology parameter to Three-zone Deployment.

    Network Type

    The network type of the instance. The value of this parameter is automatically set to VPC and cannot be changed.

    Note

    Before you configure the VPC parameter, make sure that a virtual private cloud (VPC) and a vSwitch are created in the same region and zone as the instance that you want to create. For more information, see Create and manage a VPC.

    VPC

    The VPC in which you want to deploy the instance. You can select an existing VPC. You can also move the pointer over the 456789 icon and click VPC console. Then, create a VPC in the VPC console.

    vSwitch

    The vSwitch to which you want to connect the instance. You can select an existing vSwitch. You can also move the pointer over the 456789 icon and click VPC console. Then, create a vSwitch in the VPC console.

    Compatibility

    The engine version of the instance. The value of this parameter is automatically set to MySQL 5.7 and cannot be changed.

    Instance Family

    The instance family of the instance. Valid values: Dedicated, Dedicated Host, and General-purpose. For more information, see Instance types.

    Note

    This parameter is unavailable if you select the pay-as-you-go billing method.

    Node Specifications

    The number of CPU cores and the memory size of the nodes of the instance. PolarDB-X calculates the price of the instance based on the number of nodes and the specifications of the nodes. For more information, see Instance types.

    Note

    If you select Default as the instance model, the specifications of compute nodes are the same as the specifications of data nodes. If you select Custom as the instance model, you can specify different specifications for compute nodes and data nodes.

    Nodes

    The number of nodes.

    Note

    You can specify a value that ranges from 2 to 99. If you select Default as the instance model, the number of compute nodes of each instance is the same as the number of data nodes of each instance. If you select Custom as the instance model, you can specify different values for the Nodes parameter for compute nodes and data nodes.

    Storage Type

    The storage type of the instance. The value of this parameter is automatically set to Local SSD and cannot be changed.

    Storage Cost

    By default, the storage capacity of each node in the Dedicated Host instance family is 6 TB, and the storage capacity of each node in other instance families is 3 TB. You do not need to specify a storage capacity when you purchase the instance. You are charged for your actual storage usage on an hourly basis.

    Quantity

    The number of instances that you want to purchase.

    Subscription Duration

    The subscription duration of the instance.

    Note
    • This parameter is displayed only if you use the subscription billing method.

    • If you select Auto-renewal, the instance is automatically renewed before it expires.

  6. Click Buy Now.

  7. On the Confirm Order page, select PolarDB-X 2.0 (Subscription) Terms of Service and click Pay.

  8. After you complete the payment, wait until the system creates the instance. The creation process requires 10 to 15 minutes to complete. After the instance is created, you can go to the Instance List page in the PolarDB-X console to view the instance that you created.