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
Go to the product page of the MSE instance.
MSE is not activated
On the MSE product page, click Buy Now.
Then, click the Microservices Registry tab.
MSE is activated
Log on to the MSE console.
In the left-side navigation pane, choose
.On the Instances page, click Create Instance.
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.
Select a region. For more information about the regions supported by MSE, see Supported regions.
Configure instance parameters.
Parameter
Description
Engine Type
Select Nacos or ZooKeeper.
NoteIf 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.
ImportantEach 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.
NoteIf 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.
NoteIf you select Internet as the network type, you must configure and purchase the public bandwidth.
Optional. Configure the public bandwidth.
If access to the instance over the Internet is required, you must configure the public bandwidth.
NoteIf 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, select a duration based on your business requirements. You can also select Auto-renewal if required.
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.
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:
Manage instances: On the instance details page in the MSE console, you can modify the instance information or release the instance. For more information, see Manage an instance.
Modify network configurations: To change the VPC of an instance or configure a public IP address whitelist, see Manage the VPC of an instance, Configure a whitelist, Manage services, Manage services, and Monitor engines.
Nacos instances: For more information about how to create Nacos instances, see Nacos engines.
ZooKeeper instances: For more information about how to create ZooKeeper instances, see ZooKeeper engines.