Deploy Code Instantly with Alibaba Cloud Toolkit for VSCode
This article explains how to install the Alibaba Cloud Toolkit extension for Visual Studio Code and use its one‑click packaging and deployment features to send code to Alibaba Cloud ECS or any remote server, dramatically speeding up development workflows.
Last year Alibaba Cloud released the Cloud Toolkit IDE plugin for IntelliJ, and a year later the Visual Studio Code version was launched, fully covering front‑end developers and enabling one‑click packaging and deployment that can accelerate development up to eight times.
What can the VSCode version of the plugin do?
After installing the plugin, developers can immediately use any of the following features:
Package and deploy code from the local Visual Studio Code to any Alibaba Cloud ECS server.
Package and deploy code from the local Visual Studio Code to any remote server.
Send and execute specified commands on any Alibaba Cloud ECS or remote server (coming soon).
How to download the plugin?
Developers can install the plugin online via the Visual Studio Code Marketplace or obtain an offline installation package from the community group.
One‑click packaging and deployment
1. Add a host
In Visual Studio Code, click the Alibaba Cloud icon on the left sidebar, select Alibaba Cloud Toolkit - Host View to open the host view, then click Add Host. Fill in the server IP, port, username and password as prompted.
2. Deploy
Click Run Configurations - Deployments - Deploy to Host to create a new deployment configuration. In the "Deploy to Host" dialog, set the deployment parameters and click Apply to save.
Deployment parameter explanations: Name : Define a name for the configuration to distinguish multiple setups. File : Choose the packaging method. Project : Select the root directory of the project to be deployed. Build Output Directory : Directory containing the output after packaging. Webpack Configuration : Specify the Webpack configuration. Target Host : The remote server to which the code will be deployed. Target Directory : The specific directory on the remote server for deployment. After deploy : Command to run after deployment, e.g., sh /root/restart.sh for restarting a Java application.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Programmer DD
A tinkering programmer and author of "Spring Cloud Microservices in Action"
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
