Manage Azure Storage
Manage Azure Storage
AIM: To create storage accounts for Azure blobs and Azure files.
Prerequisites:
This lab requires an Azure subscription. Your subscription type may affect the availability of
features in this lab.
Description:
Your organization is currently storing data in on-premises data stores. Most of these files are
not accessed frequently. You would like to minimize the cost of storage by placing infrequently
accessed files in lower-priced storage tiers. You also plan to explore different protection
mechanisms that Azure Storage offers, including network access, authentication,
authorization, and replication. Finally, you want to determine to what extent Azure Files is
suitable for hosting your on-premises file shares.
Create blob storage. Create a storage account, manage blob storage, and monitor
storage activities.
Manage Azure storage. Create a storage account and review the configuration. Manage
blob storage containers. Configure storage networking.
Architecture diagram
Procedure:
In this task, you will create and configure a storage account. The storage account will use geo-
redundant storage and will not have public access.
Region India
1. On the Advanced tab, use the informational icons to learn more about the choices.
Take the defaults.
2. On the Networking tab, review the available options, select Disable public access and
use private access.
3. Review the Data protection tab. Notice 7 days is the default soft delete retention policy.
Note you can enable blob versioning. Accept the defaults.
4. Review the Encryption tab. Notice the additional security options. Accept the defaults.
5. Select Review, wait for the validation process to complete, and then click Create.
6. Once the storage account is deployed, select Go to resource.
7. Review the Overview blade and the additional configurations that can be changed.
These are global settings for the storage account. Notice the storage account can be
used for Blob containers, File shares, Queues, and Tables.
8. In the Security + networking section, select Networking. Notice public network access
is disabled.
o Change the public access level to Enabled from selected virtual networks and
IP addresses.
o In the Firewall section, check the box for Add your client IP address.
o Be sure to Save your changes.
9. In the Data management section, view the Redundancy blade. Notice the information
about your primary and secondary data center locations.
10. In the Data management section, select Lifecycle management, and then
select Add a rule.
o Name the rule Movetocool. Notice your options for limiting the scope of the rule.
o On the Base blobs tab, if based blobs were last modified more than 30
days ago then move to cool storage. Notice your other choices.
o Notice you can configure other conditions. Select Add when you are done
exploring.
In this task, you will create a blob container and upload an image. Blob containers are
directory-like structures that store unstructured data.
Name data
4. On your container, scroll to the ellipsis (…) on the far right, select Access Policy.
5. In the Immutable blob storage area, select Add policy.
Setting Value
6. Select Save.
1. Return to the containers page, select your data container and then click Upload.
2. On the Upload blob blade, expand the Advanced section.
Setting Value
Browse for files add the file you have selected to upload
Select Advanced
3. Click Upload.
4. Confirm you have a new folder, and your file was uploaded.
5. Select your upload file and review the options including Download, Delete, Change
tier, and Acquire lease.
6. Copy the file URL and paste into a new Inprivate browsing window.
7. You should be presented with an XML-formatted message
stating ResourceNotFound or PublicAccessNotPermitted.
In this task, you will create and configure Azure File shares. You will use Storage Browser to
manage the file share.
1. In the Azure portal, navigate back to your storage account, in the Data storage section,
click File shares.
2. Click + File share and on the Basics tab give the file share a name, share1.
3. Notice the Access tier options. Keep the default Transaction optimized.
4. Move to the Backup tab and ensure Enable backup is not checked. We are disabling
backup to simplify the lab configuration.
5. Click Review + create, and then Create. Wait for the file share to deploy.
Explore Storage Browser and upload a file
1. Return to your storage account and select Storage browser. The Azure Storage Browser
is a portal tool that lets you quickly view all the storage services under your account.
2. Select File shares and verify your share1 directory is present.
3. Select your share1 directory and notice you can + Add directory. This lets you create a
folder structure.
4. Select Upload. Browse to a file of your choice, and then click Upload.
If you are working with your own subscription take a minute to delete the lab resources. This
will ensure resources are freed up and cost is minimized. The easiest way to delete the lab
resources is to delete the lab resource group.
In the Azure portal, select the resource group, select Delete the resource group, Enter
resource group name, and then click Delete.
Using Azure PowerShell, Remove-AzResourceGroup -Name resourceGroupName.
Using the CLI, az group delete --name resourceGroupName.