Microsoft has introducted a new cloud service called Azure Cloud Shell at Build 2017 event. Azure Cloud Shell is an interactive, browser-accessible shell for managing Azure resources, it is quite like PowerShell.
In this blog, we will discuss on how Azure Cloud Shell works.
Why we need Azure Cloud Shell?
In general, cloud user interfaces have been divided into a web-based graphical interface or a command line terminal interface. Both interfaces provide their utilities and different users prefer different interfaces for different tasks. Similar to developing code before integrated development environments like Visual Studio or Visual Studio Code, switching between these interfaces requires switching between applications, a context switch that slows the process and makes it harder to accomplish our goals. To solve this problem, Microsoft built an integrated workflow enabling users to build their applications on Azure using graphical and command line tools, even on devices where command line tools aren’t installed.
The key features of Azure Cloud Shell:
- Automatic authentication to the command line tools from our existing web login
- All Azure command line tools, as well as relevant command line utilities pre-installed
- Personalized, persistent workspace that preserves our code, configuration and activity across cloud shell sessions.
How to start Azure Cloud Shell
Launch Cloud Shell from the top navigation of the Azure portal
Select a subscription to create a storage account and Azure file share with
Select “Create storage“
With a single click, we are dropped into a terminal command line tools pre-configured with our existing Azure credentials. This terminal is a well-developed console featuring not only the Azure command line tools, but also standard editors and tools we would expect.
- Cloud Shell runs on a temporary machine provided on a per-session, per-user basis
- Cloud Shell times out after 10 minutes without interactive activity
- Cloud Shell can only be accessed with a file share attached
- Cloud Shell is assigned one machine per user account
- Permissions are set as a regular Linux user
Azure Cloud Shell provides a Browser-based Shell experience that’s hosted in the cloud and accessible virtually from anywhere.