The microservice engine MSE is newly upgraded, and you can quickly experience the full-stack capabilities of microservices in 15 minutes

Author: Grass Valley

Preface

The microservice engine MSE is newly released! The new version brings a series of exciting features and improvements, making it easier and more efficient for you to build and manage microservice applications. From quick start to migration optimization, MSE provides developers with a full range of support and solutions. Whether you're new to microservices or already deep into it, MSE will bring you unique experiences and breakthroughs. Let's explore the new features of MSE together and start a new chapter of microservice development!

picture

Quick start, take you to experience MSE in 15 minutes

MSE focuses on user experience and we have a new quick start guide for you. In just 15 minutes, you can easily understand the basic concepts and core functions of MSE. With a systematic understanding of MSE, enterprises can evaluate and select microservice architecture more scientifically and systematically, improve the accuracy and success rate of decision-making, and provide Provide strong support for the digital transformation of enterprises.

picture

Deploy microservice applications

Watch the video demonstration of "Deploying Microservice Applications": https://help.aliyun.com/zh/mse/getting-started/mse-quick-start#f814392035lp6

You will be guided to deploy Demo application A (consumer) and application B (provider).

  • Application A in Demo calls application B. You can go to Github to view the Demo code.
  • Demo integrates SpringCloud and Dubbo framework at the same time, and the engine type is Nacos

Microservice query and configuration

Watch the video demonstration of "Microservice Query and Configuration": https://help.aliyun.com/zh/mse/getting-started/mse-quick-start#18c3af7035n4n

  • The service will be automatically registered to the MSE Nacos instance you selected, so we will guide you to query the service that was successfully deployed in the first step
  • Provides the ability of unified configuration management, so we will guide you to experience the process of publishing configuration, application A (consumer) will constantly monitor the configuration you released

picture

External exposure services

Watch the video demonstration of "Exposed Services": https://help.aliyun.com/zh/mse/getting-started/mse-quick-start#31c97a4035tpd

  • MSE cloud-native gateway is a next-generation gateway product compatible with the K8s Ingress standard. It merges traditional traffic gateway and microservice gateway functions to make it more stable, secure and performant.
  • We will guide you to expose services to the public network through "Cloud Native Gateway" and conduct routing debugging

picture

Experience full-link grayscale

Watch the video demonstration of "Experience Full Link Grayscale": https://help.aliyun.com/zh/mse/getting-started/mse-quick-start#4435f82035lx5

  • MSE service governance provides full ecological capabilities such as lossless online and offline, full-link grayscale, and traffic management, helping you develop at a lower cost, eliminate change risks, and enhance operational stability.
  • We will guide you to implement full-link grayscale release through "service governance" and realize full-link traffic isolation of baseline applications and grayscale applications.

picture

Free trial available (Freetier)

In the quick start experience, involving registration configuration center, cloud native gateway, microservice governance, and ACK 4 experience products, Alibaba Cloud will provide free trial activities so that you can experience our products for free! Try our core functionality and features at no cost. Whether you are an individual user, student, developer or start-up, we can meet your needs:

Click the link to apply: https://free.aliyun.com/?product=9564559

picture

Brand new cloud migration experience

picture

Microservice migration tool

Microservice architecture applications have become the first choice for many enterprises. However, with the rapid development of business and the continuous evolution of technology, the migration of microservice architecture has become a severe challenge. Now, we bring you MSE (Microservices Engine) Sync, a powerful tool designed specifically for microservice migration, making microservice migration easy.

picture

Support multiple engine data model conversion

MSE Sync provides a powerful model conversion function. It can automatically convert Eureka, Nacos, and ZooKeeper to each other. You can greatly reduce the workload of manual reconstruction and improve migration efficiency.

picture

Visualization of migration tasks

The MSE migration tool now has a visual function and provides an intuitive operation interface, allowing you to perform migration operations, create and manage migration tasks directly in the graphical interface, bringing great convenience and intuitiveness to your migration process. At the same time, MSE Sync provides support for synchronizing task number, status and other important visual data.

picture

Automatically generate migration configuration

MSE divides the migration process into clear steps and tasks, allowing you to complete the generation of migration configuration step by step. There is no need for cumbersome command line operations, you only need to complete the corresponding settings and configurations in the intuitive interface.

picture

User migration case

The microservice migration tool provided by MSE has helped many companies successfully migrate to the cloud:

Case 1: An enterprise in the education industry
is an online education institution, focusing on the field of online education for middle school students. Before using MSE, it built a set of Eureka clusters for registration centers. Due to the high long-term human operation and maintenance costs, Due to insufficient technical investment, the problem could not be solved quickly. Based on this reason, we carried out business transformation and successfully migrated the self-built Eureka registration center to MSE Nacos. During the migration process, MSE Sync was used to synchronize data between the self-check cluster and the MSE cluster, making the migration process smooth.

