Azure Cloud shell is going to be updated within the next couple of months. A good reason for me to write a blog post about Azure Cloud Shell and how to use it.
I’m a huge fan of PowerShell since I saw the only sessions of PowerShell God Father Jeffrey Snover and Jason Helmick a couple of years ago. Ever since the language got better and faster, although it still misses some key features out-of-the-box like parallelism. Especially when your working with Azure to remove VM’s for an example it does it serial, which can take a lot of time when you want to remove 20 machines.
First time configuration
When starting for the first time you have to complete a couple of steps before you can start using this feature. The Cloud Shell is running within a container via the Azure Container Service without any costs. The only costs that can involve are those for the storage account that is being used.
Configuration isn’t to difficult if you follow the dialogs. After selecting the subscription you need to enter some fields.
I always use the advanced settings because this give you some more freedom in naming the resources that are being created.
This also gives you the option to select or create a “File Share” which I will explain later.
Starting Cloud Shell Environment
After your done configuring the Cloud Shell Container you can start the environment in various ways. Either select the icon on the top right in your Azure Portal or go to https://shell.azure.com/powershell
If you select the icon in the Portal it will take you to the right subscription straight away. When using the URL, which I do most of the case, you will be asked to select the subscription you want to enter. After that your ready to go.
In my next blog I will explain how to use your own PowerShell script and functions in the Cloud Shell environment