Prerequisites
Development frameworks and cluster types have limits when the interconnection between on-premises and cloud applications is used. For more information, see Overview of the interconnection between on-premises and cloud applications.
Eclipse IDE 4.5.0 or later is downloaded and installed.
An Elastic Compute Service (ECS) instance that can be logged on to by using Secure Shell (SSH) is created in the ECS console. The ECS instance is used to establish a channel for the interconnection between on-premises and cloud applications.
ImportantWhen you use SSH channels, password authentication is required. Key pair authentication is not supported.
Step 2: Configure your Cloud Toolkit account
Configure your Cloud Toolkit account by providing an AccessKey ID and an AccessKey secret.
Start Eclipse.
In the toolbar, click the drop-down arrow next to the Alibaba Cloud Toolkit icon, and then click Preferences....
In the Preferences (Filtered) dialog box, click Accounts in the navigation pane on the left.
On the Accounts page, enter your AccessKey ID and AccessKey secret, and then click Apply.
ImportantIf you use the AccessKey ID and AccessKey secret of a Resource Access Management (RAM) user, ensure that the RAM user has at least the Deploy Applications permission. For more information, see RAM User Authorization.
If you have an Alibaba Cloud account, click Get existing AK/SK on the Accounts page. Log on to your account. You are then redirected to the security information management page to obtain your AccessKey ID and AccessKey secret.
If you do not have an Alibaba Cloud account, click Sign up on the Accounts page to create one. After you create the account, obtain the AccessKey ID and AccessKey secret as described in the previous step.
Step 3: Configure the local and cloud connection
In Eclipse, click the Alibaba Cloud Toolkit icon (
) in the toolbar, and then click Preferences… in the drop-down menu.In the Preferences (Filtered) dialog box, choose in the navigation pane on the left. Configure the local and cloud connection in the settings area on the right.

Select Join EDAS Register to enable the local and cloud connection feature.
Set Region and Namespace to the region and namespace where the connected application is located.
For namespaces other than the default, you must manually enable the Allow remote debugging option.
Log on to the EDAS console.
Select a Region and go to .
In the namespace list, find the target namespace and click Edit in the Actions column.
In the Edit Namespace dialog box, turn on the Allow remote debugging switch.
In the SSH Configuration area, configure the following settings.
In the Gateway Host text box, enter the public IP address of the ECS instance that you created.
In the Username and Password text boxes, enter the credentials for the SSH connection. You can use the credentials for your ECS instance, or enter a new username and password and add the new credentials by clicking Add SSH Rule.
For Spring Cloud applications, enter the service port of the application in the Server Port text box. This field is not required for other application types.
Click Add SSH Rule to complete the configuration.
If you enter the root username and password for the ECS instance, the root account is used for the configuration. A Configuration added successfully message appears.

If you use a new or non-root account, root permissions are required to configure the agent for that account. In the Add SSH Rule dialog box, enter the root Password, and then click Add.
ImportantThe ECS instance password is used only to create a network agent. It is not used for any other purpose.
Use a new or non-root account for the connection. You can share the credentials of this account with other team members who need to connect. This practice helps prevent the exposure of root account information.
Click Apply, and then click OK.
ImportantIf you use EDAS on Apsara Stack Enterprise Edition, you must also configure the Endpoint in Cloud Toolkit. Contact EDAS technical support to obtain the Endpoint.
In the Preference (Filtered) dialog box, choose in the navigation pane on the left.
On the Endpoint page, enter the Endpoint. After the configuration is complete, click Apply and Close.
More information
If you encounter problems when you use Alibaba Cloud Toolkit to implement the interconnection between on-premises and cloud applications, see FAQ about on-premises and cloud connection for more information.
You can purchase ECS instances in EDAS. For more information, see Purchase ECS instances in ECS clusters.
If you want to use the Eclipse plug-in to deploy an application to EDAS, see Use Eclipse to deploy an application to EDAS for more information.