Data objects, such as files, blobs, queues, and tables, can be safely and scalably stored in the cloud using a Microsoft Azure storage account. These enable customers to manage and access their data from any location worldwide and serve as the foundation for numerous Azure services. in this article, some terms will be defined.
An essential first step in developing cloud-based solutions, if you have created a Microsoft account, is setting up a storage account. This article will guide you through setting up a public and private storage account on the Azure portal.
Step 1
login into your Microsoft Account and type in your email and password

Step 2 **
login to **Azure Portal

Step 3
on the Search Resource bar, search for Storage account

Step 4
Click on the storage Account and hit enter, and choose the storage account that is grayed out

Step 6
Scroll down to Resource Group and click create new and type a name

Step 7
The storage account name is located directly beneath the instance details section on the same page as the resource group. The name of the storage account must be distinct, meaning it must not be used anywhere in the world.

Step 8
Select the **Region **based on your location. A region is a geographical location on Earth where one or more data centers are connected.

Step 9
Choose a Preferred Storage type

Step 10
Choose your Preferred Performance

Step 11
Choose your preferred Redundancy. Redundancy in cloud computing refers to making anything highly available, which is defined as having an instant switch or replacement, often referred to as backup.

Step 12
click review + create and wait for it to deploy

Step 13
Click Create and wait for initialization to complete

Step 14 **
Click on **Go to Resource. Go to Resource will take you to the just formed storage. If you look closely, the data you entered during the creation of the storage will be displayed.

Additionally, for the storage to be highly available, there are some steps one needs to take to ensure high availability
Below are the steps
Step 1
in the Storage Account Panel

Step 2
Under the Storage Account, Navigate to Data Management and click the drop down arrow

Step 3
from the options of the drop-down, select Redundancy
step 4
in the redundancy environment, ensure that the Read Access Geo-Redundant Storage (RA-GRS) is selected

step 5
Review the locations. This is like checking the information and ensuring it corresponds with what you choose when creating the storage account.
Another aspect of this article is how to ensure that the information on the public website is accessible by user without any restrictions.
Below are the steps to ensure the public website is accessible without login information from users
Step 1
in the Storage Account Panel

Step 2
click overview

step 2
Under the beneath the overview, Navigate to Settings and click the drop down arrow

Step 3
from the options of the drop-down, click Configuration

step 4
In the Configuration environment, ensure that the Allow Blob Anonymous Access is enabled because if it is disabled, the public cannot view the website. This is one of the key differences between public and private websites, for public viewing is enabled, and for private, that is, requesting access, it should be disabled.

step 4
click save after enabling the allow blob anonymous access and wait for it to fully update

The public website has various images and documents, because of that, we are to create blob storage container for the content
Blob Storage is a cloud storage for unstructured data while unstructured data are data's that are not in columns and rows
Below are the steps to create blob storage container
Step 1
in the Storage Account Panel

click overview

step 2
Under the under the overview, Navigate to Data Storage and click the drop down arrow

step 3
Select container from the drop-down options

step 5
Rename the newly created container
step 6
click create and wait for a successful message

The next phase is to ensure that customers are able to view the images without authentication
The container i created, i named it public
step 1
click the container created

step 2
click on the overview page

step 2
on the overview page, click on Change Access Level

step 3
Click the drop-down arrow in the bar under the anonymous access level

step 4
select Blob( anonymous read access blobs only)

step 5
click ok and wait for a successful message

Steps on how to test and upload images into the container (Public container)
step 1
ensure the public container page is being viewed

step 3
In the upload blob environment, click Browse for file

step 4
Select an image or picture from your local PC or external drive

step 5
click upload and wait for a successful message

Steps on how to create the URL for the uploaded file
click on the uploaded file in the public container page

Steps on how to create a private site
Step 3
on the Search Resource bar, search for Storage account

Step 4
Click on the storage Account and hit enter, and choose the storage account that is grayed out

Step 6
Scroll down to Resource Group and select the previous name created
step 7
The storage account name should be private, and add other letters to it to make it unique, or else it will not be accepted.
Step 12
click review + create and wait for it to deploy

Step 13
Click Create and wait for initialization to complete

Step 14 **
Click on **Go to Resource.

Step 2
Under the Storage Account, Navigate to Data Management and click the drop down arrow

Step 3
from the options of the drop-down, select Redundancy
step 8
in the redundancy environment, ensure that the Geo-Redundant Storage (GRS) is selected

step 5
Review the locations. This is like checking the information and ensuring it corresponds with what you choose when creating the storage account.
step 10
click save and ensure it updates before doing anything else
Step 1
in the Storage Account Panel

click overview

step 2
Under the under the overview, Navigate to Data Storage and click the drop down arrow

step 3
Select container from the drop-down options

step 5
Rename the newly created container as private
step 5
ensure the anonymous access level is set as private

step 6
click create and wait for a successful message

step 7
private container created
step 1
ensure the private container page is being viewed

step 3
In the upload blob environment, click Browse for file

step 4
Select an image or picture from your local PC or external drive
step 5
click upload and wait for a successful message

Steps on how to create the URL for the uploaded file
click on the uploaded file in the private container page

step 2
Copy the URL link and paste in a browser

Below is the output of the link
Steps on how to permit some people to have access to the private link for 24hrs
step 1
click the three dots by the link of the uploaded file












Top comments (0)