All Products
Search
Document Center

Microservices Engine:Create a Nacos engine

Last Updated:Nov 24, 2023

Before you use a Nacos engine to implement features for applications, such as service discovery and configuration management, you must purchase, create, and maintain the required resources. If you use a Microservices Engine (MSE) Nacos engine, you need only to focus on the location, version, network type, and specifications of the Nacos engine. You do not need to focus on the creation and maintenance of the Nacos engine. MSE allows you to focus more on your business. This topic describes how to create an MSE Nacos engine for applications.

Procedure

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.

  1. Go to the page for creating an MSE instance.
    • MSE is not activated.
      1. Go to the MSE product page.
      2. On the MSE product page, click Buy Now. Then, click the Microservice Registry tab.
      3. Create an MSE instance. Select ZooKeeper or Nacos for Engine Type based on your business requirements.

        A page is displayed for you to create or purchase an MSE instance.

    • 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 billing method.

    MSE supports the subscription and pay-as-you-go billing methods. If you want to use an MSE instance for more than one month, we recommend that you use the subscription billing method. If you use the pay-as-you-go billing method, you are billed on an hourly basis.

  3. Select a region based on the region where the MSE instance resides.
    Note For more information about the regions supported by MSE, see Supported regions.
  4. Configure the basic information about the engine.
    ParameterDescription
    Product Edition

    Select Professional Edition or Developer Edition based on your business requirements.

    The Developer Edition is used for test or trial use scenarios and cannot be used in production environments. For more information about the differences between editions, see Select an instance type and an instance edition.

    Engine TypeSelect Nacos.
    Engine VersionSelect a Nacos engine version.
    Instance NameEnter a name for the instance.
    Engine SpecificationsMSE 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 or 2 Cores, 4 GB.

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

    Cluster NodesSelect 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 node can have at least three nodes to ensure high availability.
    Resource GroupSelect a resource group.

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

  5. Select a network type.
    Network typeDescription
    VPCA 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.
    InternetIP 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 Public Bandwidth.
    If access to an engine 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, configure Duration based on your business requirements and determine whether to select Auto-renewal.
  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.

What to do next

After you create a Nacos engine, you can perform the following operations based on your business requirements:

  • Modify the configuration of the Nacos instance, such as the network type and port number, in the configuration file of your application.

  • Manage instances and services and view engine information on the instance details page in the MSE console. For more information, see Manage instances, Manage services, and Monitor engines.