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.

Note We recommend that you select an Elastic Compute Service (ECS) cluster if you cannot decide which cluster type to select.
Cluster type Deployment mode Billing O&M cost Integrated with cloud-native services
ECS cluster One application is deployed on each ECS instance.
  • IaaS: You are charged based on the specification of the ECS instance that you use. For more information, see Billing overview.
  • PaaS: You are charged for the application instances that you use in EDAS. The instances are ECS instances where applications are deployed. For more information, see Pricing.
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.
  • IaaS: You are charged for the Kubernetes clusters that you use. For more information, see Billing rules.
  • PaaS: You are charged for the application instances that you use in EDAS. The instances are pods where applications are deployed. For more information, see Pricing.
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?

  • Issue
  • 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.

  • Solution
    • 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?

  • Issue

    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.

  • Solution

    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?

  • Issue

    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.

  • Solution

    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.