All Products
Search
Document Center

Microservices Engine:Create an instance

Last Updated:Oct 25, 2024

Before you use a Nacos or ZooKeeper instance to implement service discovery and configuration management, you must purchase, create, and maintain the required resources. If you use Microservices Engine (MSE) to create a Nacos or ZooKeeper instance, you need to only focus on the edition, network type, and specifications of the instance. You do not need to focus on the creation and maintenance of the instance. This way, you can focus more on the implementation of your business. This topic describes how to create a Nacos or ZooKeeper instance in the MSE console.

Prerequisites

A virtual private cloud (VPC) is created. For more information, see Create and manage a VPC.

Procedure

  1. Go to the product page of the MSE instance.

    • MSE is not activated

      1. On the MSE product page, click Buy Now.

      2. Then, click the Microservices Registry tab.

    • MSE is activated

      1. Log on to the MSE console.

      2. In the left-side navigation pane, choose Microservices Registry > Instances.

      3. On the Instances page, click Create Instance.

  2. Select a product type.

    MSE provides four product types: subscription, pay-as-you-go, serverless, and serverless savings plan.

    • If you want to use the MSE instance for more than one month, we recommend that you select the subscription option.

    • If you want to use the MSE instance in a test environment or a production environment for small and medium-sized businesses, you can select the serverless option to reduce costs.

  3. Select a region. For more information about the regions supported by MSE, see Supported regions.

  4. Configure instance parameters.

    Parameter

    Description

    Engine Type

    Select Nacos or ZooKeeper.

    Note

    If the Eureka engine is required, select the Nacos engine, which is seamlessly compatible with the Eureka protocol.

    Engine Version

    Select the version of the Nacos or ZooKeeper engine.

    Instance Name

    Enter a name for the engine.

    Engine Specifications

    MSE engine specifications vary with editions.

    • For the Professional Edition, select 1 Core, 2 GB Memory, 2 Cores, 4 GB Memory, 4 Cores, 8 GB Memory, 8 Cores, 16 GB Memory, or 16 Cores, 32 GB Memory.

    • For the Developer Edition, select 1 Core, 2 GB Memory or 2 Cores, 4 GB Memory.

    Select the engine specifications based on your business requirements. For more information about how to estimate instance capabilities, see Estimate instance capabilities.

    Number of Cluster Nodes

    Select the number of nodes in an instance. The specifications of each node are specified by the Engine Specifications parameter.

    Important

    Each Developer Edition instance can have only one node. Each Professional Edition instance can have at least three nodes to ensure high availability.

    Resource Group

    Select a resource group based on your business requirements.

    Resource groups allow you to manage resources of users or projects at different levels in an enterprise.

  5. Select a network type.

    Network type

    Description

    VPC

    A VPC is a logically isolated private network. You can customize network topologies and IP addresses for your VPC. VPCs support physical connections. This network type is suitable for users who are familiar with network management.

    Note

    If you select VPC as the network type, you must select a specific VPC and a vSwitch.

    Internet

    IP addresses are allocated by Alibaba Cloud. This network type is easy to configure and use. This network type is suitable for scenarios in which the usability requirements are high.

    Note

    If you select Internet as the network type, you must configure and purchase the public bandwidth.

  6. Optional. Configure the public bandwidth.

    If access to the instance over the Internet is required, you must configure the public bandwidth.

    Note

    If you select VPC as the network type, you can also purchase the public bandwidth to generate a public endpoint.

  7. If you select Subscription for Billing Method, select a duration based on your business requirements. You can also select Auto-renewal if required.

  8. Confirm the order.

    1. Click Buy Now.

    2. On the Confirm Order page, read the terms of service, select the check box to confirm that you have read the terms of service, and then click Pay.

Important

By default, authentication is disabled for new Nacos engines. We recommend that you enable authentication and disable the public IP address whitelist for engines after you purchase and test the engines. This way, the security of the engines is ensured. For more information, see Access authentication by the Nacos client and Configure a public IP address whitelist.

Results

After you complete the payment, go back to the Instances page to check whether the instance is created. If the instance is in the Running state, the instance is created.

References

After the instance is created, you can perform the following operations based on your business requirements: