Features & tools for Bash in Azure Cloud Shell

Azure Cloud Shell is a browser-based shell experience to manage and develop Azure resources.

Cloud Shell offers a browser-accessible, pre-configured shell experience for managing Azure resources without the overhead of installing, versioning, and maintaining a machine yourself.

Cloud Shell provisions machines on a per-request basis and as a result machine state will not persist across sessions. Since Cloud Shell is built for interactive sessions, shells automatically terminate after 20 minutes of shell inactivity.

Tip

Features & tools in PowerShell is also available.

Bash in Cloud Shell runs on Ubuntu 16.04 LTS.

Features

Secure automatic authentication

Bash in Cloud Shell securely and automatically authenticates account access for the Azure CLI 2.0.

SSH into Azure Linux virtual machines

Creating a Linux VM from Azure CLI 2.0 can create a default SSH key and place it in your $Home directory. Placing SSH keys in $Home enables direct SSH connections to Azure Linux VMs directly from Cloud Shell. Keys are held in acc_.img in your file share, use best practices when using or sharing access to your file share or keys.

$Home persistence across sessions

To persist files across sessions, Cloud Shell walks you through attaching an Azure file share on first launch. Once completed, Cloud Shell will automatically attach your storage (mounted as $Home\clouddrive) for all future sessions. Additionally, in Bash in Cloud Shell your $Home directory is persisted as an .img in your Azure File share. Files outside of $Home and machine state are not persisted across sessions.

Learn more about persisting files in Bash in Cloud Shell.

Tools

Category Name
Linux tools bash
sh
tmux
dig
Azure tools Azure CLI 2.0 and 1.0
AzCopy
Batch Shipyard
Service Fabric CLI
blobxfer
Text editors vim
nano
emacs
Source control git
Build tools make
maven
npm
pip
Containers Docker CLI/Docker Machine
Kubectl
Helm
DC/OS CLI
Databases MySQL client
PostgreSql client
sqlcmd Utility
mssql-scripter
Other iPython Client
Cloud Foundry CLI
Terraform
Ansible

Language support

Language Version
.NET 2.0.0
Go 1.7
Java 1.8
Node.js 6.9.4
PowerShell 6.0 (beta)
Python 2.7 and 3.5 (default)

Next steps

Bash in Cloud Shell Quickstart
Learn about Azure CLI 2.0