All Products
Search
Document Center

Microservices Engine:Create a ZooKeeper engine

Last Updated:Mar 21, 2024

If you want to implement features, such as application service discovery, configuration management, and distributed data management and coordination, by using a ZooKeeper engine, you must purchase the required resources to create and maintain the ZooKeeper engine. This process is time-consuming and labor-intensive. If you use Microservices Engine (MSE) to create a ZooKeeper engine, you need to only focus on the location, version, network type, and specifications of the ZooKeeper engine. You do not need to focus on the creation and maintenance of the ZooKeeper engine. MSE allows you to focus more on your business. This topic describes how to create a ZooKeeper engine that is used to manage applications on MSE.

Prerequisites

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

Procedure

  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 engine parameters.
    ParameterDescription
    Product EditionSelect 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 ZooKeeper.
    Engine VersionMSE provides ZooKeeper 3.8.0 that is developed based on open source ZooKeeper 3.8.0.
    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 the 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 instance can have at least three nodes to ensure high availability.
    Resource GroupSelect 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 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.

Verify the result

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 you create a ZooKeeper instance, you can perform operations based on your business requirements. For example, you can manage instances and services and view monitoring data. For more information, see ZooKeeper.