Buying Exclusive Instances

This section describes how to buy an exclusive instance. You can create an API and use it to provide services only after the instance is created. If you do not have high performance requirements, you can use Shared Edition and create APIs in the wizard mode by following instructions in Generating Wizard APIs without buying exclusive instances.

Network Environment Preparation

  • Virtual Private Cloud (VPC)

    A VPC must be configured for an exclusive instance. Resources (such as ECSs) in the same VPC can use the private address of the exclusive instance to call APIs.

    When buying an exclusive instance, you are advised to configure the same VPC as other associated services to ensure network security and facilitate network configuration.

  • Security Group (SG)

    An SG is similar to a firewall. It controls who can access the specified port of an instance and makes the communication data flow of the instance to the specified destination address. You are advised to enable the IP address and port in the inbound direction of the SG as required to protect the network security of the instance to the maximum extent.

    The SG bound to an exclusive instance must meet the following requirements:

    • Inbound rule: To call APIs from the public network or from resources in other SGs, enable ports 80 (HTTP) and 443 (HTTPS) in the inbound direction of the SG bound to the exclusive instance.
    • Outbound direction: If the backend service is deployed on the public network or in another SG, you need to enable the backend service address and API calling listening port in the outbound direction of the SG bound to the exclusive instance.
    • If the frontend and backend services of the API are bound to the same SG and VPC as the exclusive instance, you do not need to enable the preceding ports for the exclusive instance.

Procedure

  1. Locate an enabled instance and click Buy.
  2. Access the page for buying a DGC incremental package and set parameters. See Table 1 for parameter details.

    Table 1 Parameters for buying an exclusive DLM instance

    Parameter

    Description

    Package

    Select DLM.

    Billing Mode

    Specify the billing mode of the instance. Currently, pay-per-use is supported.

    Workspace

    Select the workspace for which you want to use the incremental package. For example, if you want to buy a DLM incremental package in the A workspace of instance test, select A. If the purchase is successful, you can view the exclusive DLM cluster in the A workspace.

    AZ

    A physical region where resources use independent power supplies and networks. AZs are physically isolated but interconnected through an internal network.

    You can select multiple AZs to deploy a DLM instance across AZs, improving instance availability.

    Cluster

    N/A

    Cluster Specifications

    Different instance specifications support different concurrent API requests..

    Enterprise Project

    When you log in as an enterprise user, you can select the enterprise project to which the instance belongs.

    For details on resource usage, migration, and user permissions of enterprise projects, see the Enterprise Management User Guide.

    VPC/Subnet

    Bind an instance to a VPC and allocate a subnet to the instance.

    Cloud service resources (such as ECSs) in the same VPC can use the private IP address of an exclusive DLM instance to call APIs.

    You are advised to configure the same VPC for the exclusive instance and other associated services to ensure network security and facilitate network configuration.

    Security Group

    A security group is used to set port access rules, define ports that can be accessed by external services, and determine the IP addresses and ports that can be accessed externally.

    For example, if the backend service is deployed on an external network, you need to configure security group rules to allow access to the IP address and listening port of the backend service.

    NOTE:

    If the public network entry is enabled, the security group must allow access from ports 80 (HTTP) and 443 (HTTPS) in the inbound direction.

    Purchase Quantity

    N/A

  3. Click Buy Now. If there are no changes made to the specifications, submit the order.

Follow-up Procedures

After an exclusive cluster is created, you can view the cluster status on the Exclusive Edition module. If a cluster is abnormal, you can locate the cause based on the pop-up message. The cluster status includes the following:

  • CREATING
  • CREATED
  • STARTING
  • RUNNING
  • LOST
  • EXCEPTION
  • RESTARTING
  • MODIFYING
  • GROWING
  • UNKOWN
  • SHUTDOWN
  • SHUTTING_DOWN
  • WAITTING_IP_ALLOCATION
Figure 1 Viewing exclusive instances