Post

Azure | Creating an Azure Storage Account and Uploading Files to a Container

In this tutorial, we’ll walk through creating an Azure Storage account, setting up a container, and uploading a file to it. Also it is a part of the following post.

Note
I highlighted screenshots with a yellow color to focus on some important informations.

Step 1: Create an Azure Storage Account

  1. Sign in to the Azure Portal.
  2. Click on Create a resource in the upper left corner.
  3. Search for Storage account - blob, file, table, queue and click on it.
  4. Fill in the details:
    • Subscription: Choose your subscription.
    • Resource group: Create a new one or use an existing one.
    • Storage account name: in my case hbolajraf00strorage.
    • Location: Choose a location.
    • Performance: Standard (recommended).
    • Account kind: StorageV2 (general-purpose v2).
    • Replication: Choose your replication preference.
    • Access tier: Hot (recommended for frequently accessed data).
  5. Click Review + create and then Create.

ScreenShot1

Step 2: Create a Blob Container

  1. After the storage account is created, navigate to it in the Azure Portal.
  2. In the storage account menu, under Blob service, click on Containers.
  3. Click + Container.
  4. Name the container as lab-container.
  5. Set the Public access level to Blob (anonymous read access for blobs only).
  6. Click Create.

ScreenShot1

Step 3: Upload a File to the Container

Now let’s upload a file to the newly created container.

  1. In the container view, click Upload.
  2. Select the file 1.PNG from your local machine.
  3. Click Upload to add the file to the container.

ScreenShot1

What next ?

You have successfully created an Azure Storage account named hbolajraf00strorage, set up a container named lab-container, and uploaded a file 1.PNG to it. Azure Storage provides a scalable and cost-effective solution for storing and managing your data in the cloud. Feel free to explore more features of Azure Storage and integrate it with your applications for reliable data storage and access.

This post is licensed under CC BY 4.0 by the author.