Learn to Use Cloud Shell

Learn to Use Cloud Shell Introduction:

Getting to Know Cloud Shell Cloud Shell is a web-based command-line tool. We can run the cloud command line on any browser to manage Alibaba Cloud resources. When the cloud command line starts, a Linux management machine is automatically assigned to us for us to use for free.

Learn to Use Cloud Shell.Meet Cloud Shell



Cloud Shell is a web version of the command line tool. We can run the cloud command line on any browser to manage Alibaba Cloud resources. When the cloud command line starts, a Linux management machine is automatically assigned to us for us to use for free.
cloud management tools such as CLI and Terraform and system tools such as SSH, Vim, and Jq are pre-installed on the virtual machine, and the Web IDE provided by Cloud Shell assists in daily cloud resource management.
We can directly open the Cloud Shell page alone , or use it embedded in the Alibaba Cloud console. Click the Cloud Shell icon in the upper right corner to evoke Cloud Shell and use it in one-stop in the console.

Features
You can learn to use Cloud Shell through the Cloud Shell tutorial - learn to use Cloud Shell , an interactive one-stop understanding of the features of Cloud Shell.

Learn to Use Cloud Shell .Free virtual machine and license
When Cloud Shell runs, it will automatically create a Linux virtual machine for us, which is free and exclusive. Instances are long-lived while the session is active.
Cloud Shell implements automatic authorization, and we can use the command line to manage cloud resources without additional operations, which is convenient for us to use the cloud command line quickly. Each login account has administrative privileges equivalent to the operation privileges granted to it in RAM.
At the same time, Cloud Shell will perform security authentication on all logged-in users, and isolate virtual machines by user, ensuring the security of the operating environment.
command line access
Run help for details
help
We can use Alibaba Cloud CLI commands to manage cloud resources in Cloud Shell. Through the tutorial: Using Aliyun CLI to manage cloud resources , we can further learn to use Alibaba Cloud CLI.
In addition to the CLI of common tools, Cloud Shell also provides some extended functions: including using the CLI to start tutorials, download files, open files in editors, etc.
We can run cloudshell help in Cloud Shell to view detailed help information.
cloudshell help

Learn to Use Cloud Shell.persistent disk storage

Cloud Shell can bind storage space, giving us persistent storage as our $HOME directory on our Cloud Shell instance. All the files we store in our home directory (including scripts and user configuration files like .bashrc and .vimrc ) persist across sessions, instances.
Through the storage icon on the toolbar, we can bind or unbind our storage space.

Learn to Use Cloud Shell.Code Editor



Cloud Shell has a built-in code editor. We can open the code editor by clicking the code icon on the toolbar.

We can use a code editor to browse the $HOME file directory and view and edit files, while still continuing to use Cloud Shell.

Through the built-in Web IDE of Cloud Shell, we do not need to care about the configuration of the development environment and the installation of various dependent tools, and can directly develop online and execute or deploy through the command line. At the same time, by binding the storage space through Cloud Shell, the files we edit can be permanently stored.

tutorial mode
Cloud Shell supports build and launch tutorials that help other users become familiar with our own projects quickly and efficiently.
A tutorial is a set of instructions written in Markdown. Cloud Shell can parse text in Markdown files into steps and substeps to create contextual tutorials. For more details, please refer to the Writing Cloud Shell tutorial .

After writing the tutorial, we can push the tutorial we wrote to github , and then reveal the tutorial entry where needed:
https:// shell . aliyun.com/?action=git_open&git_repo= ${ git address} &tutorial= ${tutorial file path}
For example, we can add [Try it in Cloud Shell button] to our README.md

Among them, the jump link is:
< a href = " https://shell.aliyun.com/?action=git_open&git_repo=$ { git address} & tutorial=$ { tutorial file path} " target = " my_tutorial " >
< img src = "https://img.alicdn.com/tfs/TB1wt1zq9zqK1RjSZFpXXakSXXa-1066-166.png" width = "180" />
_ _

Available tools
Cloud Shell VM instances come with the following tools preinstalled:

Available tools
Cloud Shell VM instances come with the following tools preinstalled:

scenes to be used
At present, Cloud Shell has been deeply integrated with the container console and SLS console. We can manage containers through Cloud Shell in the container console, our KubeCondig configuration will be automatically synchronized to Cloud Shell, and we can manage containers directly in Cloud Shell without additional configuration.

Learn to Use Cloud Shell.scenes to be used



Learn to Use Cloud Shell .At present, Cloud Shell has been deeply integrated with the container console and SLS console. We can manage containers through Cloud Shell in the container console, our KubeCondig configuration will be automatically synchronized to Cloud Shell, and we can manage containers directly in Cloud Shell without additional configuration.

Learn to Use Cloud Shell .For more usage scenarios, you can refer to the developer lab to learn and use more scenarios through interactive tutorials.

Related Articles

Explore More Special Offers

  1. Short Message Service(SMS) & Mail Service

    50,000 email package starts as low as USD 1.99, 120 short messages start at only USD 1.00