DEV Community

Cover image for Project on how to create Resource group and Storage Account
Barisi Lenyie
Barisi Lenyie

Posted on

Project on how to create Resource group and Storage Account

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
microsoft Account

Step 2 **
login to **Azure Portal

Microsoft Azure

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

search resource

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

Step 5 **
select **+ Create

+ create

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

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.
storage account name

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.
Region

Step 9
Choose a Preferred Storage type
preferred storage type

Step 10
Choose your Preferred Performance
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.
Redundancy

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

Step 13
Click Create and wait for initialization to complete
Create

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.
Go to Resource

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
storage account

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

Step 3
from the options of the drop-down, select Redundancy

Redundancy

step 4
in the redundancy environment, ensure that the Read Access Geo-Redundant Storage (RA-GRS) is selected
read access geo-storage (RA-GRS

step 5
Review the locations. This is like checking the information and ensuring it corresponds with what you choose when creating the storage account.

location

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
storage account
Step 2
click overview

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

Step 3
from the options of the drop-down, click Configuration
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.
allow blob anonymous access

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

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
storage account

click overview

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

step 3
Select container from the drop-down options
container

step 4
Click + Add Container
+ add container

step 5
Rename the newly created container

name

step 6
click create and wait for a successful message
create

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
private

step 2
click on the overview page

overview
step 2
on the overview page, click on Change Access Level
change access level

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

step 4
select Blob( anonymous read access blobs only)
blob (anonymous read access blobs only)

step 5
click ok and wait for a successful message
ok

Steps on how to test and upload images into the container (Public container)

step 1
ensure the public container page is being viewed

step 2
click upload

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

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

step 5
click upload and wait for a successful message
upload

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

step 2
Copy the URL link
url

Steps on how to create a private site

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

search resource

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

Step 5 **
select **+ Create

+ create

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.

resource group and storage account

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

Step 13
Click Create and wait for initialization to complete
Create

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

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

Step 3
from the options of the drop-down, select Redundancy

Redundancy

step 8
in the redundancy environment, ensure that the Geo-Redundant Storage (GRS) is selected
geo-redundant storage

step 5
Review the locations. This is like checking the information and ensuring it corresponds with what you choose when creating the storage account.

location

step 10
click save and ensure it updates before doing anything else

save

Step 1
in the Storage Account Panel
storage account

click overview

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

step 3
Select container from the drop-down options
container

step 4
Click + Add Container
+ add container

step 5
Rename the newly created container as private

name

step 5
ensure the anonymous access level is set as private

anonymous section
step 6
click create and wait for a successful message
create

step 7
private container created

private container page

step 1
ensure the private container page is being viewed

step 2
click upload

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

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

aws logo

step 5
click upload and wait for a successful message
upload

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

step 2
Copy the URL link and paste in a browser
url

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)