Case 2: A company in the logistics industry
is a freight dispatching platform, focusing on the field of highway logistics. Before using MSE, it used Eureka as the registration center. The maintenance cost of self-built Eureka was high, and stability problems often occurred, resulting in poor service. Stable, for this reason migrated to MSE. During the migration process, MSE Nacos supports the Eureka protocol and directly migrates to MSE by modifying the client configuration. Through MSE Sync, the data of the self-built cluster and the MSE cluster are synchronized, smoothing the transition during the migration process, and the business No sense.

Gateway white screen migration function

MSE Ingress provides a more powerful Ingress traffic management method on top of the MSE cloud native gateway. MSE Ingress combines traffic gateway, microservice gateway and security gateway into one, and is compatible with K8s Ingress standard API. It solves the problems of large resource consumption, large performance loss, difficulty in controlling stability and security caused by independent design and independent operation and maintenance of three-layer gateway architecture. Complex protection and other problems. MSE provides a white-screen migration tool to migrate self-built Nginx Ingress to MSE Ingress. There are two migration methods:

Reuse Nginx Ingress SLB

Principle: The SLB created by the Nginx Ingress Controller Service in the ACK cluster is reused in the MSE Ingress. The nodes of the MSE Ingress are automatically added to the already listening virtual server group of the original SLB. Finally, the traffic migration is completed by setting the traffic weight.

On the premise of keeping the original traffic link available, the MSE Ingress reuses the existing SLB and automatically synchronizes the original Nginx Ingress rules. Finally, after verification, the traffic is gradually cut to MSE Ingress. The entire process can keep the original traffic inlet SLB unchanged, and there is no need to change the DNS traffic cut.

picture

Based on DNS resolution

Principle: Add the resolution results of MSE SLB to the DNS server for all business domain names associated with Nginx Ingress. Some DNS service providers provide weighting methods to control the traffic ratio of Nginx SLB and MSE SLB.

picture

ACK fast access

This update will provide ACK (Alibaba Cloud Container Service) with a new microservice management access experience upgrade. Provides a simplified access process, allowing enterprises to connect microservice applications to the MSE governance center more quickly and easily. Through a few simple steps, lossless online and offline of microservice applications can be achieved, with full-link grayscale , traffic management and other key functions.

One-click installation of ack-onepilot components

The process of ACK application access is mainly to install the management component ack-onepilot. MSE integrates the previously cumbersome manual steps into an access page, where you can complete the one-click installation of ack-onepilot, greatly simplifying access. process:

picture

Support namespace access

MSE supports enabling MSE microservice governance in a specified namespace. All pods in the namespace will be connected to MSE microservice governance. You no longer need to manually connect one by one:

picture

Upgrade service autonomy system

MSE has upgraded the MSE service autonomy system to provide a comprehensive and flexible set of tools and mechanisms, giving you the ability to independently diagnose and troubleshoot problems, allowing you to identify, locate and solve problems independently and quickly, and improve the stability and reliability of the system. sex.

picture

unified event center

MSE unified event center is a powerful event management tool that can respond to and comprehensively grasp your business-critical events in real time, efficiently monitor, process and analyze various events to ensure high availability and stability of the business.

Unique Features and Benefits of MSE Event Center:

  1. Real-time monitoring and response: MSE Event Center can monitor various events occurring in your business in real-time, such as exceptions, alerts, user actions, etc. Whether it is a critical failure event or important user behavior, you will be notified as soon as possible, and through the solutions provided by MSE, you can complete risk elimination in a self-closed loop to ensure business continuity and stability.
  2. Multi-channel notification: MSE Event Center supports multiple notification channels, including email, SMS, instant messaging, etc., allowing you to receive event notifications according to your personal preferences for timely processing and response.
  3. Unified event management: MSE Event Center provides a unified event management platform that allows you to centrally process and manage all MSE product events, including cloud native gateways, Nacos, ZooKeeper, and service governance. No more switching back and forth between different systems and tools, you can handle and track events all in one place in the MSE Event Center.

picture

Gateway self-service troubleshooting function

Gateway self-help troubleshooting tool. You can quickly locate the cause, locate and solve the problem through multi-dimensional clues such as error code, domain name, request path, etc. by yourself. Solve problems more efficiently and increase development productivity. Troubleshooting example: The newly created service is associated with a route, but when requesting the /get route, it is found that the service cannot be adjusted and the following return body is received:

