This topic describes how to implement interconnection between on-premises applications and Alibaba Cloud applications by using Alibaba Cloud Toolkit during application development. This way, on-premises applications and Alibaba Cloud applications can call each other, and the development efficiency is improved.
Limits
Java applications in the on-premises and cloud environments can be interconnected with each other. The following table describes the limits on Java applications based on the microservices framework.
Microservices framework | Limits |
Spring Cloud | If you use a Nacos instance to manage application configurations, you must make sure that Spring Cloud Edgware or later is used. |
Dubbo |
|
Interconnection between on-premises and cloud applications
On-premises applications are connected to virtual private clouds (VPCs) through secure channels. On-premises applications can access the resources in the VPCs, such as microservices, databases, cache data, and message queues. Microservices in the VPCs can also call the services that are provided by on-premises applications.

When you enable interconnection between on-premises and cloud applications, the processes of on-premises channel services forward the traffic from on-premises applications to a cloud proxy. The cloud proxy then forwards the traffic to the registry, databases, and other cloud resources. Services in the cloud also use the cloud proxy and on-premises channel services to access on-premises applications. Interconnection between on-premises and cloud applications provides the following benefits:
Ease of use: To connect on-premises and cloud applications, you only need to follow the instructions to enable the interconnection feature in an integrated development environment (IDE). You need to configure an account of the Secure Shell (SSH) proxy, and then start the applications. The IDE plug-in automatically completes tasks, such as configuring a proxy, establishing channels for transmission, and forwarding requests. You do not need to modify the code of your applications or intervene in the process.
Availability: After you enable the feature, two-way connectivity is implemented. On-premises applications can access resources in the cloud, such as microservices, databases, and cache data. Microservices in the cloud can also access the services that are provided by on-premises applications. Interconnection between on-premises and cloud applications provides better usability because this feature supports multiple operating systems and microservices frameworks. The supported operating systems include Windows, macOS, and Linux. The supported microservices frameworks are Apache Dubbo, Spring Cloud, and High-speed Service Framework (HSF).
Security: SSH channels are used between on-premises channel services and cloud proxies for encrypted communication to enhance data security.
IDE supported by interconnection between on-premises and cloud applications
You can use Alibaba Cloud Toolkit in IntelliJ IDEA to establish connections between on-premises and cloud applications. For more information, see Use Alibaba Cloud Toolkit to implement the interconnection between on-premises and cloud applications in IntelliJ IDEA.