Overview of Spring Cloud application development
Serverless App Engine (SAE) supports the native Spring Cloud microservice framework. You can migrate Spring Cloud applications to SAE by adding service dependencies and modifying registry configurations, with zero code changes. SAE provides enterprise-level application hosting, governance, monitoring, alerting, and diagnosis capabilities.
Benefits of Spring Cloud
Spring Cloud provides standards and specifications that simplify application development, including service discovery, load balancing, circuit breakers, configuration management, message event triggering, and message bus. It also supports gateways, distributed tracing, security, distributed job scheduling, and distributed job coordination.
Commonly used Spring Cloud components include Spring Cloud Netflix, Spring Cloud Consul, and Spring Cloud Alibaba.
If you developed an application with Spring Cloud components such as Spring Cloud Netflix or Spring Cloud Consul, you can deploy it on SAE for application hosting. SAE also provides advanced monitoring features, including end-to-end tracing, monitoring, alerting, and application diagnosis, without requiring any code changes.
To use additional service governance features in SAE, replace your existing Spring Cloud components with Spring Cloud Alibaba components or add them alongside your current setup.
Compatibility
SAE supports Spring Cloud Greenwich, Finchley, and Edgware. For 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 lists the version 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 |