Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How Cloud Toolkit deploys applications

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about how to deploy Cloud Toolkit applications, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

1. What is Cloud Toolkit?

Cloud Toolkit is a plug-in in the developer's local IDE that helps developers develop, test, diagnose and deploy applications more efficiently. Through this plug-in, you can deploy local applications to any server with one click, or even to the cloud (Aliyun's ECS, EDAS, Kubernetes and Mini Program Cloud, etc.); and there are also built-in tools such as Arthas diagnostics, Dubbo tools, Terminal terminals, file uploads and MySQL executors.

two。 Ways to deploy applications before using Cloud Toolkit 1. Write application code 2. Packaged application

3. Log in to server 4. Upload the application package to the server

5. Start the application

Or make the application run in the background

6. Access application

3. The way to deploy applications after using Cloud Toolkit 1. Install the Cloud Toolkit plug-in (here take IDEA as an example)

Make sure that IntelliJ, PyCharm, PhpStorm, etc., are in version 2018.1 or later. This article takes IntelliJ as an example.

Step 1: open the Settings (under Windows) or Preferences (under Mac) window of Intellij

Step 2: enter the Plugins option, search for "Alibaba Cloud Toolkit", and install it, as shown below:

After the plug-in is installed successfully, restart Intellij, and you can see the icon of Alibaba Cloud Toolkit in the toolbar.

Step 3: fill in the invitation code 4QEFVD

two。 Configure server information in Cloud Toolkit

3. Configuration and upload, deployment success method 1 (with packaging process, suitable for projects using maven):

Open the configuration panel deployed to the host

Method 2 (only upload files, which need to be manually packed by yourself, which is suitable for projects that do not use maven):

4. Just access the interface.

4. The difference between previous deployment and deployment using Cloud Toolkit

When the application update code needs to be redeployed, the previous deployment method needs to re-perform the accepted deployment steps:

Packing

Log in to the server using the ssh tool

Upload the packaged application to the server

Restart the application manually or using a script on the server

Using Cloud Toolkit requires only the following steps

Open the Cloud Toolkit deployment panel and click run

The above is how Cloud Toolkit deploys applications, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report