All Products
Search
Document Center

Enterprise Distributed Application Service:Deploy a Kubernetes application to EDAS from IntelliJ IDEA

Last Updated:Mar 11, 2026

Alibaba Cloud Toolkit lets you deploy applications directly from IntelliJ IDEA to Enterprise Distributed Application Service (EDAS). Configure your deployment parameters once, then redeploy with a single click -- useful for fast iteration and batch deployments.

Before you begin

Complete these tasks before you start:

Enable remote debugging for a microservices namespace

Skip this section if your application runs in the default microservices namespace.

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Resource Management > Microservice Namespaces.

  3. In the top navigation bar, select the region where your namespace is located.

  4. On the Microservices Namespace page, find your namespace and click Edit in the Actions column.

  5. In the Edit Microservices Namespace dialog box, turn on Allow Remote Debugging.

Deploy the application

  1. Open your project in IntelliJ IDEA.

  2. In the Project panel, right-click your project name and choose Alibaba Cloud > Deploy to EDAS... > EDAS for Kubernetes Application.

    The project name shown in the menu matches your project name in IntelliJ IDEA (for example, Java_demo).
  3. In the Deploy to EDAS Container Service K8s Cluster dialog box, configure the parameters on the Settings tab. Deployment method Choose one of the following methods based on your build workflow:

    Target application

    ParameterDescription
    RegionThe region where you want to deploy the application.
    NamespaceThe microservices namespace that contains the target application.
    ApplicationThe name of the EDAS application to deploy to.
    MethodWhen to useConfiguration
    Maven BuildYour project uses Maven.No additional configuration. The plugin builds and deploys the artifact automatically.
    Upload FileYour project does not use Maven, or you have a deployment package.Select the local file to upload.
    Build ImageYou want to build a container image from source code.Specify the Content Directory (the build context path), the Dockerfile path, and the image Version tag.
    Select ImageYou want to deploy an existing container image.Select the image from the Select Image drop-down list.

    Settings tab of the Deploy to EDAS Container Service K8s Cluster dialog box

  4. Click the Advanced tab and configure additional parameters as needed.

    ParameterDescription
    Application EnvironmentThe runtime environment for the application.
    Startup CommandA custom startup command for the application.
    EnvironmentsEnvironment variables to inject into the application container at startup, specified as key-value pairs.
    PersistenceNetwork-attached storage (NAS) volumes to mount to the application container for persistent data.
    StorageAdditional storage configuration for the application container.
    Application ManagementApplication lifecycle settings.

    Advanced tab of the Deploy to EDAS Container Service K8s Cluster dialog box

  5. Click Apply, then click Run to start the deployment.

Verify the deployment

After deployment starts, IntelliJ IDEA displays deployment logs in the Console panel. Check these logs to confirm the deployment completed without errors.

To verify in the EDAS console:

  1. Log on to the EDAS console.

  2. Find your application and click the application name to open the details page.

  3. In the left-side navigation pane, click Change List to view the deployment history and status.