Set up a development environment

更新时间:
复制 MD 格式

You can set up a development environment on the cloud to develop and debug your applications.

Overview of setup solutions

EDAS provides two solutions to set up a development environment. The features of each solution are described below.

Build environment

Solution

Description

Alibaba Cloud

This solution involves creating a development environment on the cloud. Developers use the cloud-terminal joint debugging plug-in to connect to cloud applications for development and debugging.

You can use all features of EDAS. Costs are relatively high because this solution uses cloud resources.

Hybrid cloud

This solution involves creating a development environment in a hybrid cloud. Developers can develop and debug directly on-premises.

You can use all features of EDAS. This solution requires a connection between your on-premises network and an Alibaba Cloud VPC through a VPN or a leased line. Note: The Professional or Platinum Edition of EDAS is required.

Set up a development environment on Alibaba Cloud

  1. Activate EDAS.

  2. Review the Resource Management overview.

    Microservices namespaces are used for service and configuration isolation. You can create separate microservices namespaces for your development and staging environments.

  3. Deploy the application to the development environment in the corresponding microservices namespace. For more information, see Overview of creating and deploying applications and Overview of creating and deploying applications.

  4. Install and configure the cloud-terminal joint debugging plug-in in IntelliJ IDEA or Eclipse on your local machine. For more information, see Introduction to cloud-terminal interconnection.

  5. Use the cloud-terminal joint debugging plug-in to develop and debug the application.

Set up a development environment in a hybrid cloud

Important

Only the Professional or Platinum editions of EDAS support hybrid clouds.

  1. Activate EDAS.

  2. Review the Resource Management overview.

    • Microservices namespaces are used for service and configuration isolation. You can create separate microservices namespaces for your development and staging environments.

    • Create a hybrid cloud (non-Alibaba Cloud) cluster.

  3. Deploy the application to the development environment in the corresponding microservices namespace of the hybrid cloud. For more information, see Create a hybrid cloud ECS cluster.

    Note

    Open the required ports on your Alibaba Cloud ECS instances and non-Alibaba Cloud machines.

  4. Develop and debug the application on-premises.