Skip to content

CollinsU99/Creating-Resource-Group-Storage-Account-and-Container-in-Azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

265864955-76848602-0ddb-4e2d-8ad3-cc987b43c172

Creating Resource Group, Storage Account, and Container in Azure

In this lab, we will create a Resource Group in Microsoft Azure. Within the Resource Group, we will create a Storage Account, followed by a Container. We will then finish the tutorial by uploading a text file inside the container and then delete the text file.

Environments and Technologies Used

  • Microsoft Azure
  • Resource groups
  • Storage accounts
  • Containers
  • Notepad

Operating Systems Used

Windows 10 Pro (22H2)

High-Level Deployment and Configuration Steps

  • Create a Resource Group in Microsoft Azure.
  • Create a Storage Account inside the Resource Group.
  • Create a Container within the Storage Account.
  • Upload text file inside the Container.
  • Edit the the text file.

Deployment and Configuration Steps

To create a free Microsoft Azure subscription, you will need to use a valid email address and credit card. You will not be charged on your credit card and you will receive a free $200 worth of credit that will expire in 30 days if not used. After your account is created, you will have access to the Azure portal.

The Azure portal is a central hub for managing all of your Azure resources. It provides a graphical user interface (GUI) that makes it easy to create, manage, and deploy your Azure services.

img

Your Azure portal will look like this. We will go ahead and create our resource group by clicking on "Resource groups" (1). You can also click on the search bar (2) and search for "resource group".

img

Click the "create" tab as shown above.

img

Select the box to choose which subscription you want your Resource Group to go into. Select box (2) and name your Resource Group "RG-LAB-01. Box (3) let's you select the region you want your Resource Group to be created. We will go ahead and select "(US) West US 3"

NOTE: The region selection specifies where the metadata about the resources is stored.

img

Click the "Next: Tags >" tab

img

The "Tags" section helps us organize and manage our Azure resources. We will assign three individuals (Brian, James, and Michael) to the values (Finance, Accounting, and HR), respectively. Click "Next : Review + Create >".

img

Our Resource Group has been validated, as shown in the image above. We will now create our Resource Group by clicking the tab "Create".

img

You will get a notification confirming your Resource Group has been created

img

Click the Search bar and search for "Storage accounts". Click "Storage accounts" as shown in box (2).

img

We will now create our Storage Account by clicking "Create storage account".

img

Select your Microsoft Azure Subscription as shown above, select the Resource Group "RG-LAB-01" we created earlier. Go ahead and name your Storage Account.

NOTE: Your Storage Account must be unique and contain only lower-case and numbers.

Box (4) is where we will select our region; select "(US) West US 3"

NOTE: Your region must be consistent with your Resource Group region.

Leave "Redundancy" as default. Click the "Review" tab.

img

"Deployment is in progress" indicates that our Storage Account is being created.

img

"Your deployment is complete" indicates that our Storage Account has been created. Click "Go to resource" tab

img

To create the Container, click the "Container" tab.

NOTE: Container is a virtual folder that can be used to store objects, such as images, videos, and documents

Now, click "Container", choose a name for your container, and leave box (4) as default. Click the "Create".

img

You will get a notification as shown the image above, that your Storage Container has been created. You will also see the container we just created in the list of containers available.

img

On your local computer, search for "Notepad" on the search bar. Open the Notepad application.

img

Type "Hello World" as the content of the text file, and click on "File".

img

Click "Save" to save your text file

img

Click the Container we created to open it

img

Click "Upload", and click box (2) to select the text file we just created "Hello World.txt". Click "Upload" to upload the text file

img

The "Successfully uploaded blob(s)" notification indicates that the text file was uploaded successfully. You can see the uploaded text file in the image above.

img

Select the text file, and click the three dots (...) at the far right of the text file

img

After clicking the three dots (...), a small window will appear. click "View/edit"

img

Let's edit the text file inside the "Container" by typing "My edit", as shown above. Click the "Save" tab to save the text file. To verify if the edits we made were successful, we will click the "Download" tab to download the edited text file to our local computer.

img

As shown above, the edits we made to the text file were successful.

img

Let's go ahead and delete the Resource Group we created to avoid getting charged. Click the search bar and search for "Resource group". From the list of options shown, click "Resource groups".

img

Click the Resource Group we created "RG-LAB-01". Click the "Delete resource group" tab, enter your Resource Group name "RG-LAB-01" to confirm deletion. Then, click the "Delete" tab to delete the Resource group.

img

You will get a notification confirming your Resource group deletion was successful, as shown in the image above.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published