Last week we had a look into the Azure PowerShell. But did youto know that there is an easier way to access Azure PowerShell and much more tools?! Today we will have a look at the Azure Cloud Shell.
What is Azure Cloud Shell?!
The Azure Cloud Shell is a browser-accessible Shell implementation that is integrated into many Microsoft toolings. You can find links for Cloud Shell in the Azure Portal, in Microsoft Docs and there are also ways to integrate it with tools like VS Code.
The green “Try It” button will guide you to the Cloud Shell for example.
Cloud Shell supports a Bash or a PowerShell experience. It is based on a per-user temporary host that has a connection to an Azure File Share to persist data.
The use of Azure Cloud Shell is free and comes with no additional cost. The only thing you have to pay is the data stored in the share.
Getting started with Cloud Shell
If you want to start using Azure Cloud Shell you can easily go into the Azure Portal and click this little button:
This will bring up the Shell on the bottom of the Azure Portal as an adjustable area:
If you are running it for the first time you have to create / or select the file share first. By default a new Resource Group, a storage account and the share will be created automatically. But you can also adjust this to your own needs.
You can also use Cloud Shell directly via the Browser without opening Azure Portal first. Just open shell.azure.com and this will bring you to the “shell-only” experience.
The Shell is automatically authenticated with your Azure AD credentials. So you can start managing your environment.
Integrated Features and Tools
The good thing about the Azure Cloud Shell is that a lot of tools are already integrated. So you do not have to install an Azure PowerShell before you can start. It is already there and you are ready to start.
But not only the Azure native tools are pre-packed. There is a whole list of tools integrated … some of my favorites are:
code (Cloud Shell editor) – an editor experience in the shell … nice one
git – for you source control
Docker, Kubectl, Helm – for your containers
Terraform, Ansible, Puppet, Chef – for your IaC and Configurations
But my favorite feature is the Azure Drive. When you start a PowerShell session you will start in the path Azure:\ – this means your Azure is mounted as drive.
Now you can use you known commands to navigate in this drive, like listing your RGs here:
Cloud Shell Limitations
As we all know, good things come with some constraints. So there are some limitations you should know:
per Tenant there is a maximum of 20 concurrent users
Ctrl+c for copy is supported, but use Shift+Insert for paste
sessions without interaction are stopped after 20 minutes
in Azure Government Cloud Shell is only accessible via the Azure Portal
More limitations and known issues can be found in the Microsoft Docs.
Also this week there were many news around Microsoft Azure! Here as always the overview for you: Public preview: SAP S/4HANA events are now available on Azure Event Grid Forrester Total Economic Impact study: Azure Arc delivers 206 percent ROI over 3 years General availability: Azure Sphere OS version 22.10 Generally available: Azure Communication Services…
Also this week there were many news around Microsoft Azure! Here as always the overview for you: Generally available: SFTP support for Azure Blob Storage Leverage SFTP support for Azure Blob Storage to build a unified data lake Azure Virtual WAN simplifies networking needs General availability: Azure Premium SSD v2 Disk Storage General availability: OpenTelemetry…
Also this week there were many news around Microsoft Azure! Here as always the overview for you: Generally available: Kusto Trender Public preview: Enhanced soft delete for Azure Backup Public preview: Multi-user authorization for Backup vaults Public preview: Immutable vaults for Azure Backup General availability: Azure NetApp Files application volume group for SAP HANA Generally…
Also this week there were many news around Microsoft Azure! Here as always the overview for you: Scalable management of virtualized RAN with Kubernetes Cost optimization using Azure Migrate Public preview: Azure Firewall Basic Generally available: Query Store hints Azure SQL Database, Azure SQL Managed Instance Azure Firewall Basic now in preview Microsoft and INT…
Also this week there were many news around Microsoft Azure! Here as always the overview for you: Public preview: Policy analytics for Azure Firewall General availability: ExpressRoute FastPath support for Vnet peering and UDRs Strengthen your security with Policy Analytics for Azure Firewall Ensure zone resilient outbound connectivity with NAT gateway Azure SQL—General availability updates…
[…] easiest way to start an interactive session is to use the Azure Cloud Shell. As the Cloud Shell automatically signs you in with your Azure AD credentials, you have an […]
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here:
Cookie Policy
1 Comment
[…] easiest way to start an interactive session is to use the Azure Cloud Shell. As the Cloud Shell automatically signs you in with your Azure AD credentials, you have an […]