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
- Go to the page for creating an MSE instance.
- MSE is not activated.
- Go to the MSE product page.
- On the MSE product page, click Buy Now. Then, click the Microservice Registry tab.
- 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.
- Log on to the MSE console.
- In the left-side navigation pane, choose .
- On the Instances page, click Create Instance.
- MSE is not activated.
- 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.
- 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.
- Configure engine parameters.
Parameter Description 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 Type Select ZooKeeper. Engine Version MSE provides ZooKeeper 3.8.0 that is developed based on open source ZooKeeper 3.8.0. Instance Name Enter a name for the instance. 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 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 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.
- 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. - 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.
- If you select Subscription for Billing Method, configure Duration based on your business requirements and determine whether to select Auto-renewal.
- Confirm the order.
- Click Buy Now.
- 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.