Create a storage account

An Azure storage account provides a unique namespace in the cloud to store and access your data objects in Azure Storage. A storage account contains any blobs, files, queues, tables, and disks that you create under that account.

To get started with Azure Storage, you first need to create a new storage account. You can create an Azure storage account using the Azure portal, Azure PowerShell, or Azure CLI. This quickstart shows how to use each of these options to create your new storage account.


If you don't have an Azure subscription, create a free account before you begin.


Log in to Azure

Log in to the Azure portal.

Create a resource group

An Azure resource group is a logical container into which Azure resources are deployed and managed. For more information on resource groups, see Azure Resource Manager overview.

To create a resource group in the Azure portal, follow these steps:

  1. In the Azure portal, expand the menu on the left side to open the menu of services, and choose Resource Groups.
  2. Click the Add button to add a new resource group.
  3. Enter a name for the new resource group.
  4. Select the subscription in which to create the new resource group.
  5. Choose the location for the resource group.
  6. Click the Create button.

Screen shot showing resource group creation in the Azure portal

Create a general-purpose storage account

A general-purpose storage account provides access to all of the Azure Storage services: blobs, files, queues, and tables. A general-purpose storage account can be created in either a standard or a premium tier. The examples in this article show how to create a general-purpose storage account in the standard tier (the default).

Azure Storage offers two types of general-purpose storage accounts:

  • General-purpose v2 accounts
  • General-purpose v1 accounts.


It's recommended that you create new storage accounts as general-purpose v2 accounts, to take advantage of newer features available to those accounts.

For more information about storage account types, see Azure Storage account options.

When naming your storage account, keep these rules in mind:

  • Storage account names must be between 3 and 24 characters in length and may contain numbers and lowercase letters only.
  • Your storage account name must be unique within Azure. No two storage accounts can have the same name.

To create a general-purpose v2 storage account in the Azure portal, follow these steps:

  1. In the Azure portal, expand the menu on the left side to open the menu of services, and choose All services. Then, scroll down to Storage, and choose Storage accounts. On the Storage Accounts window that appears, choose Add.
  2. Enter a name for your storage account.
  3. Set the Account kind field to StorageV2 (general-purpose v2).
  4. Leave the Replication field set to Locally-redundant storage (LRS). Alternately, you can chooose Zone-redundant storage (ZRS Preview), Geo-redundant storage (GRS), or Read-access geo-redundant storage (RA-GRS).
  5. Leave these fields set to their defaults: Deployment model, Performance, Secure transfer required.
  6. Choose the subscription in which you want to create the storage account.
  7. In the Resource group section, select Use existing, then choose the resource group you created in the previous section.
  8. Choose the location for your new storage account.
  9. Click Create to create the storage account.

Screen shot showing storage account creation in the Azure portal


Zone-redundant storage is currently in preview, and is available only in the following locations:

For more information about the different types of replication available, see Storage replication options.

Clean up resources

If you wish to clean up the resources created by this quickstart, you can simply delete the resource group. Deleting the resource group also deletes the associated storage account, and any other resources associated with the resource group.

To remove a resource group using the Azure portal:

  1. In the Azure portal, expand the menu on the left side to open the menu of services, and choose Resource Groups to display the list of your resource groups.
  2. Locate the resource group to delete, and right-click the More button (...) on the right side of the listing.
  3. Select Delete resource group, and confirm.

Next steps

In this quick start, you've created a general-purpose standard storage account. To learn how to upload and download blobs to and from your storage account, continue to the Blob storage quickstart.