Alibaba Cloud Toolkit

Pankaj kushwaha
3 min readJul 6, 2020

In small and medium-sized companies, there is a pain point. After the project is developed, it needs to be deployed to the server.

The traditional method is more troublesome, and after the code is modified, it needs to be repackaged and uploaded. Doing these repetitive tasks requires a lot of time, and deployment automation CI tools are costly and require a high server configuration, which will cost the boss more money.

Moreover, the company is small and the staff is tight. It is even more cost-effective to deploy people to do CI deployment. Is there a convenient way to save money, time, and effort in completing the above deployment operations? Today I will introduce you an artifact. After writing the code, you only need to click a button and it will automatically help you complete the subsequent applications. Deploy all actions, this is -Alibaba Cloud Toolkit one-click cloud artifact.

Alibaba Cloud Toolkit(hereafter referred to as Cloud Toolkit) is a plugin for IDEs such as Eclipse or IntelliJ IDEA. Help developers more efficiently develop, test, diagnose, and deploy applications that are suitable for cloud operations.

Cloud Toolkit seamlessly integrates with mainstream IDEs and other Alibaba Cloud products to help you greatly simplify the deployment of applications to servers, especially Alibaba Cloud servers.

Traditional application deployment

In the traditional deployment method, more than 7 steps are required to complete the deployment, and switch back and forth between multiple products such as local IDE, cloud product console, Git/SVN, Maven/Gradle, mirror warehouse, ECS, container and so on.

Cloud Toolkit deployment method
In the deployment method using Cloud Toolkit, the plug-in automates multiple steps such as project construction, SCP upload and deployment package, production of Docker Image, login to the machine, and push to the image warehouse. You only need to install the Cloud Toolkit on the local IDE when you use it for the first time, and you can quickly deploy it.
Refrence- Official website: https://www.aliyun.com/product/cloudtoolkit

Why use Cloud Toolkit

Scene 1: Deploy to ECS

After coding in IntelliJ or Eclipse, there is no need to switch between Maven, Git, and other O&M scripts and tools. With the Cloud Toolkit plugin,
select the target ECS instance on the IDE’s graphical interface to launch the application. Deploy to ECS specified directory

CodingSelect machineDeployment

Scene 2: Deploy to EDAS

EDAS is a PaaS platform for applications and micro-services. For Alibaba Cloud EDAS developers,
can link local code and cloud applications for automated deployment.

CodingLink local projects to EDAS applicationsDeployment

Scene 3: Deploy to Kubernetes

Container Services Kubernetes Edition provides high-performance scalable container application management capabilities for Alibaba Cloud Kubernetes developers,
can associate native code with cloud containers for automated image upload and deployment

CodingBuild and push the image to the RepoLink local projects to Kubernetes containersDeployment

Scenario 4: Remote server operation

Log in to the remote server directly in IntelliJ or Eclipse for terminal command execution

Configure SSH account Select machineTerminal operating

Scenario 5: SQL execution

Connect to the Alibaba Cloud RDS database in the local IDE, allowing developers to perform SQL execution without switching

Thanks for reading this post.

--

--

Pankaj kushwaha

Database/System Administrator | DevOPS | Cloud Specialist | DevOPS