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
- Sign in to the Azure Portal.
- Click on Create a resource in the upper left corner.
- Search for Storage account - blob, file, table, queue and click on it.
- 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).
- Click Review + create and then Create.
Step 2: Create a Blob Container
- After the storage account is created, navigate to it in the Azure Portal.
- In the storage account menu, under Blob service, click on Containers.
- Click + Container.
- Name the container as
lab-container
. - Set the Public access level to Blob (anonymous read access for blobs only).
- Click Create.
Step 3: Upload a File to the Container
Now let’s upload a file to the newly created container.
- In the container view, click Upload.
- Select the file
1.PNG
from your local machine. - Click Upload to add the file to the container.
What next ?
You have successfully created an Azure Storage account named
hbolajraf00strorage
, set up a container namedlab-container
, and uploaded a file1.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.