< HTTP/1.1 503 Service Unavailable
< content-length: 114
< content-type: text/plain
< date: Fri, 11 Aug 2023 08:27:57 GMT
< server: istio-envoy
<
* Connection #0 to host xxx.xxx.xxx.xxx left intact
upstream connect error or disconnect/reset before headers. retried and the latest reset reason: connection failure%

1. Enter the gateway details page > Troubleshooting

2. Enter the error code "503" returned during debugging and the request path "/get", and query the record of the abnormal request:

picture

3. The reason for the incorrect request was found to be "server refused connection". After clicking on the details, you saw the corresponding solution:

picture

After checking the guidance document, it was found that the security group authorization was not performed for the services associated with the /get route, causing the gateway to be unable to access the back-end services normally.

picture

After completing the security authorization according to the instructions, I debugged the route again and got the normal status code 200:

< HTTP/1.1 200 OK
< server: istio-envoy
< date: Fri, 11 Aug 2023 08:39:28 GMT
< content-type: application/json
< content-length: 357
< access-control-allow-origin: *
< access-control-allow-credentials: true
< req-cost-time: 1
< req-arrive-time: 1691743168391
< resp-start-time: 1691743168393
< x-envoy-upstream-service-time: 1
<

MseUtil Troubleshooting Tool

In the daily development and production environment, there may be abnormalities in the connection of the client to the MSE cluster due to network or other factors. At this time, it is necessary to check the status of the cluster and the client. Usually, it is necessary to locate the problem by querying the corresponding exception explanation in the document. The link of the problem is relatively long and time-consuming. Therefore, MSE provides a one-click diagnostic tool to discover problems on the client -> server link and provide suggestions, making troubleshooting faster.

Supports four-word commands to query server status and is compatible with zkCli

mseutil supports ZooKeeper four-word commands. For example, you can use the following four-word command to query a summary of the current status of the Server:

mseutilzookeeper4 lw--serverAddrmse-xxx.aliyuncs.comstat

picture

mseutil supports all ZooKeeper four-word commands, and you can check the specific usage through mseuitl zookeeper 4lw ​​-h.

mseutil is compatible with zkCli and supports querying and modifying data in MSE ZooKeeper.

For example, you can quickly query the Znode data corresponding to Path in the instance through the following command:

mseutil zookeeper get--serverAddr=mse-xxxx.aliyuncs.com /zookeeper

Similar mseutil also supports (set, delete, ls, stat) and other commands. Get more help through mseutil zookeeper -h.

Support service information query and update capabilities for Nacos instances

mseutil supports one-click diagnosis of Naocs and supports query-based instance query registration function.

mseutilnacos inspect --serverAddr ${实例连接地址}

picture

Query the list of service instances:

mseutilnacos get instance -n ${namespaceId}-s ${serviceName}-g ${groupName}

Register an instance of the corresponding service:

mseutil nacos create instance <IP> :<PORT>-n ${namespaceId} -s ${serviceName} -g ${groupName} -c ${clusterName}

In addition, the diagnostic tool supports Nacos 1.x client protocol and Nacos 2.x client protocol, which can be switched through parameters:

mseutilnacos get instance -s ${serviceName}--v2

This can completely cover all basic scenarios on the client side and reduce the cost of problem location.

MSE Serverless Planning

In order to meet the growing needs of users, MSE will introduce the serverless field in the near future. This will make MSE more flexible and easily scalable, providing enterprises with more choices and support.

The development plan for the MSE Serverless version will focus on the following key aspects:

  1. Powerful elasticity and automatic expansion: Taking advantage of the serverless architecture, MSE will be able to automatically elastically expand according to actual needs to adapt to changes in traffic. This will greatly improve the reliability and performance of the service.
  2. Simplified deployment and maintenance: The serverless architecture will make the deployment and maintenance of MSE easier and more automated. Users do not need to care about the management of the underlying infrastructure, but only need to focus on the development and optimization of business logic.
  3. Low cost and high efficiency: The MSE Serverless version will adopt a pay-as-you-go model. Users only need to pay according to the resources actually used, avoiding the waste of idle resources and reducing costs. At the same time, the automatic scaling feature of the serverless architecture will also improve resource utilization efficiency.

The planning of the MSE Serverless version will be an important step in our continuous innovation and meeting user needs. We believe that by introducing the Serverless architecture, MSE will bring a more flexible and efficient microservice experience to enterprises, helping enterprises to maintain competitive advantages in the rapidly changing digital era.

Stay tuned for the arrival of the MSE Serverless version!

Guess you like

Origin blog.csdn.net/alisystemsoftware/article/details/132480058