title | description | services | documentationcenter | author | manager | tags | ms.assetid | ms.service | ms.workload | ms.tgt_pltfrm | ms.devlang | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Azure Cloud Shell features | Microsoft Docs |
Overview of features of Bash in Azure Cloud Shell |
Azure |
maertendMSFT |
timlt |
azure-resource-manager |
azure |
infrastructure-services |
vm-linux |
na |
article |
04/26/2019 |
damaerte |
[!INCLUDE features-introblock]
Azure Cloud Shell runs on Ubuntu 16.04 LTS
.
Cloud Shell securely and automatically authenticates account access for the Azure CLI and Azure PowerShell.
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, 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. Use best practices when storing secrets such as SSH keys. Services like Azure Key Vault have tutorials for setup.
Learn more about persisting files in Cloud Shell.
PowerShell in Cloud Shell starts you in Azure drive (Azure:
).
The Azure drive enables easy discovery and navigation of Azure resources such as Compute, Network, Storage etc. similar to filesystem navigation.
You can continue to use the familiar Azure PowerShell cmdlets to manage these resources regardless of the drive you are in.
Any changes made to the Azure resources, either made directly in Azure portal or through Azure PowerShell cmdlets, are reflected in the Azure drive. You can run dir -Force
to refresh your resources.
PowerShell in Cloud Shell contains a private build of the Exchange Online module. Run Connect-EXOPSSession
to get your Exchange cmdlets.
Run Get-Command -Module tmp_*
Note
The module name should begin with tmp_
, if you have installed modules with the same prefix, their cmdlets will also be surfaced.
Cloud Shell includes pre-configured authentication for open-source tools such as Terraform, Ansible, and Chef InSpec. Try it out from the example walkthroughs.
Category | Name |
---|---|
Linux tools | bash zsh sh tmux dig |
Azure tools | Azure CLI and Azure classic CLI AzCopy Service Fabric CLI Batch Shipyard blobxfer |
Text editors | code (Cloud Shell editor) vim nano emacs |
Source control | git |
Build tools | make maven npm pip |
Containers | Docker Machine Kubectl Helm DC/OS CLI |
Databases | MySQL client PostgreSql client sqlcmd Utility mssql-scripter |
Other | iPython Client Cloud Foundry CLI Terraform Ansible Chef InSpec |
Language | Version |
---|---|
.NET Core | 2.0.0 |
Go | 1.9 |
Java | 1.8 |
Node.js | 8.9.4 |
PowerShell | 6.2.0 |
Python | 2.7 and 3.5 (default) |
Bash in Cloud Shell Quickstart
PowerShell in Cloud Shell Quickstart
Learn about Azure CLI
Learn about Azure PowerShell