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

  • TLS1.2
    Unable to install Azure AD Connect, TLS 1.2 is required: How to enable or disable TLS 1.2 on a Windows Server via the Registry and PowerShell AWS/Azure/OpenShift
  • Docker Guide
    Pull and Deploy Nginx Container Images from Docker Hub AWS/Azure/OpenShift
  • Create AWS RDS instance
    How to create an Amazon Relational Database Service Instance AWS/Azure/OpenShift
  • azurv2 1
    How to scale up and scale out on Azure AWS/Azure/OpenShift
  • How to Set up a Single Site to Site VPN Connection on AWS
    Setup a Site-to-Site VPN Connection on AWS AWS/Azure/OpenShift
  • Amazon EC2 and S3
    How to sync S3 Bucket with an EC2 instance AWS/Azure/OpenShift

More Related Articles

TLS1.2 Unable to install Azure AD Connect, TLS 1.2 is required: How to enable or disable TLS 1.2 on a Windows Server via the Registry and PowerShell AWS/Azure/OpenShift
Docker Guide Pull and Deploy Nginx Container Images from Docker Hub AWS/Azure/OpenShift
Create AWS RDS instance How to create an Amazon Relational Database Service Instance AWS/Azure/OpenShift
azurv2 1 How to scale up and scale out on Azure AWS/Azure/OpenShift
How to Set up a Single Site to Site VPN Connection on AWS Setup a Site-to-Site VPN Connection on AWS AWS/Azure/OpenShift
Amazon EC2 and S3 How to sync S3 Bucket with an EC2 instance 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

  • Configure Multiple IP Addresses on a Single or Multiple Network Cards
    Configure Multiple IP Addresses on a Single or Multiple NICs Network | Monitoring
  • connect to RDP automatically
    RDP Configuration Settings: Connect automatically to RDP session Windows
  • mssql ubuntu install feature image
    How to reset MSSQL Server SA Password on Ubuntu Oracle/MSSQL/MySQL
  • Exchange logo
    Allow Password change for specific users in Exchange Server Network | Monitoring
  • banner 5
    How to fix Wi-Fi not connecting on Windows 11 Windows
  • Feautured image DualBoot
    How to create a dual-boot setup on Windows 11 Windows
  • Windows 10 Upgrade 1 1
    Perform an in-place upgrade from Windows Server 2016 to Windows Server 2019 Windows Server
  • redisf
    How to install Redis on Linux System Linux

Subscribe to Blog via Email

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

Join 1,808 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.