Skip to content
Azure Lessons
Azure Lessons
  • Home
  • AWS
  • Azure VM
  • Azure AD
  • Azure tutorial
    • Azure Cognitive Services
    • Azure Machine Learning
    • Azure DevOps
    • Azure PowerShell Commands

Azure storage account: How to create Azure storage account

September 12, 2023July 7, 2023 by Rajkishore
Azure storage account How to create Azure storage account

In this Azure article, we will discuss Azure storage account and how to create Azure storage accounts using Azure Portal and PowerShell.

Table of Contents

  • Azure storage account
  • Azure storage account types
  • How to create a storage account in Azure Portal
  • How to create a storage account in Azure using PowerShell
  • FAQs
  • How to Delete a storage account using PowerShell
  • Final Thoughts

Azure storage account

An Azure storage account is something that contains all the Azure storage data objects. The Azure storage data objects are like blobs, files, queues, tables, and disks, etc.

Once you store the data inside the Azure storage account that becomes more secure, scalable, durable, and highly available.

Azure storage account helps you provide a unique namespace for your Azure storage data and another important thing is that with the help of the unique namespace your Azure storage data is accessible from anywhere in the world over HTTP or HTTPS.

Azure storage account types

There are different types of storage accounts provided by Microsoft like General-purpose v2 accounts, General-purpose v1 accounts, BlockBlobStorage accounts, FileStorage accounts, BlobStorage accounts, etc.

How to create a storage account in Azure Portal

Follow the below steps to create the storage account

Step-1: Login to the Azure portal (https://portal.azure.com/)

Step-2: Search for the Storage accounts (classic) and select it.

how to create a storage account in Azure

Step-3: Click on the + Add button from the Storage accounts (classic) window.

Create a storage account in Azure

Step-4: On the Create storage account window, Provide the below details in the Basics tab.

  • Subscription: Select your subscription details.
  • Resource group: Select your existing resource group or you can create a new one by clicking on the Create new link.
  • Storage account name: Provide a valid name for your storage account.
  • Location: Select the location you belong to.
  • Performance: Select the Standard option.
  • Account kind: You can use the default option or you can choose the appropriate option.
  • Replication: You can use the default option or you can choose the appropriate option.
  • Access tier(default): You can select the default Hot option or Cool option.

Click on the Next: Networking > button to go to the Networking tab.

How to create a storage account Azure
How to create a storage account Azure portal

On the networking tab keep the default option as it is. Click on the Next : Tags > button to go to the Tags tab

storage account in Azure

On the Tags tab no need to change anything click on the Next: Review + Create> button.

Storage account in Azure portal

Click on the Create button to create the storage account.

Create storage account

Now you can see it is deployed successfully

Create storage account in Azure

How to create a storage account in Azure using PowerShell

You can use the below PowerShell cmdlet to create a storage account using PowerShell.

$resourceGroup = 'newresgroup'
$location = 'East US'

New-AzStorageAccount -ResourceGroupName $resourceGroup `
  -Name mynewstroageaccount890 `
  -Location $location `
  -SkuName Standard_RAGRS `
  -Kind StorageV2

The name should be a unique name with all lowercase letters.

After executing the above PowerShell script, the storage account has been created successfully. See the below screenshot.

How to create a storage account in Azure using PowerShell

The SkuName parameter can be anything from below based on your business needs

Locally redundant storage as Standard_LRS, Zone-redundant storage (ZRS) as the Standard_ZRS, Geo-redundant storage (GRS) as the Standard_GRS, Read-access geo-redundant storage (GRS) as the Standard_RAGRS, etc

Now you can log in to the Azure portal and verify if the storage account got created

create a storage account in Azure using PowerShell

FAQs

How to Delete a storage account using PowerShell

You can delete a storage account using PowerShell which deletes the entire account with all data in the account.

You can use the below cmdlet to delete the Storage account.

Remove-AzStorageAccount -Name mynewstroageaccount890 -ResourceGroupName newresgroup

Once you will run the above cmdlet, you will get the below Confirm popup, click on the Yes button to confirm for deletion.

How to Delete a storage account using PowerShell

Now you can see the storage account got deleted and it is no longer available in the Azure portal.

Delete a storage account using PowerShell

You can also like following the below articles

  • Azure Storage Account Connection String
  • What is Azure Storage Account Key

Final Thoughts

In this article, we discussed Azure storage accounts, Azure storage account types, and how to create Azure storage accounts using Azure Portal and PowerShell. Thanks for reading this article !!!

How to Export Azure SQL Database
How Is Azure SQL Database Auditing Configured?

Follow Us

Follow us on Twitter Subscribe us on Youtube

Recent Posts

  • What Is Azure App Service
  • Azure Web App vs App Service
  • Get-AzADAppCredential
  • Install Azure CLI on Linux
  • Install Azure CLI Ubuntu
  • About
  • Contact
  • Privacy Policy
  • Sitemap
© 2023 Azure Lessons