After you install and configure Alibaba Cloud Toolkit in IntelliJ IDEA, you can deploy on-premises applications to Elastic Compute Service (ECS), Enterprise Distributed Application Service (EDAS), Container Service for Kubernetes (ACK), and servers in Alibaba Cloud. You can also use the features that are provided by Alibaba Cloud Toolkit, such as Arthas diagnostics, file or folder uploading, and the built-in Target Management (TM) Terminal.
Prerequisites
Java Development Kit (JDK) 1.8 or later is downloaded and installed.
IntelliJ IDEA 2018.2 or later is downloaded and installed.
Install Alibaba Cloud Toolkit
You can search for Alibaba Cloud Toolkit in the JetBrains plug-in marketplace and download and install it. If the access to the plug-in marketplace is slow or the download fails, you can use the offline package to install Alibaba Cloud Toolkit.
Download and install Alibaba Cloud Toolkit from the plug-in marketplace.
In the top navigation bar of IntelliJ IDEA, choose
.In the Settings dialog box, click Plugins in the left-side navigation pane.
In the Plugins section, click Marketplace.
In the search box, enter Alibaba Cloud Toolkit.
In the Search Results section, Alibaba Cloud Toolkit is displayed. Click Install.
After you download and install Alibaba Cloud Toolkit, click Restart IDE.
Install Alibaba Cloud Toolkit by using the offline package.
In the top navigation bar of IntelliJ IDEA, choose
.In the Settings dialog box, click Plugins in the left-side navigation pane.
In the Plugins section, click the
icon and select Install Plugin from Disk.
In the Choose Plugin File dialog box, select the offline installation package of Alibaba Cloud Toolkit. You do not need to decompress the package. Perform subsequent steps as prompted on the installation page in IntelliJ IDEA.
Verify the result
After IntelliJ IDEA is restarted, choose
in the top navigation bar. In the Settings dialog box, you can see that Alibaba Cloud Toolkit appears in the left-side navigation pane. This indicates that the installation is successful.Configure account information
When you use Alibaba Cloud Toolkit to deploy applications to Alibaba Cloud, you must call API operations of Alibaba Cloud services. When you call the API operations, you must use an AccessKey pair that consists of an AccessKey ID and an AccessKey secret for authentication in the cloud. Therefore, before you deploy applications, configure account information in Alibaba Cloud Toolkit. Perform the following steps:
Obtain the AccessKey pair.
In the top navigation bar of IntelliJ IDEA, choose
. In the Settings dialog box, choose in the left-side navigation pane.On the Accounts page, enter the AccessKey ID and AccessKey secret that you obtain and then click OK.
NoteIf you use the AccessKey ID and AccessKey secret of a RAM user to deploy applications to EDAS, make sure that the RAM user has permissions to deploy the applications. For more information, see Manage RAM users.
DingTalk group for developer tools in EDAS
If you have questions or suggestions when you use developer tools in EDAS, submit a ticket. To give feedback, you can also join the DingTalk group by scanning the following QR code or searching for the DingTalk group ID 34556175
.