A global database network (GDN) consists of multiple PolarDB clusters that are distributed across regions around the world. Data is synchronized across all the clusters in each GDN. If your services are deployed in multiple regions, you can use GDNs to allow the applications to gain low-latency and reliable access to the databases. This topic describes how to create and release a GDN.

Prerequisites

  • The PolarDB cluster version is Cluster Edition of PolarDB for MySQL 8.0.
  • A primary PolarDB cluster is created. For more information about how to create a PolarDB cluster, see Create a PolarDB for MySQL cluster.
  • The minor kernel version of the primary cluster is the latest version. For more information about how to upgrade the version, see Upgrade versions.

Notes

  • A GDN contains one primary cluster and a maximum of four secondary clusters. Multiple clusters can exist in the same zone of the same region.
    Note To add more secondary clusters, Submit a ticket to request technical support.
  • A cluster can belong to only one GDN.

Pricing

The GDN feature is free. You are charged for only each PolarDB cluster that uses the GDN feature. For more information about the pricing of PolarDB clusters, see Overview of billable items.

Create a GDN

  1. Log on to the PolarDB console.
  2. In the left-side navigation pane, click Global Database Network.
  3. On the Global Database Network page, click Create GDN.
    1
  4. In the Create GDN dialog box, specify the following parameters.
    Parameter Description
    Name The name of the GDN that you want to create. The name can be used to identify your business and does not need to be unique.
    Primary Region The region where the primary cluster resides.
    Note Select the primary cluster and the region where the primary cluster resides.
    Primary Cluster Select a primary cluster.
    Note Only PolarDB for MySQL 8.0 is supported.
  5. After you configure the preceding parameters, click OK.
    Note After you create a GDN, you can add secondary clusters. For more information, see Manage a GDN.

Release a GDN

  1. Log on to the Apsara PolarDB console.
  2. In the left-side navigation pane, click Global Database Network.
  3. Find the GDN that you want to release and click Delete in the Actions column.
    Notice
    • You can release a GDN if only one primary cluster exists in the GDN.
    • A GDN cannot be restored after it is released. Proceed with caution.
    • Applications that are connected to the GDN endpoints cannot access databases. Modify the application code related to GDN connection at your earliest opportunity.
  4. In the Delete GDN message, click OK.

FAQ

Q: How many GDNs can I create for an Alibaba Cloud account?

A: The number of GDNs that you can create is not limited.