This topic provides answers to some commonly asked questions about how to create and deploy applications in Enterprise Distributed Application Service (EDAS).
How do I select between an ECS cluster and a Kubernetes cluster?
To create an application, you must select a cluster type first. You can select a suitable cluster type based on the metrics that are described in the following table.
|Cluster type||Deployment mode||Billing||O&M cost||Integrated with cloud-native services|
|ECS cluster||One application is deployed on each ECS instance.||
||The operations and maintenance (O&M) is similar to that in the conventional Linux system. It is easy to get started with and perform O&M on ECS clusters.||N/A|
|Kubernetes cluster||One application is deployed on each pod, and multiple pods can run on each ECS instance.||You must have basic knowledge and experience in virtualization, containerization, and Kubernetes clusters.||Kubernetes clusters can be integrated with cloud-native services. One image can be run in multiple services and regions.|
What can I do if a message that indicates insufficient balance appears when I am creating an application on a new ECS instance?
- Possible cause
When you create an application on a new ECS instance, EDAS automatically purchases a pay-as-you-go ECS instance. Your Alibaba Cloud account must have a balance of at least CNY 100. EDAS fails to purchase a pay-as-you-go ECS instance because your account balance is less than CNY 100.
- Top up your account and make sure that your Alibaba Cloud account has a balance of at least CNY 100. To top up your account, click User Center > Top Up at the Alibaba Cloud website.
- Before you create an application, purchase an ECS instance. Then, create and deploy the application on the ECS instance in EDAS. For more information about how to purchase an ECS instance, see Create an ECS instance.
Why do I see only instance specifications when I select a custom environment?
In the Configurations step, when Custom Environment is selected as Environment, only instance specifications are displayed. The information about the virtual private cloud (VPC) and ECS instance is not displayed.
- Possible cause
You have not created a VPC, a namespace, a cluster, or an ECS instance with the current Alibaba Cloud account in the region. To resolve this issue, you need only to select an instance specification. EDAS then creates a default VPC and an ECS instance of the specified specification, and creates a default namespace and cluster for you.
If you have specific requirements on the network, service isolation, and ECS instance, you can first create a VPC, a namespace, a cluster, and an ECS instance. This way, you can select the corresponding resources in this step to deploy an application.
What can I do if I fail to add an ECS instance to a cluster?
In the Configurations step, Custom Environment is selected. In the Instance Source section, Use Existing Instance is selected. Then, Instance not Imported to Any Cluster is selected. Before the application is created, an error message appears, which indicates that the ECS instance fails to be added to the cluster.
- Possible cause
EDAS does not support the operating system of the selected ECS instance.
Select another ECS instance whose operating system is 64-bit Alibaba Cloud Linux 2.1903 or 64-bit CentOS 6.9, 7.2, 7.3, 7.4, or 7.6.
How do I change an application port?
- To specify the port of an application that is deployed in an ECS cluster, you can change the Tomcat port in the application settings on the details page of the application.
- To change the port of an application that is deployed in a Kubernetes cluster, you can change the port in only the application code or by configuring a Server Load Balancer (SLB) instance for the application.
If you have a question when you follow the new procedure to create applications, scan the following QR code to join the official DingTalk group for technical support. The DingTalk group number is 21958624.