MICROSOFT APPLIED SKILL. Guided Project: Provide storage for the IT department testing and training
Tags: azure, storage
Published: 2024-06-20 17:14:28

This is exercise 1 of the Microsoft Applied skill guided project.

What is Azure storage account 

An azure storage account is a container that groups a set of Azure Storage services together. Only data services from Azure Storage can be included in a storage account. 
Below are the 4 types of azure storage account

1.Azure Blobs. 2. Azure Files. 3.Azure Queues. 4. Azure Tables.

How to create an azure storage account Azure portal.
There are 4 different tools to create storage account with, depending on whether an organisation want GUI and automation.

Azure portal
Azure CLI (Command-line interface)
Azure PowerShell
Management client libraries

But in this write up we will be exploring the use of Azure portal to complete exercise.

**A. CREATE A STORAGE ACCOUNT WITH HIGH AVAILABILITY**

1.On the Basics tab, enter the required details, subscription, resource group, Storage name. From Performance select Standard and from Redundancy Select Locally redundant storage (LRS) to safe cost for now.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g2tm3pmfgm6xm8gg6t51.png)

2. It takes a couple of minutes for the deployment to complete, select Go to resource to view Essential details about your new storage account.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fz4ct5e74t1origgx3rw.png)

3.This storage requires high availability if there’s a regional outage. Additionally, enable read access to the secondary region, Learn more about storage account redundancy.

4. This storage requires high availability if there’s a regional outage. Additionally, enable read access to the secondary region, Learn more about storage account redundancy.
-In the storage account, in the Data management section, select the Redundancy blade.
-Ensure Read-access Geo-redundant storage is selected.
-Review the primary and secondary location information.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/szk8w2yqljwzgp71t01d.png)

5.Information on the public website should be accessible without requiring customers to login.
-In the storage account, in the Settings section, select the Configuration blade.
-Ensure the Allow blob anonymous access setting is Enabled.
-Be sure to Save your changes.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g1j8bv4j655fhe1iyml1.png)

**B. CREATE A BLOB STORAGE CONTAINER WITH ANONYMOUS READ ACCESS**

1. The public website has various images and documents. Create a blob storage container for the content. Learn more about storage containers.
-In your storage account, in the Data storage section.
-Select the Containers blade.
-Select + Container.
-Ensure the Name of the container is public.
-Select Create.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dxepnqvyemk3d8y0q3mh.png)

C. PRACTICE UPLOADING FILES AND TESTING ACCESS.
1.**For testing, upload a file to the public container. The type of file doesn’t matter. A small image or text file is a good choice.**
-Ensure you are viewing your container.
-Select Upload.
-Browse to files and select a file. Browse to a file of your choice.
-Select Upload.
-Close the upload window, Refresh the page and ensure your file was uploaded.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8sq25kx6kj29tqq197ge.png)

2.**Determine the URL for your uploaded file. Open a browser and test the URL**.
-Select your uploaded file.
-On the Overview tab, copy the URL.
-Paste the URL into a new browser tab.
-If you have uploaded an image file it will display in the browser. Other file types should be downloaded.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0w8yyibzlllv2xhi28ug.png)

D.CONFIGURE SOFT DELETE
1.**It’s important that the website documents can be restored if they’re deleted. Configure blob soft delete for 21 days. Learn more about soft delete for blobs**.
-Go to the Overview blade of the storage account.
-On the Properties page, locate the Blob service section.
-Select the Blob soft delete setting.
-Ensure the Enable soft delete for blobs is checked.
-Change the Keep deleted blobs for (in days setting is 21.
-Notice you can also Enable soft delete for containers.
-Don’t forget to Save your changes.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s6lbpvm6h4l4cudkqoro.png)

2.**If something gets deleted, you need to practice using soft delete to restore the files**.
-Navigate to your container where you uploaded a file.
-Select the file you uploaded and then select Delete.
-Select OK to confirm deleting the file.
-On the container Overview page, toggle the slider Show deleted blobs. This toggle is to the right of the search box.
-Select your deleted file, and use the ellipses on the far right, to Undelete the file.
-Refresh the container and confirm the file has been restored.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zlod7m4asi71ah74koji.png)

CONFIGURE BLOB VERSIONING
1.**It’s important to keep track of the different website product document versions. Learn more about blob versioning**.
-Go to the Overview blade of the storage account.
-In the Properties section, locate the Blob service section.
-Select the Versioning setting.
-Ensure the Enable versioning for blobs checkbox is checked.
-Notice your options to keep all versions or delete versions after.
-Don’t forget to Save your changes.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4inuy2eo1dey0lnc35ax.png)


2.As you have time experiment with restoring previous blob versions.
-Upload another version of your container file. This overwrites your existing file.
-Your previous file version is listed on Show deleted blobs page.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1iz0zod6ov08hkz52bff.png)

Exercise 2 Next. Stay tuned

Thanks