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.
- It takes a couple of minutes for the deployment to complete, select Go to resource to view Essential details about your new storage account.
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.
- 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.
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.
B. CREATE A BLOB STORAGE CONTAINER WITH ANONYMOUS READ ACCESS
- 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.
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.
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.
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.
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.
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.
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.
Exercise 2 Next. Stay tuned
Thanks
Top comments (0)