How to start with Azure Cloud Shell The beginning #Azure #ACS #shell #Storage

Microsoft just released the Azure Cloud Shell option in the Azure Portal. here is a quick step by step on how to use this and how to add this with storage explorer when creating a storage account.

Azure CLI 2.0 is optimized for managing and administering Azure resources from the command line, and for building automation scripts that work against the Azure Resource Manager

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli

Azure Cloud Shell

Azure

a LRS storage account is created on your behalf with an Azure file share containing a default 5-GB disk image.

This disk image is used to sync and persist your $Home directory. Regular storage costs apply. Three resources will be created on your behalf:

  • Resource Group named: cloud-shell-storage-<region>
  • Storage Account named: cs-uniqueGuid
  • File Share named: cs-<user>-<domain>-com-uniqueGuid

image

imageimage

So that’s it. To easy? 

As the default help shows you with  az account list you get a list off your azure subscriptions

Azure Cloud Shell

For selecting the right subscription when creating resources 

  • az account set –subscription "MVP-platforms"

Remember using options use – and not like in powershell –

Now creating a Resource group in the selected Subscription

  • az group create –name clustermvp –location westus

image

So very handy on quick creating items in the shell, Still I prefer PowerShell but that’s my thing and I see the options of this and It is a nice new feature.

Quick on creating a new storage account and get the right connection

create a new storage account

  • az storage account create  –resource-group clustermvp –location westus –name clustermvp –sku Standard_LRS –kind Storage

image
 
Now you need to get the connection string to use

az storage account show-connection-string –resource-group clustermvp –name clustermvp

image

Copy the connection string for usage in storage explorer or other usage.

image

Using the connection string in storage explorer

 

imageimage

Fully working string.

image

If you want to know more about the Azure CLI check the docs site on azure CLI

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli

 

 

Follow Me on Twitter @ClusterMVP

Follow My blog https://robertsmit.wordpress.com

Linkedin Profile Http://nl.linkedin.com/in/robertsmit

Google Me : https://www.google.nl

Bing Me : http://tinyurl.com/j6ny39w

LMGTFY : http://lmgtfy.com/?q=robert+smit+mvp+blog

Author: Robert Smit [MVP]

Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009. Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries. Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications: MCT - Microsoft Certified Trainer, MCTS - Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization. Follow Robert on Twitter @ClusterMVP Or follow his blog https://robertsmit.wordpress.com Linkedin Profile Http://nl.linkedin.com/in/robertsmit Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues. A customer says " Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. " Details of the Recommendation: "I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project

One thought on “How to start with Azure Cloud Shell The beginning #Azure #ACS #shell #Storage”

  1. Very good written article. It will be supportive to anyone who utilizes it, including me. Keep doing what you are doing – can’t wait to read more posts.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.