Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form

The Overview of Azure Cloud Shell

Posted on 26/08/202115/09/2023 IT Expert By IT Expert No Comments on The Overview of Azure Cloud Shell
  1. Home
  2. AWS/Azure/OpenShift
  3. 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

  • unnamed
    Add or delete users and set permissions in Azure AD AWS/Azure/OpenShift
  • ADO Self hosted agent
    How to Create Self-Hosted Agent for Azure DevOps Pipelines Automation
  • azure active director
    AD Connect Error: The Synchronisation service scheduler is currently synchronization and the configuration change cannot be made at this time AWS/Azure/OpenShift
  • CloudFrontAWS
    Serve Private S3 Bucket Contents Via CloudFront AWS/Azure/OpenShift
  • image 54
    How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
  • image 190
    Creating Profiles for your AWS Access Credentials for AWS Toolkit in Visual Studio AWS/Azure/OpenShift

More Related Articles

unnamed Add or delete users and set permissions in Azure AD AWS/Azure/OpenShift
ADO Self hosted agent How to Create Self-Hosted Agent for Azure DevOps Pipelines Automation
azure active director AD Connect Error: The Synchronisation service scheduler is currently synchronization and the configuration change cannot be made at this time AWS/Azure/OpenShift
CloudFrontAWS Serve Private S3 Bucket Contents Via CloudFront AWS/Azure/OpenShift
image 54 How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
image 190 Creating Profiles for your AWS Access Credentials for AWS Toolkit in Visual Studio 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

  • 7164 1024x575 1
    How to install MDT PowerShell module on Windows Scripts
  • Screenshot 2022 04 02 at 22.59.54
    How to fix importing the project failed: Project namespace path can contain only letters, digits, etc Version Control System
  • cisco switches
    Delete the configuration of a Cisco router: How to wipe configuration off an interface on a Cisco router Network | Monitoring
  • KMS server setup
    How to set up and configure the Key Management System (KMS) Windows Server
  • AGMP Replacement
    AGMP extended support ends April 2026: Find alternative solution Windows Server
  • xvbn
    How to restore accidentally deleted calendars, bookmarks, files, or contacts from iCloud Mac
  • sysprep
    SysPrep was unable to validate your Windows Installation Virtualization
  • His May Be The Server Does Not Exist
    Fix unable to contact Server: This may be the server does not exist Windows Server

Subscribe to Blog via Email

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

Join 1,801 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

AWS 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.