- Microsoft Azure
- Resource groups
- Storage accounts
- Containers
- Notepad
Windows 10 Pro (22H2)
- 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.
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.
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".
Click the "create" tab as shown above.
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.
Click the "Next: Tags >" tab
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 >".
Our Resource Group has been validated, as shown in the image above. We will now create our Resource Group by clicking the tab "Create".
You will get a notification confirming your Resource Group has been created
Click the Search bar and search for "Storage accounts". Click "Storage accounts" as shown in box (2).
We will now create our Storage Account by clicking "Create storage account".
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.
"Deployment is in progress" indicates that our Storage Account is being created.
"Your deployment is complete" indicates that our Storage Account has been created. Click "Go to resource" tab
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".
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.
On your local computer, search for "Notepad" on the search bar. Open the Notepad application.
Type "Hello World" as the content of the text file, and click on "File".
Click "Save" to save your text file
Click the Container we created to open it
Click "Upload", and click box (2) to select the text file we just created "Hello World.txt". Click "Upload" to upload the text file
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.
Select the text file, and click the three dots (...) at the far right of the text file
After clicking the three dots (...), a small window will appear. click "View/edit"
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.
As shown above, the edits we made to the text file were successful.
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".
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.
You will get a notification confirming your Resource group deletion was successful, as shown in the image above.