# Create an Azure Storage Account

An Azure storage account contains all your Azure Storage data objects—blobs, files, queues, and tables. It provides a globally accessible namespace for your data over HTTP or HTTPS.

{% hint style="info" %}
**Note:** If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/) before proceeding.
{% endhint %}

## Steps to Create a Storage Account

1. Go to the [Azure Portal](https://login.microsoftonline.com/).
2. From the left menu, select **Storage accounts**, or use the search bar to find it.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FkF2qLHBVKiAJw25yljNx%2Fimage.png?alt=media&#x26;token=38f71683-d6da-4922-a6c1-7b3407f270d4" alt="Accessing Storage Accounts in Azure portal" width="563"><figcaption><p>Accessing Storage Accounts</p></figcaption></figure>

3. On the **Storage accounts** page, click **Create**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FlJFpe578g40h10ZIZNgU%2Fimage.png?alt=media&#x26;token=02809b1d-cc69-40ab-8339-baf981abc9b8" alt="Creating a new storage account in Azure"><figcaption><p>Create Storage Account</p></figcaption></figure>

4. Fill in the details across the following tabs:

### Basics

* Add **Storage account name**
* Select desired **Region**
* Choose **Performance** as **Standard**

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FQBcfWRqZfZLsTryfsSuj%2Fimage.png?alt=media&#x26;token=f8c5632f-7e79-493f-9348-2eca4583d65f" alt="Basics tab in storage account creation" width="563"><figcaption><p>Basics Tab</p></figcaption></figure>

### Advanced

* Enable **secure transfer for REST API**
* Enable **blob public access**
* Enable **storage account key access**

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FfbfWKO4V57vA4pIg9G5N%2Fimage.png?alt=media&#x26;token=244382a7-b60d-46f7-9718-211d1203bac6" alt="Advanced tab configuration" width="563"><figcaption><p>Advanced Settings</p></figcaption></figure>

### Networking

* Choose **Public Endpoints (all networks)**

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2Fc1Ffaxkb8g3HCLKCOKJL%2Fimage.png?alt=media&#x26;token=88056b20-d794-4cce-a4c1-9694e6b9f1d1" alt="Networking tab settings" width="563"><figcaption><p>Networking Configuration</p></figcaption></figure>

### Data Protection

* Enable **soft delete** for:
  * Blobs
  * Containers
  * File shares

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FTvhtNmPDrwFjK7RXCYmI%2Fimage.png?alt=media&#x26;token=9fd17a44-cbea-4735-9075-8ce2e1a81ada" alt="Data protection options" width="563"><figcaption><p>Data Protection Settings</p></figcaption></figure>

### Tags

* Add **Name**, **Value**, and **Resource** for organization

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FcdOCSjSPNKNrUj6jSQe3%2Fimage.png?alt=media&#x26;token=cf989e34-5e01-43d6-b803-699a05997681" alt="Tag configuration screen" width="563"><figcaption><p>Tag Setup</p></figcaption></figure>

### Review + Create

* If validation passes, click **Create**
* If validation fails, follow prompts to correct errors

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FfbVvuuNSDlMt3LZ6C7l9%2Fimage.png?alt=media&#x26;token=339fdbe2-d517-4d43-93de-8da88034ed21" alt="Review and create tab" width="563"><figcaption><p>Validation and Final Review</p></figcaption></figure>

5. After validation, click **Create**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FxspadgAwVSa9WFRffZY6%2Fimage.png?alt=media&#x26;token=dfaec058-dc26-4ed2-9bbc-b434889b842b" alt="Final step to create account" width="563"><figcaption><p>Create Storage Account</p></figcaption></figure>

6. Your Azure storage account is now created.

## Post-Creation: Get Access Keys

1. Navigate to the new **Storage account**.
2. From the left panel, select **Access keys**.
3. Click **Unhide keys**.
4. Copy the **Storage account name** and **Access keys (Key1 & Key2)**.
   * You can regenerate keys if needed.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FT6HQeOabtok5kzUv2Lw2%2Fimage.png?alt=media&#x26;token=f9a5fe8c-e02d-44be-8a4f-76c0210b5157" alt="Accessing storage account keys" width="563"><figcaption><p>Access Keys for Storage Account</p></figcaption></figure>
