Serverless App Engine (SAE) supports the native Spring Cloud microservice framework. You can migrate applications that are developed by using this framework to SAE by only adding dependencies to and modifying the configurations of service registries. You do not need to modify any code. SAE provides the following enterprise-level capabilities: application hosting, application governance, monitoring, alerting, and application diagnosis.
Benefits of Spring Cloud
Spring Cloud provides a series of standards and specifications to simplify application development. These standards and specifications include service discovery, load balancing, circuit breakers, configuration management, message event triggering, and message bus. Spring Cloud also helps you implement gateways, distributed tracing, security, distributed job scheduling, and distributed job coordination based on the standards and specifications.
The following Spring Cloud components are commonly used: Spring Cloud Netflix, Spring Cloud Consul, and Spring Cloud Alibaba.
If you have developed an application by using Spring Cloud components such as Spring Cloud Netflix and Spring Cloud Consul, you can deploy the application on SAE to use application hosting capabilities. You can use the advanced monitoring features of SAE, such as end-to-end tracing, monitoring, alerting, and application diagnosis, without the need to modify any code.
To use more service governance-related features in SAE to manage your Spring Cloud applications, you must replace your Spring Cloud components with the components in Spring Cloud Alibaba or add Spring Cloud Alibaba components.
Compatibility
SAE supports Spring Cloud Greenwich, Spring Cloud Finchley, and Spring Cloud Edgware. For information about version mappings among Spring Cloud, Spring Boot, and Spring Cloud Alibaba, see Version mappings.
Spring Cloud feature | Open source component | Compatibility with SAE | |
General features | Service registration and discovery |
| Compatible and substitute components available |
Load balancing | Netflix Ribbon | Compatible | |
Service calls |
| Compatible | |
Configuration management |
| Compatible and substitute components available | |
Service gateway |
| Compatible | |
Tracing | Spring Cloud Sleuth | Compatible and substitute components available | |
Spring Cloud Stream |
| Compatible and substitute components available | |
Spring Cloud Bus |
| Compatible and substitute components available | |
Security | Spring Cloud Security | Compatible | |
Distributed job scheduling | Spring Cloud Task | Yes | |
Distributed coordination | Spring Cloud Cluster | Compatible |
Version mappings
The following table describes the mappings among Spring Cloud, Spring Boot, Spring Cloud Alibaba, and the commercialized components of SAE.
Spring Cloud | Spring Boot | Spring Cloud Alibaba |
ANS | ACM | SchedulerX |
Greenwich | 2.1.x | 2.1.1.RELEASE |
Finchley | 2.0.x | 2.0.1.RELEASE |
Edgware | 1.5.x | 1.5.1.RELEASE |
Hoxton | 2.2.x | 2.2.x |