The Wayback Machine - https://web.archive.org/web/20241128001857/https://www.geeksforgeeks.org/microsoft-azure-storage-in-azure-cloud-shell/
Open In App

Microsoft Azure – Storage in Azure Cloud Shell

Last Updated : 03 Apr, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

In this article, we will look into what really goes on underneath the covers as we demystify storage in the Azure Cloud Shell. The first time that you interact with the Azure Cloud Shell, it’ll ask you to create an Azure storage account. It’s going to use the storage account to persist any keys or any scripts that you might need whenever you’re interacting with your resources. 

When you choose the basic settings and select only a single subscription, Cloud Shell will create 3 resources on your behalf in the supported region that’s nearest to you:

  1. Resource group: cloud-shell-storage-<region>
  2. Storage account: cs<uniqueGuid>
  3. File share: cs-<user>-<domain>-com-<uniqueGuid>

Supported Storage Regions:

Cloud Shell machines exist in the following regions:

Area Regions
Americas East US, South Central US, West US
Europe North Europe, West Europe
Asia Pacific India Central, Southeast Asia

Storage in Azure Cloud Shell:

If we look at our research groups, we have a research group called cloud-shell-storage-westus. 

In here we could see the storage account that got created for us. Now, if we were supposed to invoke the Cloud Shell, let’s run an LS command. we’ll see that we have a cloud drive folder that’s already mounted for us.

Now, if we go into that cloud drive directory, we’ll see that we also have another folder called the cloud console. So, let’s go into that too. Inside of here, we have a file called acc_cecile.img.

This is the file that’s actually backing the Azure Cloud Shell to persist any of the information you might need.


Previous Article
Next Article

Similar Reads

