Enterprise Distributed Application Service (EDAS) allows you to host applications in Elastic Compute Service (ECS) clusters and Kubernetes clusters. In Kubernetes clusters, EDAS supports Java applications, PHP applications, and applications that are compiled in multiple languages such as Node.js, Go, and Python. This topic describes the deployment methods that are supported by different types of applications.

Java applications

After Spring Cloud, Dubbo, or High-speed Service Framework (HSF) applications are developed, you can deploy the applications in Kubernetes clusters by using WAR packages, JAR packages, or images.

Deployment method Description Runtime environment Monitoring and governance Documentation
Use images to deploy applications Applicable to applications that are to be deployed in Kubernetes clusters by using custom images Custom environment A Java agent is automatically mounted to the application runtime environment for fine-grained monitoring. In addition, EDAS provides complete solutions for microservice governance, such as canary releases, service authentication, and throttling and degradation. Use an image to deploy an application in an ACK cluster
Use JAR packages to deploy applications Applicable to Dubbo and Spring Boot applications Java Use a JAR or WAR package to deploy an application in an ACK cluster
Use WAR packages to deploy applications Applicable to Dubbo and Spring applications Java and Apache
Use WAR packages or FatJar packages to deploy applications Applicable to HSF applications EDAS Container
Note To create multiple Java applications in a Kubernetes cluster at a time, call the InsertK8sApplication operation. For more information, see InsertK8sApplication.

PHP applications

You can build PHP applications from source code and host the applications in EDAS. When you deploy a PHP application, select a PHP version. EDAS provides the PHP 7.3/Apache/CentOS 7 runtime environment. Common PHP plug-ins are installed in the environment.

When you deploy PHP applications, a PHP agent is automatically mounted to the application runtime environment for fine-grained monitoring. In addition, EDAS uses a service mesh of Istio to provide complete solutions for microservice governance, such as canary releases, service authentication, and throttling and degradation.

For more information, see Build PHP applications from source code and deploy them in ACK clusters.

Multi-language applications

You can use custom images to deploy and host multi-language applications in EDAS.

When you deploy multi-language applications, EDAS uses a service mesh of Istio to provide complete solutions for microservice governance, such as canary releases, service authentication, and throttling and degradation.

For more information, see Use images to deploy microservice-oriented multi-language applications in Kubernetes clusters.

Note To create multiple multi-language applications in Kubernetes clusters at a time, call the InsertK8sApplication operation. For more information, see InsertK8sApplication.