Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » AWS/Azure/OpenShift » The Overview of Azure Cloud Shell

The Overview of Azure Cloud Shell

Posted on 26/08/202115/09/2023 Christian By Christian No Comments on The Overview of Azure Cloud Shell
intro-to-azure-cloud-shell

Azure Cloud Shell is an interactive, authenticated, browser-accessible shell for managing Azure resources. It provides the flexibility of choosing the shell experience that best suits the way you work, either Bash or PowerShell. Whereas it also provides the flexibility of choosing either working with Bash or PowerShell. You can directly navigate to the shell account from the Azure Portal by visiting this link https://shell.azure.com. Here you can work directly with the Shell, where you can choose either to work with PowerShell or Bash. kindly refer to some of my contents: How to configure and install ansible on Azure VM, how to Add or Remove Network Interface from a VM in Azure, how to use Azure key vault secrets in Azure pipelines and understanding the overview concept of Azure cloud shell.

In comparison to the Azure resource management, we either use the Azure portal or Azure PowerShell or the Azure CLI’s. In this article, we will explore another useful way of managing Azure resources, i.e. Azure Cloud Shell.

How to access Azure Cloud Shell

The Cloud Shell can be accessed in the following areas: Using the Azure Web Portal Azure portal:

image-9

Using the Cloud Shell https://shell.azure.com

image-11

Once the Shell portal opens, Click on Create Storage. It creates the Azure resources and launches the default shell, as shown below.

image-12

After the first launch, you can use the shell type drop-down control to switch between Bash and PowerShell:

image-13

Then choose Bash to switch from the default Azure Cloud Shell.

image-14

Click on Confirm, and it connects to the Bash session. It uses the containers and attaches an Azure file share for the container. It makes sure that data is persistent between different Azure Cloud Sessions,

image-15

The Azure Cloud Shell Configurations Details

You can use the following icon tabs to customize the cloud shell for both PowerShell and Bash terminals.

image-16

It has the following configurations:

  • Restart Cloud Shell: You can restart the cloud Shell container. If you have any unsaved work, you don’t get it back
  • Help: Hyperlinks for Cloud Shell overview, Azure CLI reference, How to copy-paste, Privacy & terms
  • Settings: You can make some settings for the cloud shell.
  • Upload and download files: You can upload a file from your local machine to the /home/user directory. Similarly, you can download a file available in the /home/user directory.
  • Open new session: You can launch multiple concurrent sessions, and each session runs as a separate process
  • Open editor: It opens an interactive file editor, and it is built upon open-source.
  • Web Preview: It allows running web applications on the Cloud Shell container and preview them directly from here. You can configure port 1025-8079 and 8091-49151 for HTTP requests.

Upload, download, and manage files share using the Azure Cloud Shell from the Bash

To upload a file, click on Upload and select the file name from your local system and click open.

image-17

It then uploads the file selected in the $home directory and shows the status in a pop-up box at the bottom right hand corner of the window screen.

image-18

You can copy the file uploaded to the cloud drive using the cp command.

image-19

You can download the file uploaded from the $home directory or the cloud drive using the following path on the image below and clicking the Download button in the Cloud Shell.

image-20

Click on Download, and you get the file in your downloads folder local computer.

image-21

In the Azure cloud shell for PowerShell, you can also run the Linux commands directly. For example, use the df command to check the file shares, used space, available space and % use space for the drive mounted as the cloud drive.

image-22

You can use the cloud drive -h command, and it lists the available commands. It shows three(3) commands in the list:

image-23

Using The Cloud Shell Integrated Editor

Azure Cloud Shell offers an integrated graphical user interface text editor based on the open-source Monaco Editor. You can simply create and edit configuration files by running code . for seamless deployment through Azure CLI or Azure PowerShell.

image-24

To Open the editor

For simple file creation and editing, launch the editor by running code . in the Cloud Shell terminal and this will opens the editor.

image-25

To directly open a file for quick editing, run code <filename> to open the editor without the file explorer.

image-26

Closing the editor

To close the editor, open the . . . action panel in the top right corner of the editor and select close editor.

image-27

Command palette

To launch the command palette, use the F1 key when the focus is set on the editor. Opening the command palette can also be done through the action panel.

I hope you found this blog post helpful on The Overview of Azure Cloud Shell. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift Tags:PowerShell

Post navigation

Previous Post: How To Use Azure Key Vault Secrets in Azure Pipelines
Next Post: Perform System Monitoring with CheckMK

Related Posts

  • article 1280x720.192a2586 1
    How to apply Windows Updates from WSUS to AWS Instances AWS/Azure/OpenShift
  • front
    How to trigger SQS from a Lambda Function in the same account AWS/Azure/OpenShift
  • image 190
    Creating Profiles for your AWS Access Credentials for AWS Toolkit in Visual Studio AWS/Azure/OpenShift
  • maxresdefault 2 6
    How to create an AMI from the Command line AWS/Azure/OpenShift
  • Slide2 1
    How to deploy WordPress on Azure App Service AWS/Azure/OpenShift
  • Slide1 3
    Azure Virtual Networks: Preparing Azure and On-Premises Virtual Networks with Azure CLI Commands AWS/Azure/OpenShift

More Related Articles

article 1280x720.192a2586 1 How to apply Windows Updates from WSUS to AWS Instances AWS/Azure/OpenShift
front How to trigger SQS from a Lambda Function in the same account AWS/Azure/OpenShift
image 190 Creating Profiles for your AWS Access Credentials for AWS Toolkit in Visual Studio AWS/Azure/OpenShift
maxresdefault 2 6 How to create an AMI from the Command line AWS/Azure/OpenShift
Slide2 1 How to deploy WordPress on Azure App Service AWS/Azure/OpenShift
Slide1 3 Azure Virtual Networks: Preparing Azure and On-Premises Virtual Networks with Azure CLI Commands AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • Capture
    5 ways to take screenshots on Windows 11 JIRA|Confluence|Apps
  • Domain
    Connectivity to a writable domain controller from a node could not be determined because of an error Virtualization
  • Schedule and join Teams Meeting
    How to schedule and join meetings with Microsoft Teams JIRA|Confluence|Apps
  • image 130
    How to fix the Security Database on the Server does not have a Computer Account for this Workstation Trust Relationship on Windows Server [Part 2] Scripts
  • Copilot Microsoft
    How to Disable Copilot in Windows and Microsoft Edge Windows
  • wac
    Fix Windows Admin Center cannot be reached Windows
  • Featured image IE mode.
    How to Enable Internet Explorer Mode in Edge in Windows 11 Windows
  • PRIVATE DOCKER REGISTRY
    How to Set up Private Docker Registry Containers

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,819 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.