This topic describes how to install and configure Cloud Toolkit in Eclipse. You must complete these steps before you can use Cloud Toolkit to deploy applications in Eclipse.
Prerequisites
- Download and install Java Development Kit (JDK) 1.8 or later.
- Download and install Eclipse IDE 4.5.0 (codename: Mars) or later for Java EE developers.
- To use the built-in Terminal feature, make sure your TM Terminal is version 4.1.0 or later.
Install Cloud Toolkit
You can download and install Cloud Toolkit from Eclipse Marketplace. If you cannot connect to the server or the download takes too long, you can also install it from the official Cloud Toolkit URL.
- Install from Eclipse Marketplace
- In the Eclipse menu bar, select .
- In the Eclipse Marketplace dialog box, enter Alibaba Cloud Toolkit in the Find
- In the search results, click Install in the lower-right corner of the Alibaba Cloud Toolkit area.
- Follow the prompts on the Eclipse installation page to complete the installation.
- Install from the official Cloud Toolkit URL
- In the menu bar, select .
- In the Available Software dialog box, configure the following settings and click Next.
- In the Work with text box, enter the Cloud Toolkit for Eclipse URL: http://toolkit.aliyun.com/eclipse/.
- In the Name and Version list, select the required components.
- In the Details area, clear the Contact all update sites during install to find required software checkbox.
- Follow the prompts on the Eclipse installation page to complete the installation.
Verify the result
After the plugin is installed, restart Eclipse. The Alibaba Cloud Toolkit icon appears in the toolbar.
Configure account information
Cloud Toolkit calls Alibaba Cloud APIs to deploy applications. These calls require an AccessKey pair for identity verification. An AccessKey pair includes an AccessKey ID and an AccessKey secret. Before you deploy an application, you must configure your account information in Cloud Toolkit. Follow these steps:
- Obtain an AccessKey pair.
- In the menu bar, click .
- 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 and Close.
Note If you use the AccessKey pair of a Resource Access Management (RAM) user to deploy applications to Enterprise Distributed Application Service (EDAS), make sure that the RAM user has the required deployment permissions. For more information, see Manage RAM users.
What to do next
After you install and configure Cloud Toolkit, you can use it to deploy applications.