Create an Azure Storage Account
This guide will walk you through the process of creating a new Azure Storage account using the Azure portal. Azure Storage offers a highly scalable and secure cloud storage solution for a variety of data types.
Prerequisites
- An active Azure subscription. If you don't have one, you can sign up for a free trial.
Steps to Create a Storage Account
-
Sign in to the Azure portal: Navigate to https://portal.azure.com/ and sign in with your Azure account credentials.
-
Navigate to Storage accounts: In the Azure portal, search for "Storage accounts" in the global search bar at the top, and then select "Storage accounts" from the results.
-
Create a new storage account: Click the + Create button on the Storage accounts page.
-
Configure basic settings: On the "Create a storage account" page, fill in the following fields:
- Subscription: Select the Azure subscription you want to use.
- Resource group: Choose an existing resource group or click Create new to create a new one. Resource groups help you manage related Azure resources.
- Storage account name: Enter a unique name for your storage account. This name must be globally unique across Azure, contain only lowercase letters and numbers, and be between 3 and 24 characters long.
- Region: Select the Azure region where you want your storage account to be deployed. Choose a region close to your users or other Azure services for better performance.
- Performance: Select Standard for general-purpose v2 accounts. Premium offers higher performance for specific workloads.
- Redundancy: Choose a data redundancy option. Common options include Locally-redundant storage (LRS), Geo-redundant storage (GRS), and Read-access geo-redundant storage (RA-GRS). LRS is the most cost-effective, while GRS and RA-GRS provide higher availability and durability by replicating data to a secondary region.
-
Configure advanced settings (Optional): Navigate to the Advanced tab. Here you can configure options like access tier (Hot or Cool for blobs), enable hierarchical namespace for Azure Data Lake Storage Gen2, and configure network settings.
-
Review and create: Click the Review + create button. Azure will validate your configuration. Once validation passes, click the Create button.
Example using Azure CLI
You can also create a storage account programmatically using tools like Azure CLI. Here's an example:
az storage account create \
--name mystorageaccountname \
--resource-group myresourcegroup \
--location eastus \
--sku Standard_LRS \
--kind StorageV2