All Products
Search
Document Center

Enterprise Distributed Application Service:Export applications

Last Updated:Dec 07, 2023

If you want to migrate an application in Enterprise Distributed Application Service (EDAS) from Alibaba Cloud public cloud to another Alibaba Cloud environment, or if you want to migrate an application in EDAS across accounts in Alibaba Cloud public cloud, you must export the configurations and package of the application to an on-premises environment. This helps you reduce O&M costs. This topic describes how to export applications to an on-premises environment.

Prerequisites

Applications are deployed in a Kubernetes cluster. For more information, see Use images to deploy microservices applications in Kubernetes clusters.

Note

You can export only applications that are deployed in Kubernetes clusters. For more information about the application data that you can export, see Application data.

Scenarios

  • You migrate an application in EDAS from Alibaba Cloud public cloud to another Alibaba Cloud environment. For example, you migrate an application to EDAS in Alibaba Finance Cloud.

  • You migrate an application in EDAS across accounts in Alibaba Cloud public cloud. For example, you export an application from a source account and import the application to a destination account.

Export multiple applications at a time

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Application Management > Applications.

  3. On the Applications page, select Kubernetes Cluster or User-created Kubernetes Cluster from the Cluster Type drop-down list.

  4. Select the applications that you want to export. In the lower part of the Applications page, choose More > Export Multiple Applications.

    Note

    You can export up to 10 applications at a time.

  5. In the Export Confirmation dialog box, click Export. On the right side of the Applications page, the Application Export progress bar appears. Click Details to view the export progress and details of the applications.

    After the applications are exported, click Import/Export Records to download the JSON packages and binary packages of the applications.

Application data

When you import or export an application, the following application data is imported or exported:

  • The application name, application description, cluster in which the application is deployed, and number of application instances

  • The package and image of the application

  • The number of vCPUs and memory size requested and the maximum number of vCPUs and maximum memory size allowed for the application

  • The configurations of the startup command, startup parameters, and environment variables

  • The readiness and liveness probes and post-start and pre-stop scripts

  • The emptyDir volumes that are mounted for the application

  • The configurations of the microservices namespace and Kubernetes namespace

  • The configurations of the Java Development Kit (JDK), Tomcat, or EDAS Container application runtime environment

  • The configurations of the Java Virtual Machine (JVM) startup parameters

  • The affinity configurations for scheduling

Note

Application data that is not involved in the preceding list cannot be imported, exported, or cloned.