This topic describes how to use the ApsaraDB MyBase console to create a dedicated cluster, create a host, and then deploy an instance.

Background information

For information about ApsaraDB MyBase, see What is ApsaraDB MyBase?.

Procedure

  1. Log on to the ApsaraDB MyBase console.
  2. In the upper-left corner of the page, select a region.
  3. In the left-side navigation pane, click Overview, and click Create Dedicated Cluster.
  4. In the Create Dedicated Cluster panel, configure the following parameters.
    Parameter Description
    Engine

    The database engine of the dedicated cluster. The MySQL, SQL Server, and PostgreSQL database engines are supported.

    Notice After you create a dedicated cluster, you cannot change the database engine. Proceed with caution.
    Architecture

    The edition of the dedicated cluster. This parameter appears only when you select the MySQL database engine. It is automatically set to High-availability/Master-replica Edition.

    Dedicated Cluster Name The name of the dedicated cluster.
    VPC The VPC in which the dedicated cluster is deployed. If you need to create a VPC, log on to the VPC console.
    Notice After a dedicated cluster is created, you cannot change the VPC. Proceed with caution.
    Resource Allocation Policy The default policy that is used to schedule resources in the dedicated cluster.
    • Balanced Allocation: The system preferentially creates database instances on the hosts that have the smallest load. This maximizes system stability.
    • Compact Allocation: The system preferentially creates database instances on the hosts that are created earlier than the other hosts and have fewer resources than the other hosts in the dedicated cluster. This maximizes resource utilization.
    Host Troubleshooting Policy The policy based on which the system handles host failures.
    • Automatic Host Replacement: The system automatically replaces the faulty hosts.
      Note
      • If a faulty host uses standard SSDs or enhanced SSDs (ESSDs), the host is automatically replaced after the computing resources that are stored on the standard SSDs or ESSDs are migrated to another host.
      • If a faulty host uses local SSDs, the host is replaced only after all instances are removed from the host.
    • Manual Host Replacement: You must manually replace the faulty hosts.
    Note You can manually replace a faulty host only if the faulty host uses local SSDs. Only hosts that run the MySQL database engine support local SSDs. If you select the MySQL database engine, you can configure this parameter. If you select another database engine, this parameter is set to Automatic Host Replacement by default.
    Grant OS Permissions Specifies whether to enable the feature that allows you to have permissions on the host operating system (OS).
    Note If you enable this feature for a dedicated cluster that runs the MySQL, SQL Server, or PostgreSQL database engine, you can log on to the hosts in the dedicated cluster to perform operations such as uploads, downloads, and installation of software. After you create a dedicated cluster, you cannot change Grant OS Permissions. Proceed with caution.
  5. The first time you create a dedicated cluster in ApsaraDB MyBase, you must perform this step.

    The first time you create an ApsaraDB MyBase dedicated cluster, the following message appears in the lower part of the panel. You must grant permissions on elastic network interfaces (ENIs) and security groups of Elastic Compute Service (ECS). Click Authorize Now. On the Cloud Resource Access Authorization page, click Confirm Authorization Policy.

    Confirm authorization
    Note After you grant permissions, the AliyunRDSDedicatedHostGroupRole role is displayed on the Roles page in the RAM console. If you want to use ApsaraDB MyBase dedicated clusters, retain this role. If this role is deleted, you must grant the permissions again to create a dedicated cluster.
  6. Click OK. The ApsaraDB Dedicated Cluster Host (Subscription) page appears.
  7. Configure the parameters described in the following table.
    Parameter Description
    Product Type Select Dedicated Cluster.
    Note
    • If you create a host that uses local SSDs, the fees of the host include the fees of all instances on the host.
    • If you create a host that uses enhanced SSDs (ESSDs), the fees of the host include only the computing fees. When you create an instance on the host, you must pay for the ESSD storage. We recommend that you select Storage Package to purchase a subscription storage plan. The subscription storage plan can be used to offset the storage costs of pay-as-you-go instances that are created in the same region as the storage plan. This way, your storage costs are reduced.
    Region The region where you want to create the host.
    Zone The zone where you want to create the host. We recommend that you create hosts in different zones to improve service availability.
    Database Engine The database engine that is supported by the host. Valid values:
    • MySQL
    • PosgreSQL
    • Microsoft SQL Server
    Dedicated Cluster The dedicated cluster in which you want to create the host.
    Note
    • If no dedicated clusters that run the specified database engine are created in the specified region, you can select Create a new exclusive cluster by default. This way, the system creates a dedicated cluster for your host.
    • If dedicated clusters that run the specified database engine are available in the specified region, you can select one of them based on your business requirements.
    VPC The virtual private cloud (VPC) where you want to create the host.
    Note
    • If a manually created dedicated cluster is selected, the system selects the VPC where the dedicated cluster is created.
    • If Create a new exclusive cluster by default is selected, the following rules apply:
      • If one or more VPCs exist in the specified region, you can select one of the VPCs.
      • You can also select Create a proprietary network by default. This way, the system creates a VPC for the dedicated cluster.
    VSwitch The vSwitch to which to connect the host.
    Note
    • If a vSwitch created in the specified zone already exists in the specified VPC, the system selects the vSwitch.
    • If no vSwitch created in the specified zone exists in the specified VPC, you can log on to the VPC console and create a vSwitch in the specified zone. The vSwitch must be located in the specified VPC.
    • If you select the dedicated cluster and VPC that are created by the system, the system creates a vSwitch.
    Authorization The first time you create a host, you must perform authorization. On the Cloud Resource Access Authorization page, click Confirm Authorization Policy to grant permissions on security groups.
    Notice After you grant permissions, the AliyunRDSDedicatedHostGroupRole role is displayed on the Roles page in the RAM console. If you want to use ApsaraDB MyBase dedicated clusters, retain this role. If this role is deleted, you must grant the permissions again to perform related operations.
    Host Image The operating system (OS) image of the host.
    • If the database engine is set to MySQL or PostgreSQL, the host image is automatically set to AliLinux.
    • If the database engine is set to Microsoft SQL Server, you can select one of Windows images.
    Storage Type The storage type of the host.
    Note
    • For hosts that run the MySQL database engine, both Local SSD and Enhanced SSD (ESSD) are available.
    • For hosts that run the PostgreSQL database engine, only Enhanced SSD (ESSD) is available.
    • For hosts that run the Microsoft SQL Server database engine, only Enhanced SSD (ESSD) is available.
    Host Instance Type The instance type of the host. The following instance type categories are available:
    • General
    • Memory
    • Compute
    • ECS Bare Metal
    Note For more information about host instance types, see Instance types of hosts.
    Storage Capacity The storage capacity of the host. This parameter is displayed only when the storage type of the host is set to Local SSD.
    Quantity The number of hosts that you want to create. For more information, see the "Requirements for the number of hosts" section of this topic.
    Duration The subscription duration of the host. You can select Auto-renewal to prevent the host from being released upon expiration. This way, the system renews the host based on the specified subscription duration. For example, if you specify a subscription duration of three months, the system renews the host once every three months.
  8. On the Pay page, click Console.
  9. In the left-side navigation pane, click Instances. On the page that appears, click Create Instance.
  10. In the right-side panel, configure the parameters that appear. When you configure the parameters to create an ApsaraDB MyBase instance, the parameter configuration varies based on different database engines. For more information, see the following topics: