MSE Microservices Registry instances are available in professional and developer editions. The basic edition is no longer sold or updated.
Background
To improve our services and simplify edition selection, the basic edition of MSE Microservices Registry will be discontinued, and its instances will be terminated at 12:00 (UTC+8) on March 3, 2025. After this time, you will no longer be able to access these instances from the console or your applications. Support and ticket services for basic edition instances will remain available until the deadline. For more details, see the Discontinuation of MSE Microservices Registry Basic Edition notice.
Before you begin
-
Select an instance edition: Before upgrading, refer to the Instance Edition Selection Guide to decide whether to upgrade to the developer edition or the professional edition. For the billing details of each edition, see Billing Overview of Common Instances.
-
Evaluate specifications: To ensure data consistency and a stable upgrade, MSE Nacos performs a doublewrite on registered service data during the process. Before you start, ensure that the number of provider instances in your cluster does not exceed the capacity of your basic edition specifications. This prevents the doublewrite from affecting your services. For more information, see Evaluate the Capabilities of Common Instances.
-
Check the engine version: You can upgrade a basic edition instance to the professional or developer edition only if your Nacos engine is version 1.2.1.0 or later. If you are using a 1.1.3.x version, you must first upgrade to version 1.2.1 and then upgrade the instance edition. For instructions, see Upgrade the Nacos engine version.
-
Review engine version compatibility: For information about the features of different MSENacos engine versions, see Nacos engine versions. For system stability, we recommend that you avoid using restricted Nacos SDK versions. To understand the reasons and find solutions, see Restricted Nacos SDK versions.
-
Eureka engine: The MSE-managed Eureka service has been discontinued. MSE Nacos supports the Eureka protocol and is compatible with Eureka clients. We recommend migrating your Eureka basic edition instances to MSE Nacos professional or developer edition instances.
Upgrade impact
-
The upgrade takes about 10 minutes. During this time, you cannot perform any operations on the instance in the console. We recommend performing the upgrade during off-peak hours to avoid disrupting your services.
-
For instances with three or more nodes, the upgrade uses a rolling deployment across the nodes with automatic data synchronization. This ensures a zero-downtime upgrade.
-
Instances with one or two nodes are not high availability instances, so the upgrade will cause downtime.
-
The upgrade process is designed to be seamless for your services. However, network reconnections may occur, generating reconnection logs. Monitoring data may also show temporary fluctuations due to the cluster restart.
-
When upgrading from a Eureka engine to the Nacos professional or developer edition:
-
You do not need to modify your application code.
-
Network reconnections during the upgrade may cause heartbeat renewal to fail for a small number of registered instances. The Eureka client will automatically retry the registration during its next renewal cycle and will recover after connecting to a healthy server node.
-
By default, a Eureka basic edition instance is migrated to the Nacos developer or professional edition with engine version 2.1.2.2. You can later upgrade to the latest Nacos version. For more information, see Upgrade the Nacos engine version.
-
Upgrade path
You can upgrade from the basic edition to the professional or developer edition only if your Nacos engine is version 1.2.1.0 or later. If you are using a 1.1.3.x version, you must first upgrade the engine to version 1.2.1. For instructions, see Upgrade the Nacos engine version.
Upgrade the Nacos engine version
-
Nacos 1.1.3 is discontinued and no longer maintained. To avoid issues, upgrade your engine version to 1.2.1 or later as soon as possible.
-
You cannot roll back the version from the console after the upgrade. If you have any questions, join the DingTalk group with the ID 43525005207 for assistance.
-
Log on to the MSE console, and select a region in the top navigation bar.
-
In the left-side navigation pane, choose Microservices Registry > Instances.
-
You can start the upgrade from the console in one of two ways:
NoteIf the target instance is already the latest version, the Manual Upgrade option is not displayed.
Method 1
On the Instances page, find the target instance and click Manual Upgrade in the Engine Version column.
Method 2
On the Instances page, click the instance you want to upgrade. On the Basic Information page, click Manual Upgrade next to Engine Version.
-
In the Cluster Upgrade dialog box, click OK.
Upgrade the Nacos/Eureka basic edition
-
Log on to the MSE console, and select a region in the top navigation bar.
-
On the Instances page, find the MSE instance, and click More in the Actions column.
-
For a subscription instance, select Upgrade or Downgrade based on your business requirements.
-
For a pay-as-you-go instance, select Upgrade/Downgrade.
-
-
On the change specifications page, select a Product Edition:
-
For single-node instances, select Developer edition.
-
For multi-node instances, select Professional edition.
ImportantThe following limitations apply when you change the Product Edition:
-
A Basic Edition instance can be upgraded to the Developer Edition or Professional Edition.
-
A Developer Edition instance can only be upgraded to a later version of the Developer Edition. It cannot be upgraded to the Professional Edition.
-
A Professional Edition instance can only be upgraded to a later version of the Professional Edition. It cannot be downgraded to the Developer Edition.
-
-
Confirm the Engine specification and Number of Cluster Nodes. After you verify the total cost in the lower-right corner, click Buy now.
FAQ
Client versions
Q: Does the professional edition support older clients?
A: The configuration center is compatible with all Nacos client versions 1.0.0 and later. The service discovery feature is compatible with all Nacos client versions 1.2.0 and later. However, Nacos 1.x.x clients do not support persistent connections. Therefore, we recommend using Nacos client 2.0.0 or later.
Q: How to upgrade Spring Cloud Alibaba or Dubbo clients?
Spring Cloud Alibaba
For Spring Cloud Alibaba, you can upgrade the Nacos client version by specifying it in your dependencies. For example:
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<version>${springcloudalibaba.version}</version>
<exclusions>
<exclusion>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
<version>${springcloudalibaba.version}</version>
<exclusions>
<exclusion>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
<version>2.0.2</version>
</dependency>
Dubbo
For Dubbo, you can also upgrade the Nacos client version by specifying it in your dependencies. For example:
Dubbo version 2.7.8 contains a critical bug that creates an excessive number of Nacos client instances, leading to a surge in connections and threads. You must upgrade your Dubbo version before you upgrade the Nacos client. For more information, see the issue details.
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-registry-nacos</artifactId>
<version>${dubbo.version}</version>
<exclusions>
<exclusion>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
<version>2.0.2</version>
</dependency>
Errors after upgrading
Error: Connection is unregistered or Client not connected,current status:STARTING
-
Symptom: After you upgrade an MSE instance to the professional edition and update the Nacos client in your application, the application fails to start and reports the error
Connection is unregisteredorClient not connected,current status:STARTING. -
Cause: The client cannot establish a gRPC connection with the server. Follow these steps to troubleshoot:
-
Test the network connectivity by running the command
telnet ${nacos.server.address}:9848. -
Check whether your application and the MSE instance are in the same VPC.
-
If you are connecting over the internet, you must first configure a public IP address whitelist.
-
-
You do not need to change the port configuration in your application. Keep it set to 8848. The Nacos client automatically calculates the correct gRPC port.
Error: Nacos cluster is running with 1.X mode, can't accept gRPC request temporarily.
-
Symptom: After you upgrade MSE to the professional edition and the application client, a startup error occurs:
"Nacos cluster is running with 1.X mode, can't accept gRPC request temporarily.”. -
Cause: The MSE professional edition instance is performing a doublewrite and validation process to synchronize data between the old and new versions, ensuring data consistency after the switch. During this time, it temporarily rejects requests from Nacos 2.0.0 clients. Requests from Nacos 1.x.x clients and console operations are not affected. The instance automatically switches over after the synchronization and validation are complete. This process typically takes 5 to 20 minutes, depending on the size of the instance.
-
Recommendation: If you encounter this issue, wait for a few minutes and then restart your application.