Microsoft Azure - Add Azure Cloud Shell to VS Code
In this article, we will look into how to add the Azure Cloud Shell to Visual Studio Code. This can significantly make the developer's life simpler and reduce the time switching between windows. Follow the below steps to add Azure cloud Shell to VS Code: Step 1: To add the Azure Cloud Shell to Visual Studio Code, first, we'll need to make sure that
2 min read
Microsoft Azure - Accessing Cloud Shell from Microsoft Docs
In this article, we will look into the process of accessing the Cloud Shell from within the Microsoft documentation. The Azure Cloud Shell allows us to easily run commands against our resources inside of the Azure portal. We can also run the Cloud Shell inside of the documentation. To do so follow the below steps: Step 1: Here, we are taking a look
2 min read
Microsoft Azure - Archive Azure VM to Azure Storage Account
In this article, we will be implementing a solution to archive a select azure VM snapshot to a select storage account for archiving using azure cloud shell. For implementation, we will be using Azure CLI commands. Prerequisite:VM SnapshotA storage account is neededUser needs "Storage Blob Contributor Data" IAM Role Access on Archiving Storage Accou
2 min read
Microsoft Azure - Query Azure Storage Logs in Azure Monitor Log Analytics
Pre-requisite:- Azure Log Analytics is a tool offered by Azure, which is used to edit and run log queries against data in the Azure Monitor Logs store and helps interactively analyze their results. One can easily use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide various insi
5 min read
Microsoft Azure- Disk Storage in Microsoft Azure
Azure Disk Storage is the only shared cloud block storage that supports both Windows and Linux-based clustered or high-availability applications via Azure shared disks. There are two types of Disks in Azure : Managed Disks Unmanaged Disks.Managed DisksSimplest optionLower management overhead as Azure manages the storage accounts.Only LRS replicatio
6 min read
Microsoft Azure - Viewing Underlying Softwares using Cloud Shell
In this article, we will learn about the underlying software in the Azure Cloud Shell. Whenever we fire up the Azure Cloud Shell, what's actually happens, is that a Linux container gets spun up in the background for us. So, now, we have a sandbox environment for us to execute our commands. On top of that, the very first time that we are on the Clou
2 min read
Microsoft Azure - Check Available Azure Modules in Shell
Pre-requisite: Azure Azure Modules are preconfigured templates that allow you to quickly deploy applications on Microsoft Azure. In this article, we'll show you how to check available modules for your region in the Azure portal using Cloud Shell. To see what Azure modules are available for your region, follow the below steps. Steps to Find Azure Mo
1 min read
Microsoft Azure - Export the List of Azure Storage Services using KQL
Pre-requisite: Azure In this article, we will show you how to export the information of Azure Storage Services by using KQL (Kusto Query Language) resource graph query to retrieve within a subscription in simple and easy steps. We will be using Azure native service called Azure Resource Graph Explorer to retrieve the information. To retrieve the in
2 min read
Microsoft Azure - Concept of Blob Versioning in Azure Storage
In this article, we will learn how to use Blob versioning in Azure Storage. Azure Storage can automatically version Blobs for you. Let's see how that works. In the Azure portal, we already have an Azure Storage account. To use Blob versioning, we need to enable it from the "Data protection" menu of the Blob section. We just need to enable versionin
2 min read
Microsoft Azure - Add Storage Blob Owner Role Assignment For Azure AD User
In this article, you will see how you can add Storage Blob Owner role assignment for active directory users for granting permissions to operate on the storage account level and to grant permissions to other users within the storage account level. The main purpose of Storage Blob Data Owner is it allows for full access to Azure Storage blob containe
2 min read
Microsoft Azure - Hosting a Static Website with Azure Storage
Azure storage stores all types of data. It is mainly designed for storage where we can easily store both structured and unstructured data. In Microsoft Azure, you can easily upload your static website and share the link anywhere and anyone can see your website, you can manage your access control. Html, CSS, and JavaScript you can put your code on t
3 min read
Microsoft Azure - Mount Azure Storage in Container App In App Service
In this article, we are going to learn how to mount Azure Storage as a local share for App Services Linux web apps. Implementation: So to start the process of connecting to Azure Storage mount, you should click on configuration. Once you are inside the configuration blade, click on path mappings. Start by giving it a name. For eg name it s1share. A
3 min read
Microsoft Azure - Mounting Azure Storage in a Container App
In this article we will learn how to mount Azure Storage as a local share for App Services Linux web apps. In the given article we are going to demonstrate how to mount Azure Storage as a local share for a container app deployed on Azure App Services for Linux. So to start the process of connecting to Azure Storage mount, you click on configuration
3 min read
Microsoft Azure - Using Blazor and C# to Host a Static Website in Azure Storage
Pre-requisite:- Azure Ever hosted a static website like a blog or a simple information website, That can be a hassle and expensive, Blazor is a cool, new feature of ASP.NET that allows you to build interactive web UIs using C# instead of JavaScript. And you can run your client-side C# code directly in the browser, using Web Assembly which is a stan
5 min read
Image and Video Storage with Azure Blob Storage: Media Applications
"Binary Large Object-Based Storage (BLOB)" stands for Binary Large Object. It is a storage type where files of any size and type can be stored, ranging from gigabytes to terabytes to petabytes and beyond. This seemingly infinite storage is unstructured and is distinct from databases or data warehouses. Types Of Azure Blob StorageBlock Blob: Used fo
11 min read
Optimizing Costs with Azure Blob Storage: Storage Tiers and Lifecycle Policies
Azure Blob Storage, a key component of Microsoft Azure, is a powerful service designed to store and manage massive amounts of unstructured data in the cloud. It offers various ways to optimize costs, including selecting appropriate storage tiers and implementing lifecycle policies. This article explores these cost optimization strategies to help bu
5 min read
Microsoft Azure - Opportunities in the Cloud with Azure SQL
Once you get to Azure SQL, there are a lot of other opportunities in the Cloud. There are a lot of other services once you're in Azure that you can start to leverage and integrate to build really interesting, powerful, intelligent solutions and applications for things like IoT, or streaming, or automation, or all sorts of things. Building Modern Ap
2 min read
Microsoft Azure - Protecting Hybrid Cloud Workloads using Azure Defender
In this article, we will learn how to use Azure Defender to protect hybrid cloud workloads. Azure Defender is a feature of the Security Center and provides advanced threat analysis capabilities. It can also protect hybrid workloads. Let's try to have it monitor your local computer. There are several ways to onboard your computer, including onboardi
2 min read
Microsoft Azure - Using Azure Spring Cloud
Pre-requisite:- Azure VM In this article, we will learn how to get started with Microsoft Azure - Using Azure Spring Cloud. Azure Spring Cloud is a fully managed service that allows developers to build, deploy, and run Spring Boot applications on the Azure platform. It is designed to simplify the process of developing and deploying microservices-ba
3 min read
Microsoft Azure - Azure Application Service Environments v2 Private PaaS Environments in the Cloud
Pre-requisite: Azure Microsoft Azure is a Cloud Computing Platform and Infrastructure created by Microsoft for building, deploying, and managing applications and services through a global network of Microsoft-managed data centers. Azure Application Service Environments (ASE) v2 is a private Platform as a Service (PaaS) environment in the cloud that
5 min read
Microsoft Azure - Get Azure VM Properties using Azure PowerShell
The purpose of using the Azure PowerShell Commands is to quickly analyze the overall properties of VM/VMs at once the filtering the with select and where conditions. To find the properties of an Azure VM, you can perform the following commands in Azure Cloud Shell to get the details. Command: Get-AzVM Output: 1. Get all properties of an Azure Virtu
2 min read
Microsoft Azure - RDP to Azure Virtual Machines using Azure Bastion
In this article, we will learn how to do RDP(Remote Desktop Protocol) / SSH(Secure Shell) Connection to an Azure VM using Azure Bastion. First, let's discuss Azure Bastion. The Azure Bastion service is a fully platform-managed PaaS service that you provision inside your virtual network. It provides secure and seamless RDP/SSH connectivity to your v
3 min read
Microsoft Azure - Configure Azure SQL with Azure CLI
In this article, we're going to take a closer look at how you can configure something like connectivity using the Azure CLI. What we have here is we are in Azure Data Studio and similar to the SQL notebook we are actually using a PowerShell notebook. That just means all our code cells are going to run PowerShell and we are just connecting to localh
4 min read
Microsoft Azure - Check Status of Azure VM using Azure PowerShell
The following Azure PowerShell command helps you to find the Azure VM Config and properties details of Os Name, Os Version, Hyper V Generation, Disks properties, Extensions properties of Type Handler Version, Status and Message, VM Agents properties of Type Handler Version, Status and Message and also VM Power Status Codes, Messages, Plugins, Time
3 min read
Microsoft Azure - Azure VM Disk Space in Percentage using Azure KQL
Here we'll be using the Azure Insights Metric Query to find the free disk space in percentage using KQL. The purpose of this query is to find disk drive free space of all the Azure VMs without logging into every server. You can Run the following KQL log Queries in Azure Monitor or Azure VM Logs or Log Analytics Workspace. Note: VM Insights Agent sh
1 min read
Microsoft Azure - Enable Azure Monitor VM Insights Agent For Azure VM
Azure Monitor VM Insights Agent enables you to get more visibility into the health and performance of your Azure VM. Here we'll see how we can enable Azure Monitor VM Insights to monitor the health, performance, and dependencies of azure virtual machines. Implementation: Follow the below steps to enable Azure Monitor VM insights agents for an Azure
2 min read
Microsoft Azure - Azure CLI Commands to Manage Azure VMs
Azure Command-line interface is used to manage or to create Azure resources. By using the simple AZ CLI command we can manage Azure VM quickly and at a Scale. Let's get started by using a few important Azure CLI commands to manage Azure Virtual Machines. 1. Start a Specific Stopped VM in a Select Resource Group Use the below command to start a spec
2 min read
Microsoft Azure - Manage Azure VMs using Azure PowerShell Commands
Here we are using Azure PS Commands to manage azure resources from Azure Cloud Shell or by using Windows PowerShell. By using the simple AZ PS command we can manage Azure VM Quicks without any efforts of navigating in Azure Portal and at Scale. Let's get started by using the major Azure PS commands to manage Azure Virtual Machine. 1. Start a Specif
2 min read
Microsoft Azure - Install Azure Command Line Interface (Azure CLI)
Azure CLI is a very powerful tool that can be used to automate tasks, create, update, manage or delete azure resources or to troubleshoot problems with az module cmdlets. By installing az modules on your system or on your development system you and your development team can easily create, update or manage Azure AD and Azure resources such as manage
4 min read
Microsoft Azure - Get CPU Utilization Data of a Azure VM in Azure Portal
Azure Virtual Machines (VM) is one of several types of on-demand, scalable computing resources that Azure offers. In this article, we will look into the process of getting the CPU Utilization data of an Azure VM in Azure Portal. Implementation:Follow the steps to get the CPU Utilization of an Azure VM in Azure Portal: Step 1: Log in to your Azure P
2 min read
three90RightbarBannerImg