{"id":19763,"date":"2021-09-02T15:00:07","date_gmt":"2021-09-02T09:30:07","guid":{"rendered":"https:\/\/www.testpreptraining.com\/blog\/?p=19763"},"modified":"2021-09-02T15:00:08","modified_gmt":"2021-09-02T09:30:08","slug":"an-introduction-to-azure-cloud-shell","status":"publish","type":"post","link":"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/","title":{"rendered":"An introduction to Azure Cloud Shell"},"content":{"rendered":"\n<p>Many organizations and businesses are using Microsoft Azure services and it becomes quite tough work to handle all things at once. So, in order to make handling and managing tasks easy, Azure provides Cloud Shell that acts as a Microsoft-managed admin machine. Whether talking about the features, pricing or getting started with the Cloud Shell, this service is useful in all ways. <em>So, let\u2019s begin the Azure Cloud Shell to learn more about this.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What is Azure Cloud Shell?<\/strong><\/h3>\n\n\n\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cloud-shell\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">Azure Cloud Shell<\/a> is used for managing Azure resources with capabilities for authentication and browser-accessible shell interface. This service provides a flexible shell experience. That is to say, you get to choose the best either Bash or PowerShell. Moreover, in Cloud Shell, there is no need for worrying about installing, versioning, and maintaining a machine as it comes with a pre-configured shell experience for managing Azure resources.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"810\" height=\"300\" src=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/az-cloud-shell.png\" alt=\"Azure Cloud shell\" class=\"wp-image-19767\" srcset=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/az-cloud-shell.png 810w, https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/az-cloud-shell-300x111.png 300w\" sizes=\"(max-width: 810px) 100vw, 810px\" \/><\/figure><\/div>\n\n\n\n<p><strong>Ways to access the Cloud Shell:<\/strong><\/p>\n\n\n\n<p>The Cloud Shell can be accessed in three ways:<\/p>\n\n\n\n<p><strong>1. Direct link<\/strong><\/p>\n\n\n\n<p>Open a browser to https:\/\/shell.azure.com.<\/p>\n\n\n\n<p>2. <strong>Azure portal<\/strong><\/p>\n\n\n\n<p>Chooses the Cloud Shell icon on the Azure portal<\/p>\n\n\n\n<p><strong>3. Code snippets<\/strong><\/p>\n\n\n\n<p>Select the Try It button on docs.microsoft.com and Microsoft Learn. This button will appear with Azure CLI and Azure PowerShell code snippets:<\/p>\n\n\n\n<p><strong>Azure CLI<\/strong><\/p>\n\n\n\n<p><em>az account show<\/em><\/p>\n\n\n\n<p><strong>Azure PowerShell<\/strong><\/p>\n\n\n\n<p><em>Get-AzSubscription<\/em><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>What are the features of Cloud Shell?<\/strong><\/h4>\n\n\n\n<p><a href=\"https:\/\/azure.microsoft.com\/en-us\/features\/cloud-shell\/#overview\" target=\"_blank\" rel=\"noreferrer noopener\">Azure Cloud Shell<\/a> is loaded with unique features that make it more useful for providing solutions to many top organizations. Some of the features includes:<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>1. Accessing Shell from virtually anywhere<\/strong><\/h6>\n\n\n\n<p>In Cloud Shell, you get the option for connecting to Azure using an authenticated, browser-based shell experience hosted in the cloud. This is accessible from virtually anywhere. However, Azure Cloud Shell is allocated per unique user account and it authenticates automatically with every session. Further, in this, you will get a modern command-line experience from multiple access points. This also includes the Azure portal, Azure docs, shell.azure.com, Azure mobile app, and VS Code Azure Account extension.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>2. Options for selecting preferred shell experience<\/strong><\/h6>\n\n\n\n<p>Azure Cloud Shell provides the flexible shell experience that works best as per your requirements. This comes with Bash and PowerShell experiences.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>3. Common tools and programming languages&nbsp;<\/strong><\/h6>\n\n\n\n<p>Microsoft always maintains and updates its services regularly and the same goes with the Cloud Shell. This service comes with updated CLI tools including Linux shell interpreters, PowerShell modules, container tools, database tools, Azure tools, text editors, source control, build tools, and more. Moreover, it also has the support for several popular programming languages like Node.js, .NET, and Python.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>4. Persisting your files in the attached cloud storage<\/strong><\/h6>\n\n\n\n<p>Cloud Shell has the ability to link an Azure Files share for persisting your data. Here, firstly, Cloud Shell will create a file share in Azure Files for persisting data over sessions. And then, it will automatically re-attach it for subsequent sessions.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>5. Creating and editing files in the Cloud Shell editor<\/strong><\/h6>\n\n\n\n<p>Cloud Shell provides an integrated file editor created on the open-source Monaco Editor. Using this, you can run code for entering a file editing experience combined into the Cloud Shell window. The files created and edited will be automatically synced to your backing Azure Files share.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>6. Authenticated and configured Azure workstation<\/strong><\/h6>\n\n\n\n<p>Cloud Shell comes with command-line tools and language support. Moreover, it has the ability for authenticating securely for providing instant access to your resources via the Azure CLI or Azure PowerShell cmdlets.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1018\" height=\"277\" src=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/why-cloud-shell.png\" alt=\"azure cloudshell\" class=\"wp-image-19769\" srcset=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/why-cloud-shell.png 1018w, https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/why-cloud-shell-300x82.png 300w\" sizes=\"(max-width: 1018px) 100vw, 1018px\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Getting Started with Cloud Shell<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1. Bash in Azure Cloud Shell<\/strong><\/h4>\n\n\n\n<p>In this, we will learn the process of using <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cloud-shell\/quickstart\" target=\"_blank\" rel=\"noreferrer noopener\">Bash in Azure Cloud Shell<\/a> in the Azure portal.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>1. Starting Cloud Shell<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, from the top navigation of the Azure portal launch Cloud Shell.<\/li><li>Secondly, choose the subscription for creating a storage account and Microsoft Azure Files share.<\/li><li>Thirdly, select &#8220;Create storage&#8221;<\/li><\/ul>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>2. Selecting the Bash environment<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>Examine that the environment drop-down from the left-hand side of the shell window says, Bash.<\/li><\/ul>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>3. Setting your subscription<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, list subscriptions you have access to.<\/li><\/ul>\n\n\n\n<p><strong>Azure CLI<\/strong><\/p>\n\n\n\n<p><em>az account list<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Then, set your preferred subscription:<\/li><\/ul>\n\n\n\n<p><strong>Azure CLI<\/strong><\/p>\n\n\n\n<p><em>az account set &#8211;subscription &#8216;my-subscription-name&#8217;<\/em><\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>4. Creating a resource group<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>Creating a new resource group in WestUS named &#8220;MyRG&#8221;.<\/li><\/ul>\n\n\n\n<p><strong>Azure CLI<\/strong><\/p>\n\n\n\n<p><em>az group create &#8211;location westus &#8211;name MyRG<\/em><\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>5. Creating a Linux VM<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>Creating an Ubuntu VM in your new resource group. Here, the Azure CLI will create SSH keys and set up the VM with them.<\/li><\/ul>\n\n\n\n<p><strong>Azure CLI<\/strong><\/p>\n\n\n\n<p><em>az vm create -n myVM -g MyRG &#8211;image UbuntuLTS &#8211;generate-ssh-keys<\/em><\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>6. SSH into your Linux VM<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, in the Azure portal search bar, search for your VM name.<\/li><li>Secondly, click &#8220;Connect&#8221; for getting the VM name and public IP address.<\/li><li>Then, with the ssh cmd SSH into your VM.<ul><li><em>ssh username@ipaddress<\/em><\/li><\/ul><\/li><li>An Ubuntu welcome prompt will appear after establishing the SSH connection,<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"620\" height=\"469\" src=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-9.png\" alt=\"example\" class=\"wp-image-19770\" srcset=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-9.png 620w, https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-9-300x227.png 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><figcaption><strong>Image Source: Microsoft<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>7. Cleaning up<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, exit your ssh session.<ul><li><em>exit<\/em><\/li><\/ul><\/li><li>Then, delete your resource group and any resources within it.<\/li><\/ul>\n\n\n\n<p><strong>Azure CLI<\/strong><\/p>\n\n\n\n<p><em>az group delete -n MyRG<\/em><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.testpreptraining.ai\/configuring-and-operating-a-hybrid-cloud-with-microsoft-azure-stack-hub-az-600-practice-exam\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"961\" height=\"150\" src=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/az-600-2.png\" alt=\"az-600 exam\" class=\"wp-image-19771\" srcset=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/az-600-2.png 961w, https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/az-600-2-300x47.png 300w\" sizes=\"(max-width: 961px) 100vw, 961px\" \/><\/a><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>2. PowerShell in Azure Cloud Shell<\/strong><\/h4>\n\n\n\n<p>In this, we will learn the process of using the <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cloud-shell\/quickstart-powershell\" target=\"_blank\" rel=\"noreferrer noopener\">PowerShell in Cloud Shell<\/a> in the Azure portal.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>1. Starting Cloud Shell<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, from the top navigation bar of the Azure portal click on the Cloud Shell button.<\/li><li>Secondly, from the drop-down and you will be in Azure drive choose the PowerShell environment.<\/li><\/ul>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>2. Running PowerShell commands<\/strong><\/h6>\n\n\n\n<p>Running regular PowerShell commands in the Cloud Shell, like:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"791\" height=\"256\" src=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-10.png\" alt=\"cloud shell\" class=\"wp-image-19772\" srcset=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-10.png 791w, https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-10-300x97.png 300w\" sizes=\"(max-width: 791px) 100vw, 791px\" \/><figcaption><strong>Image Source: Microsoft<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<p><strong>Interacting with virtual machines<\/strong><\/p>\n\n\n\n<p>All your virtual machines are available under the current subscription via VirtualMachines directory.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"789\" height=\"210\" src=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-11.png\" alt=\"example\" class=\"wp-image-19773\" srcset=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-11.png 789w, https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-11-300x80.png 300w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><figcaption> <strong>Image Source: Microsoft<\/strong> <\/figcaption><\/figure><\/div>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>3. Discovering WebApps<\/strong><\/h6>\n\n\n\n<p>You can easily navigate your web apps resources by entering into the WebApps directory.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"789\" height=\"467\" src=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-12.png\" alt=\"Azure cloud shell\" class=\"wp-image-19774\" srcset=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-12.png 789w, https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-12-300x178.png 300w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><figcaption> <strong>Image Source: Microsoft<\/strong> <\/figcaption><\/figure><\/div>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>4. SSH<\/strong><\/h6>\n\n\n\n<p>For authenticating to servers or VMs using SSH, create the public-private key pair in Cloud Shell and publish the public key to authorized_keys on the remote machine. This is like \/home\/user\/.ssh\/authorized_keys.<\/p>\n\n\n\n<p><strong>Using SSH<\/strong><\/p>\n\n\n\n<p>For creating a new VM configuration using Azure PowerShell cmdlets follow instructions. However, add SSH public key to the VM configuration before calling into New-AzVM to kick off the deployment. The newly created VM will have the public key in the ~\\.ssh\\authorized_keys location, thereby allowing credential-free SSH session to the VM.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"789\" height=\"269\" src=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-13.png\" alt=\"example\" class=\"wp-image-19775\" srcset=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-13.png 789w, https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-13-300x102.png 300w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><figcaption><strong>Image Source: Microsoft<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>3. Configuring Ansible using Azure Cloud Shell<\/strong><\/h4>\n\n\n\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/developer\/ansible\/getting-started-cloud-shell?bc=%2Fazure%2Fbread%2Ftoc.json&amp;toc=%2Fazure%2Fcloud-shell%2Ftoc.json&amp;tabs=ansible\" target=\"_blank\" rel=\"noreferrer noopener\">Ansible<\/a> has the ability for automating cloud provisioning, configuration management, and application deployments. Using Ansible, it is possible to provision virtual machines, containers, and networks. Moreover, it also enables you to automate the deployment and configure resources in your environment.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>1. Configuring environment<\/strong><\/h6>\n\n\n\n<p><em>If you have a Cloud Shell session open then, move to the next section.<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, browse to the Azure portal<\/li><li>Secondly, login to your Azure subscription and change the Azure directory.<\/li><li>Thirdly, open Cloud Shell.<\/li><li>Then, configure the environment and storage settings.<\/li><li>Lastly, select the CLI you want to use in Cloud Shell.<\/li><\/ul>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>2. Automatic credential configuration<\/strong><\/h6>\n\n\n\n<p>Ansible authenticates with Azure after signing into the Cloud Shell. This is used for managing infrastructure without any additional configuration. However, define the subscription Ansible uses by exporting the AZURE_SUBSCRIPTION_ID environment variable while operating with multiple subscriptions.<\/p>\n\n\n\n<p>Further, run the following command for listing all of your Azure subscriptions:<\/p>\n\n\n\n<p><strong>Azure CLI<\/strong><\/p>\n\n\n\n<p><em>az account list<\/em><\/p>\n\n\n\n<p>Then, set the AZURE_SUBSCRIPTION_ID using your Azure subscription ID as follows:<\/p>\n\n\n\n<p><strong>Console<\/strong><\/p>\n\n\n\n<p><em>export AZURE_SUBSCRIPTION_ID=&lt;your-subscription-id&gt;<\/em><\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>3. Testing Ansible installation<\/strong><\/h6>\n\n\n\n<p>In this, we will learn to create a test resource group inside the new Ansible configuration.&nbsp;<\/p>\n\n\n\n<p><strong>Creating an Azure resource group<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, save the below code as create_rg.yml.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"758\" height=\"223\" src=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-14.png\" alt=\"ansible\" class=\"wp-image-19776\" srcset=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-14.png 758w, https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-14-300x88.png 300w\" sizes=\"(max-width: 758px) 100vw, 758px\" \/><figcaption><strong>Image Source: Microsoft<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Then, use ansible-playbook to run the playbook. Here, replace the placeholders with the name and location of the resource group to be created.<\/li><\/ul>\n\n\n\n<p><strong>Bash<\/strong><\/p>\n\n\n\n<p><em>ansible-playbook create_rg.yml &#8211;extra-vars &#8220;name=&lt;resource_group_name&gt; location=&lt;resource_group_location&gt;&#8221;<\/em><\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>4. Deleting an Azure resource group<\/strong><\/h6>\n\n\n\n<p><strong>Ansible<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, save the below code as delete_rg.yml.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"729\" height=\"211\" src=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-15.png\" alt=\"ansible\" class=\"wp-image-19778\" srcset=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-15.png 729w, https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/1-15-300x87.png 300w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/><figcaption><strong>Image Source: Microsoft<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Then, use the ansible-playbook command for running the playbook. Here, replace the placeholder with the name of the resource group to be deleted. And, all resources inside the resource group will be deleted.<\/li><\/ul>\n\n\n\n<p><strong>Bash<\/strong><\/p>\n\n\n\n<p><em>ansible-playbook delete_rg.yml &#8211;extra-vars &#8220;name=&lt;resource_group&gt;&#8221;<\/em><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Cloud Shell pricing<\/strong><\/h4>\n\n\n\n<p>Azure Cloud Shell comes with no upfront cost, no termination fees, and you only pay for what you use. However, <a href=\"https:\/\/azure.microsoft.com\/en-us\/pricing\/details\/cloud-shell\/#pricing\" target=\"_blank\" rel=\"noreferrer noopener\">Cloud Shell billing<\/a> depends on the Azure Files share used for persisting data. And, the total cost depends on:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, how much do you store,<\/li><li>Secondly, the volume and type of storage transactions,<\/li><li>Thirdly, outbound data transfers,<\/li><li>Lastly, the data redundancy option you choose.&nbsp;<\/li><\/ul>\n\n\n\n<p>Further, with Azure Files share the Azure Cloud Shell creates locally redundant storage (LRS) accounts by default. And, this share will have a 5-GB disk image for Bash.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Final Words<\/strong><\/h3>\n\n\n\n<p>Above we have understood the Azure Cloud Shell by learning the basics, features, and steps to get started with this service. However, we know that Azure Cloud Shell is a browser-accessible and authenticated shell that has the ability for controlling Azure resources. So, if you have an interest in Cloud Shell then start using this to get the best shell experience as per your requirement (Bash or PowerShell).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.testpreptraining.ai\/configuring-and-operating-a-hybrid-cloud-with-microsoft-azure-stack-hub-az-600-free-practice-test\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2021\/03\/az-600-practice-exm-tests.png\" alt=\"AZ-600 exam practice tests\"\/><\/a><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Many organizations and businesses are using Microsoft Azure services and it becomes quite tough work to handle all things at once. So, in order to make handling and managing tasks easy, Azure provides Cloud Shell that acts as a Microsoft-managed admin machine. Whether talking about the features, pricing or getting started with the Cloud Shell,&#8230;<\/p>\n","protected":false},"author":2,"featured_media":19764,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[131],"tags":[3301,3302,3303,3304,3306,3305],"class_list":["post-19763","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-azure","tag-an-introduction-to-azure-cloud-shell","tag-azure-cloud-shell","tag-azure-cloud-shell-features","tag-azure-cloud-shell-pricing","tag-cloud-shell-bash","tag-configure-ansible-using-azure-cloud-shell"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>An introduction to Azure Cloud Shell - Testprep Training Blog<\/title>\n<meta name=\"description\" content=\"Enhance your Azure knowledge and skills by learning the concept of Cloud Shell. Prepare and become Microsoft Certified Azure Professional Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"An introduction to Azure Cloud Shell - Testprep Training Blog\" \/>\n<meta property=\"og:description\" content=\"Enhance your Azure knowledge and skills by learning the concept of Cloud Shell. Prepare and become Microsoft Certified Azure Professional Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-02T09:30:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-02T09:30:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/azure-cloud-shell.png\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pulkit Dheer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pulkit Dheer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/\",\"name\":\"An introduction to Azure Cloud Shell - Testprep Training Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/blog\/#website\"},\"datePublished\":\"2021-09-02T09:30:07+00:00\",\"dateModified\":\"2021-09-02T09:30:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/blog\/#\/schema\/person\/0931136793896e849443990eb08ddb21\"},\"description\":\"Enhance your Azure knowledge and skills by learning the concept of Cloud Shell. Prepare and become Microsoft Certified Azure Professional Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"An introduction to Azure Cloud Shell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/blog\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/blog\/\",\"name\":\"Learning Resources\",\"description\":\"Testprep Training Blogs\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.testpreptraining.ai\/blog\/#\/schema\/person\/0931136793896e849443990eb08ddb21\",\"name\":\"Pulkit Dheer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/162b67a9229d8169c3c928e0ada4e252be835b0d89b1eaff259f320e4a2fd630?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/162b67a9229d8169c3c928e0ada4e252be835b0d89b1eaff259f320e4a2fd630?s=96&d=mm&r=g\",\"caption\":\"Pulkit Dheer\"},\"description\":\"With a background in Engineering and a great enthusiasm for writing, Pulkit focuses on intensive research to create targeted content. He brings his years of learning and experience to his current role. With a zeal towards technological research and powerful use of words dedicated to inspire and help professionals onset their career.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"An introduction to Azure Cloud Shell - Testprep Training Blog","description":"Enhance your Azure knowledge and skills by learning the concept of Cloud Shell. Prepare and become Microsoft Certified Azure Professional Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/","og_locale":"en_US","og_type":"article","og_title":"An introduction to Azure Cloud Shell - Testprep Training Blog","og_description":"Enhance your Azure knowledge and skills by learning the concept of Cloud Shell. Prepare and become Microsoft Certified Azure Professional Now!","og_url":"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/","og_site_name":"Blog","article_published_time":"2021-09-02T09:30:07+00:00","article_modified_time":"2021-09-02T09:30:08+00:00","og_image":[{"width":750,"height":400,"url":"https:\/\/www.testpreptraining.ai\/blog\/wp-content\/uploads\/2021\/08\/azure-cloud-shell.png","type":"image\/png"}],"author":"Pulkit Dheer","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pulkit Dheer","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/","url":"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/","name":"An introduction to Azure Cloud Shell - Testprep Training Blog","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/blog\/#website"},"datePublished":"2021-09-02T09:30:07+00:00","dateModified":"2021-09-02T09:30:08+00:00","author":{"@id":"https:\/\/www.testpreptraining.ai\/blog\/#\/schema\/person\/0931136793896e849443990eb08ddb21"},"description":"Enhance your Azure knowledge and skills by learning the concept of Cloud Shell. Prepare and become Microsoft Certified Azure Professional Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/blog\/an-introduction-to-azure-cloud-shell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/blog\/"},{"@type":"ListItem","position":2,"name":"An introduction to Azure Cloud Shell"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/blog\/#website","url":"https:\/\/www.testpreptraining.ai\/blog\/","name":"Learning Resources","description":"Testprep Training Blogs","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.testpreptraining.ai\/blog\/#\/schema\/person\/0931136793896e849443990eb08ddb21","name":"Pulkit Dheer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/162b67a9229d8169c3c928e0ada4e252be835b0d89b1eaff259f320e4a2fd630?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/162b67a9229d8169c3c928e0ada4e252be835b0d89b1eaff259f320e4a2fd630?s=96&d=mm&r=g","caption":"Pulkit Dheer"},"description":"With a background in Engineering and a great enthusiasm for writing, Pulkit focuses on intensive research to create targeted content. He brings his years of learning and experience to his current role. With a zeal towards technological research and powerful use of words dedicated to inspire and help professionals onset their career."}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/posts\/19763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/comments?post=19763"}],"version-history":[{"count":7,"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/posts\/19763\/revisions"}],"predecessor-version":[{"id":19839,"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/posts\/19763\/revisions\/19839"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/media\/19764"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/media?parent=19763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/categories?post=19763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/blog\/wp-json\/wp\/v2\/tags?post=19763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}