Create a block blob storage account

The block blob storage account type lets you create block blobs with premium performance characteristics. This type of storage account is optimized for workloads with high transactions rates or that require very fast access times. This article shows how to create a block blob storage account by using the Azure portal, the Azure CLI, or Azure PowerShell.

For more information about block blob storage accounts, see Azure storage account overview.

Create account in the Azure portal

To create a block blob storage account in the Azure portal, follow these steps:

  1. In the Azure portal, select All services > the Storage category > Storage accounts.

  2. Under Storage accounts, select Add.

  3. In the Subscription field, select the subscription in which to create the storage account.

  4. In the Resource group field, select an existing resource group or select Create new, and enter a name for the new resource group.

  5. In the Storage account name field, enter a name for the account. Note the following guidelines:

    • The name must be unique across Azure.
    • The name must be between three and 24 characters long.
    • The name can include only numbers and lowercase letters.
  6. In the Location field, select a location for the storage account, or use the default location.

  7. For the rest of the settings, configure the following:

    Field Value
    Performance Select Premium.
    Account kind Select BlockBlobStorage.
    Replication Leave the default setting of Locally-redundant storage (LRS).

    Shows portal UI to create a block blob storage account

  8. Select Review + create to review the storage account settings.

  9. Select Create.

Create account using Azure PowerShell

Note

This article has been updated to use the new Azure PowerShell Az module. You can still use the AzureRM module, which will continue to receive bug fixes until at least December 2020. To learn more about the new Az module and AzureRM compatibility, see Introducing the new Azure PowerShell Az module. For Az module installation instructions, see Install Azure PowerShell.

  1. Open an elevated Windows PowerShell session (Run as administrator).

  2. Run the following command to make sure the latest version of the Az PowerShell module is installed.

    Install-Module -Name Az -AllowClobber
    
  3. Open a new PowerShell console and sign in with your Azure account.

    Connect-AzAccount -SubscriptionId <SubscriptionID>
    
  4. If needed, create a new resource group. Replace the values in quotations, and run the following command.

    $resourcegroup = "new_resource_group_name"
    $location = "region_name"
    New-AzResourceGroup -Name $resourceGroup -Location $location
    
  5. Create the block blob storage account. Replace the values in quotations, and run the following command.

    $resourcegroup = "resource_group_name"
    $storageaccount = "new_storage_account_name"
    $location = "region_name"
    
    New-AzStorageAccount -ResourceGroupName $resourcegroup -Name $storageaccount -Location $location -Kind "BlockBlobStorage" -SkuName "Premium_LRS"
    

Create account using Azure CLI

To create a block blob account by using the Azure CLI, you must first install Azure CLI v. 2.0.46 or a later version. Run az --version to find the version. If you need to install or upgrade, see Install the Azure CLI.

  1. Sign in to your Azure subscription.

    az login
    
  2. If needed, create a new resource group. Replace the values in brackets (including the brackets), and run the following command.

    az group create \
     --name "<new_resource_group_name>" \
     --location "<location>"
    
  3. Create the block blob storage account. Replace the values in brackets (including the brackets), and run the following command.

    az storage account create \
     --location "<location>" \
     --name "<new_storage_account_name>" \
     --resource-group "<resource_group_name>" \
     --kind "BlockBlobStorage" \
     --sku "Premium_LRS"
    

Next steps