After installing and configuring Cloud Toolkit in IntelliJ IDEA, you can quickly deploy a local application to Alibaba Cloud ECS, EDAS, Container Service for Kubernetes, or any server. You can also use other features such as Arthas diagnostics, file and folder uploads, and the built-in terminal.
Prerequisites
- Download and install JDK 1.8 or later.
- Download and install IntelliJ IDEA (2018.2 or later).
Install Cloud Toolkit
You can search for and install Alibaba Cloud Toolkit from the JetBrains plugin marketplace. If the plugin marketplace is slow or you cannot download from it, you can install the plugin with an offline package.
- Install from the plugin marketplace.
- In the IntelliJ IDEA menu bar, choose .
- In the Settings dialog box, click Plugins in the left-side navigation pane.
- On the Plugins page, click the Marketplace tab.
- In the search bar, enter Alibaba Cloud Toolkit.
- In the Search Results section, find Alibaba Cloud Toolkit and click Install.
- When the installation is complete, click Restart IDE.
- Install from an offline package
See Contact Us to join our DingTalk group and obtain the offline package. Then, follow these steps to install it.
- In the IntelliJ IDEA menu bar, choose .
- In the Settings dialog box, click Plugins in the left-side navigation pane.
- On the Plugins page, click
and then click Install Plugin from Disk....
- In the Choose Plugin File dialog box, select the Cloud Toolkit offline package (do not unzip it) and follow the on-screen instructions to complete the installation.
Verify installation
After IntelliJ IDEA restarts, choose from the menu bar. If you see Alibaba Cloud Toolkit in the left-side navigation pane of the Settings dialog box, the installation was successful.
Configure account information
To deploy applications to the cloud, Cloud Toolkit uses Alibaba Cloud APIs, which require an AccessKey for authentication. An AccessKey consists of an AccessKey ID and an AccessKey Secret. Before you can deploy an application, you must configure your account information in Cloud Toolkit. Follow these steps:
- Get an AccessKey.
- In the IntelliJ IDEA menu bar, go to . In the Settings dialog box, choose from the left-side navigation pane.
- On the Accounts page, enter your AccessKey ID and AccessKey Secret, and then click OK. Note If you use the AccessKey ID and AccessKey Secret of a RAM user to deploy applications to EDAS, ensure that the RAM user has the required permissions. For more information, see the EDAS documentation on Manage RAM users.
Next steps
After you install and configure Cloud Toolkit, you can use it to deploy applications.