Updated on 2023-11-03 GMT+08:00

Creating an Instance

Introduction

An instance is an independent resource space. All operations are performed in an instance. Resources of different instances are isolated from each other. You can use one or more MAS instances based on service requirements.

Prerequisites

  • A VPC is available, and a subnet and security group have been configured. (For details on how to create a VPC, subnet, and security group, see Preparing Resources.)
  • You have had enough quota to create MAS instances. Otherwise, increase quota by referring to My Quotas.

Procedure

  1. On the MAS console, click Overview, and click Buy Multi-Active Instance in the upper right corner.
  2. Configure the instance and click Create. The system will calculate the fee based on the selected product type.

    Figure 1 Buying a multi-active instance

    Table 1 Instance parameters

    Parameter

    Description

    Namespace

    Select a namespace.

    NOTE:

    Namespaces with either of the following feature are supported:

    • Intra-city multi-active: Both the active and standby areas are in the current region. This is recommended for instances that are used for intra-city multi-active.
    • Remote geographic-redundancy: The standby area is in the current region. This is recommended for instances that are used to execute workflows.

    Multi-Active Areas

    The AZs of the areas had been set during namespace creation.

    Arbitration Node AZ

    Select an AZ to which the ETCD arbitration node belongs based on your service deployment architecture. This is required when an intra-city multi-active namespace is selected.

    Billing Mode

    There are two options:

    • Pay-per-use: This postpaid mode bills you by instance usage. You can enable or delete your instance at any time.
    • Yearly/Monthly: This prepaid mode bills you based on the subscription duration and is ideal when the resource use duration is predictable.

    Product Type

    Platinum is supported.

    Two-way Authentication

    ETCD authentication. This is enabled by default and is required when an intra-city multi-active namespace is selected.

    CAUTION:

    Disabling two-way authentication can be risky.

    Instance Name

    Customize a name for the instance.

    Description

    Enter a description for the instance.

    Network

    Select a VPC and subnet to be associated with the instance. The VPC and subnet must be created in advance.

    IPv4 CIDR Block

    This CIDR block cannot overlap that of your VPC or any peering connection CIDR blocks. Recommended: 10.0.0.0/24, 172.16.0.0/24, 192.168.0.0/24

    Security Group

    Select a security group to be associated with the instance. The security group must be created in advance.

    Enable the port of the monitored resource for the security group.

    ETCD Password

    Enter an ETCD password. This is required when an intra-city multi-active namespace is selected.

    Confirm Password

    Enter the ETCD password again. This is required when an intra-city multi-active namespace is selected.

    Required duration

    This is required when Billing Mode is set to Yearly/Monthly.

    Auto Renew

    This is required when Billing Mode is set to Yearly/Monthly.

    Renew the subscription on the management console. For details, see Renew Rules.

  3. Wait for the system to create an instance with pay-per-use billing.

    Pay for the order and wait for the system to create an instance with yearly/monthly billing.

  4. On the Multi-Active Instances page, check the created instance, which is in the Running status. It takes 5 to 15 minutes to create an instance.

    If the instance status is Failed, delete it, create another one, or contact the technical support.