Aizhi EdgerOS In-depth Analysis of Aizhi Cloud's Native Product ECSM

1. Introduction to Cloud Native

  • In recent years, cloud native has gradually been recognized and accepted by the industry. In China, large institutions and enterprises in many fields, including government, finance, communications, and energy, have achieved cloudification to varying degrees. So what is cloud native? The Cloud Native Computing Foundation provides an official definition: Cloud native technologies enable organizations to build and run scalable applications in new dynamic environments such as public clouds, private clouds, and hybrid clouds, containers, service networks, microservices, Immutable infrastructure and declarative APIs are examples of this approach.
  • The current cloud native mainly includes the main functions of containers, microservice orchestration, microservices (Microservices), service mesh (Service Mesh), serverless (Serverless) and DevOps:
    • Container, also known as LXC (Linux Container), mainly realizes process-level isolation through the combination of the resource management capability of the self-control group cgroups and the resource isolation capability of the namespace Namespace;
    • Microservice orchestration is a leading distributed architecture solution based on container technology. Based on Docker technology, it provides containerized applications with functions such as deployment and operation, resource scheduling, service discovery, and dynamic scaling. Users do not need to pay excessive attention to resources. management problems, reduce the complexity of operations, and improve the convenience of large-scale container cluster management;
    • Different from the traditional monolithic application, the microservice architecture splits the application into multiple core functions, and each function is called an independent service, which can be built and deployed independently;
    • ServiceMesh refers to a configurable infrastructure layer for microservice applications;
    • Serverless refers to building and running applications that do not require server management, that is, developers do not need to pay attention to the underlying infrastructure, but only need to pay attention to the business of the application itself, and the service can be automatically expanded;
    • DevOps is based on agile development to link software development/testers/IT operation and maintenance together, and automate development, testing, and release processes through tools, organizations, etc., and software releases are frequent and efficient.
  • It can be seen that cloud native can easily achieve rapid iteration, automatic deployment, and independent efficiency through the above points. Through cloud native, users will not see an IT system or a virtual host, but a business unit, and developers will be able to more Better to focus on the business itself.

2. What is the cloud native product ECSM?

  • ECSM (Container Management Service) is a cloud-native basic service software independently developed by Yihui Information, which is oriented to mission-critical fields. It is a key part of Hui Information's cloud-native solution.
  • Downward ECSM can be connected to lightweight real-time container ECS, and upward can be connected to enterprise-level management platform ECMP to realize a multi-level overall computing architecture that supports edge autonomous computing.

3. Features of cloud native product ECSM

① Management environment

  • ECSM supports the management of Linux nodes, and communicates with Docker under the Linux nodes through the container daemon process ECSD to manage and monitor the container information deployed on Docker.
  • ECSM also supports the management of SylixOS nodes, and can manage Yihui Information's autonomous ECS lightweight real-time container runtime.

② Resource monitoring

  • ECSM can monitor resources such as CPU, memory, and storage in the cluster in real time, monitor the running status of containers on all working nodes in the cluster, and provide a visual monitoring page.
  • View the status and quantity of services, containers, nodes, and mirrors through the overview function on the ECSM container management platform.

insert image description here

  • At the same time, it can also monitor the CPU usage, disk usage, memory usage, network inflow and outflow data of TOP nodes:

insert image description here

  • On the ECSM container management platform, view the CPU, memory, and disk usage of a single node, the container resource usage of a single node, the running time of a single node, the number of processes, and network inflow/outflow data through the overview function:

insert image description here

  • View the 15-minute data graph for this node in the 15-minute period on the right:

insert image description here

4. Management service of cloud native product ECSM

① Container image management

  • ECSM supports storing images uploaded locally or synchronized through remote warehouses. The local registry is used to save images uploaded locally or synchronized through remote warehouses, and provides the function of delivering images during service deployment.
  • Registry's directory file specification refers to the implementation of Docker Registry. The remote warehouse is relative to the local warehouse. The main responsibility is to provide image files. The local warehouse can pull these images to the local warehouse.
  • Remote warehouse management mainly includes adding, deleting and modifying specified remote warehouses, regularly querying the network connection status of remote warehouses, and recording the status information in the cache.

② Node management

  • ECSM supports adding computing nodes to ECSM through IP addresses and service passwords.
  • The nodes are authenticated through the VSOA framework to ensure the availability of the nodes. Node supports TLS secure connections.

③ Service management

  • A service is an abstract representation of a container instance with the same functionality by the ECSM platform.
  • Services are composed of images and running configurations. After selecting a mirror, configure its running parameters and running context, and a service will be generated at this time. A service may have one or more service instances, and these instances provide the same external Function.

④ Microservice management

  • Realize the registration, discovery, scheduling, load balancing, service gateway, service monitoring and other functions of microservices, solve the problems of coordination, high efficiency and correct operation of a large number of services of the same type, and support fuse degradation and load balancing of services.
  • The microservice data is generated when the service is deployed. If the VSOA option is enabled when the service is created, the ECSM platform will add the container created by the service to the microservice management and perform a health check after the service is successfully deployed. The microservice service name is managed by the host name (microservice name/hostname) filled in when creating the service.
  • Microservice management will manage all containers that use the same host name separately by using the host name (microservice name/hostname) as the grouping condition. At the same time, ECSM has a built-in VSOA Position service, and ECSM will register all microservice information to the Position service, and users can obtain the address information of specific services through the microservice name through the VSOA protocol.
  • Yihui ECSM container management platform, ECS secure container technology, and VSOA framework together build cloud-native ultra-edge computing software capabilities. The three complement each other and are indispensable. The ECS security container solves the abstraction and dependency problems of the application operating environment, making it possible to deploy embedded applications quickly and standardizedly; VSOA, as the network communication basis of the ultra-edge computing environment, ensures the real-time and reliability of mission-critical application requests Lightweight and highly available computing is realized. The ECSM container management platform is a link between the past and the future, endowing the entire system with organizational coordination and management capabilities, and providing application distribution, microservice orchestration definition, and business scheduling and management capabilities.
  • At the same time, Yihui Aizhi team is actively developing an enterprise application development platform, which will work with the enterprise management platform to provide enterprise users with integrated comprehensive cloud-native software development services. Combining with the existing software products of Yihui Information, it realizes the R&D, construction, testing, release, deployment and monitoring of container applications - the full life cycle DevSecOps solution, accelerates the R&D iteration speed of the traditional software industry, and strives to promote the process of the Internet of Everything era .

Guess you like

Origin blog.csdn.net/Forever_wj/article/details/130069556