ApsaraDB for POLARDB allows you to clone data from an RDS for MySQL instance to a new POLARDB for MySQL cluster with one click.

This feature creates a destination ApsaraDB for POLARDB cluster with the same data as that of the source RDS instance. The incremental data of the source RDS instance will not be synchronized to the destination ApsaraDB for POLARDB cluster.
Note If you need to synchronize the incremental data of the source RDS instance to the destination ApsaraDB for POLARDB cluster in real time while the cluster is being created, that is, to smoothly migrate data without service interruption, see Upgrade RDS for MySQL to POLARDB for MySQL with one click.

ApsaraDB for POLARDB introduction

ApsaraDB for POLARDB is the next-generation relational cloud database developed by Alibaba Cloud, which has the following main advantages.
  • Large storage capacity: up to 100 TB of storage.
  • High performance: up to 6x performance improvement over MySQL.
  • Serverless storage: no need to purchase storage capacity in advance, which is automatically scaled and is billed by usage.
  • Temporary upgrade: supports temporary upgrade of specifications to easily cope with short-term business peaks.

For more information, see Benefits.

Highlights

  • Free-of-charge
  • Zero data loss during cloning

Precautions

  • Data cloning can only be performed in the same region.
  • The destination ApsaraDB for POLARDB cluster must contain information of the source RDS instance, including the account, database, IP address whitelist, and required parameters.

Prerequisites

Procedure

  1. Log on to the ApsaraDB for POLARDB console.
  2. Click Create Cluster.
  3. Select Subscription or Pay-As-You-Go (Hourly Rate).
  4. Set parameters listed in the following table.
    Parameter Description
    Region The region where the source RDS for MySQL instance resides.
    Note The destination ApsaraDB for POLARDB cluster is also located in this region.
    Create Type The method of creating the cluster.
    • Default Create Type: creates a new ApsaraDB for POLARDB cluster.
    • Clone from RDS: clones the data of the selected RDS instance to an ApsaraDB POLARDB cluster.
    • Migration from RDS: clones the data of the selected RDS instance to an ApsaraDB for POLARDB cluster and keeps the data synchronized between the RDS instance and the ApsaraDB for POLARDB cluster. The binlogging feature is enabled for the new cluster by default.

    Select Clone from RDS.

    RDS Engine Type The engine type of the source RDS instance, which cannot be changed.
    RDS Engine Version The engine version of the source RDS instance, which cannot be changed.
    Source RDS instance The source RDS instances for selection, which do not include read-only instances.
    Primary availability zone

    The zone of the instance. A zone is an independent physical area located within a region. There are no substantive differences between the zones.

    You can deploy the ApsaraDB for POLARDB cluster and the ECS instance in the same zone or in different zones.

    Network Type The network type of the ApsaraDB for POLARDB cluster, which cannot be changed.
    VPC

    Vswitch

    The VPC and VSwitch to which the ApsaraDB for POLARDB cluster belongs. Make sure that you place your ApsaraDB for POLARDB cluster and the ECS instance to be connected in the same VPC. Otherwise, they cannot communicate with each other through the internal network to achieve optimal performance.
    Database Engine The database engine of the ApsaraDB for POLARDB cluster, which cannot be changed.
    Node Specification The node specifications of the ApsaraDB for POLARDB cluster. Select the specifications as required. We recommend that you select specifications that are at least the same as those of the source RDS instance. All ApsaraDB for POLARDB nodes are dedicated ones with stable and reliable performance. For more information, see Specifications and pricing.
    Number Nodes The number of nodes. You do not need to specify this parameter. The system will create a read-only node with the same specifications as those of the primary node by default.
    Storage Cost The storage capacity. You do not need to specify this parameter. The actual usage is billed hourly in pay-as-you-go mode. For more information, see Specifications and pricing.
    Cluster Name The cluster name for business distinguishing. The system will automatically create a name for your ApsaraDB for POLARDB cluster if you leave it blank. You can also modify the name after the cluster is created.
  5. Specify Duration (only applicable to subscription clusters) and click Buy Now on the right side of the page.
  6. Confirm the order information, read the Service Agreement, select the checkbox to agree to it, and click Activate Now.

Next step

Change the database connection point in applications to that of the ApsaraDB for POLARDB cluster as soon as possible. For more information, see View connection endpoints.

FAQ

Q: Will the source RDS instance be affected when data is cloned from the RDS instance?

A: No, the source RDS instance can run properly.