You can create an on-premises or off-premises development environment as needed to develop and debug applications.

Solutions

Enterprise Distributed Application Service (EDAS) provides three solutions for creating development environments. The following table describes the features of the three solutions.

Environment Solution Description
On-premises environment Configure an on-premises lightweight configuration center to implement service registration and discovery, and locally develop and debug services. The lightweight configuration center cannot match the performance level of a production environment, and may encounter performance problems when a large number of services are registered. Due to on-premises deployment, the configuration center cannot use EDAS features such as service governance, monitoring, and publishing. It is a completely on-premises environment.
Alibaba Cloud Create an off-premises development environment, where developers can use the on- and off-premises interconnection plug-in to connect off-premises applications and develop and debug them. All EDAS capabilities can be used. The cost is high when off-premises resources are used.
Hybrid cloud Create a development environment in a hybrid cloud, where developers can perform on-premises development and debugging. All EDAS capabilities can be used. A virtual private network (VPN) or an Express Connect connection is needed to connect the on-premises network to a virtual private cloud (VPC) of Alibaba Cloud. Note: You must activate the EDAS Professional Edition or Platinum Edition.

Create an on-premises development environment

  1. Configure an on-premises lightweight configuration center. For more information, see Start the light-weight configuration registry.
  2. Locally develop and debug applications.

Create a development environment in Alibaba Cloud

  1. Activate EDAS. For more information, see Activate EDAS.
  2. Create resources. For more information, see Overview of resource management.
    Namespaces are used to isolate services and configurations. You can create namespaces for development and testing environments separately.
  3. Deploy applications to the development environment, which is the corresponding namespace. For more information, see Overview and Create and deploy applications (Kubernetes).
  4. Use the on- and off-premises interconnection plug-in to develop and debug applications.

Create a development environment in a hybrid cloud

Notice Only EDAS Professional Edition or Platinum Edition supports a hybrid cloud.
  1. Activate EDAS. For more information, see Activate EDAS.
  2. Create resources. For more information, see Overview of resource management.
    • Namespaces are used to isolate services and configurations. You can create namespaces for development and testing environments separately.
    • You need to create a hybrid cloud (not Alibaba Cloud) cluster.
  3. Deploy applications to the development environment of the hybrid cloud, which is the corresponding namespace. For more information, see Create hybrid cloud ECS clusters.
    Note You must enable the required ports for both Alibaba Cloud Elastic Compute Service (ECS) instances and instances outside Alibaba Cloud.
  4. Locally develop and debug applications.