DEV Community

Cover image for Creating a Blob Storage Account in Azure
Gideon Iliya
Gideon Iliya

Posted on

Creating a Blob Storage Account in Azure

We will be considering the steps required to create an Azure storage account. An Azure storage account contains all your different Azure storage data objects: blob, files, queues and tables. we shall be considering how to store data object using blob. Blob is used to store large amounts of unstructured data. This data is accessible anywhere in the world over HTTP or HTTPS.
The first thing to do is to log into the azure portal and create a storage account.

Steps for Creating a Storage account

  1. Type storage account in the search bar or click on it on the dashboard. Image description Image description
  2. Select your subscription and resource group or create your a new resource group Image description
  3. Select the parameters under Instance details and provide a storage account name. By default, performance and redundancy is selected. You can change them based on preference or need. Image description
  4. We will not make any changes to the parameters under the other tabs from Advanced to Tags. click on Review tab and then click on create at the bottom left-hand corner of the screen.
    Image description

  5. Click on go to resources.

  6. Select container (No.1) under Data Storage and click on container (No.2) to create one

  7. Give the container a name

  8. Click the dropdown arrow under 'Public access level' and select 'Blob (anonymous read access for blobs only)' and click the create button
    Image description

Uploading a file

  1. Click on the name of the container you created to open it.

Image description

  1. Click on the upload tab; a new window is opened.
  2. Click on Browse for files. Select the file and click open.
  3. Finally click the upload button and close the window. Your file is loaded into the container. Image description Note, a URL is created for the file that was stored in the container and it can be viewed from anywhere on the globe once the URL is copied into a web browser. To view the file on the web; a. Click on the file name to open a new window b. Copy the URL of the file. Image description c. Open your web browser and paste the URL. You should see the file you uploaded displayed on the web browser Image description Azure Storage Access Tiers

Azure storage comes with four levels of access.
You can reduce costs by placing blob data into the most cost-efficient access tiers. Depending on the estimated frequency of usage, data can be stored in the following access tiers:
a. Hot tier - This implies that the data is accessed frequently, therefore it should be available always. When you tick the check box close to the file name, the access tier selected by default is Hot tier

Image description

b. Cool tier - The data is less frequently accessed. The data in this tier should be stored for a minimum of 30 days.
Image description

c. Cold tier - This online tier is optimized for storing data that should be stored for a minimum of 90 days.
Image description

d. Archive tier - This is an offline tier and is optimized for data that is rarely accessed and that has flexible latency requirements. Data should be stored for a minimum of 180 days.

Image description

Top comments (0)