Enterprise Distributed Application Service (EDAS) provides microservice-oriented application demos that use the following frameworks: Spring Cloud, Dubbo, and High-speed Service Framework (HSF). These demos show you how to deploy microservice-oriented applications in EDAS. In addition, EDAS provides a default Elastic Compute Service (ECS) cluster in which you can deploy applications. This topic provides an example on how to deploy a microservice-oriented application in the default ECS cluster.
Prerequisites
- EDAS is activated. For more information, see Activate EDAS.
- Auto Scaling is activated and authorized to access resources of other cloud services.
Background information
- Default ECS cluster: A default microservice namespace is created in each region. EDAS automatically creates a default ECS cluster in the microservice namespace. The ECS cluster is deployed in the default virtual private cloud (VPC) of the region.
- Application demos: You can use the microservice-oriented application demos in the
EDAS console to deploy and call simple services. The microservice-oriented application
demos use the Spring Cloud, Dubbo, and HSF frameworks. Each demo contains two applications.
The procedures to deploy application demos that use different frameworks are similar.
In this example, an application demo that uses the Spring Cloud framework is deployed.
For more information about the microservice-oriented application demos, see alibabacloud-microservice-demo.
- For more information about how to implement the features of an application with microservices, see Overview.
Deploy an application demo
Each microservice-oriented application demo contains a server-side application (service provider) and a client-side application (service consumer). The following example shows how to deploy the server-side application. After you deploy the server-side application, repeat the same steps in this section to deploy the client-side application.
Verify the result
The client-side application contains web services. After both the server-side and client-side applications are deployed, check whether you can log on to the web interface of the client-side application.