Lesson - 03 - Implement and Manage Storage
Lesson - 03 - Implement and Manage Storage
Administrator AZ-104
Implement and Manage Storage
A Day in the Life of an Azure Architect
• It is a service that can be used to store files, messages, tables, and other types of information.
• It provides storage for virtual machines, unstructured data, and structured data.
A Microsoft object storage solution for the cloud, optimized for storing massive amounts of
unstructured data through services mentioned below:
Source: https://docs.microsoft.com/en-us/azure/?product=popular
Storage Account Types
Standard general-purpose v2 Most scenarios including Blob, File, Queue, Table, and Data Lake Storage
Block blob scenarios with high transactions rates or scenarios that use smaller
Premium block blobs
objects or require consistently low-storage latency
Data replication in Azure storage account ensures durability and high availability. The
user can ensure data replication by following ways:
LRS ZRS
Typically,>300mi Typically,>300mi
Async Async
Source: https://docs.microsoft.com/en-us/azure/?product=popular
Determine Replication Strategies
GRS RA-GRS
• Six replicas, two regions (three per • GRS + read access to secondary
region) • Separate secondary endpoint
• Protects against major regional • Recovery point objective (RPO) delay to
disasters secondary can be queried
• Asynchronous copy to secondary
Single region
Multiple regions
Typically,>300mi Typically,>300mi
Async Async
Source: https://docs.microsoft.com/en-us/azure/?product=popular
Determine Replication Strategies
GZRS RA-GZRS
• Six replicas, 3+1 zones, two regions • GRS + read access to secondary
• Protects against disk, node, rack, zone, • Separate secondary endpoint
and region failures • Recovery point objective (RPO) delay to
• Synchronous writes to all three zones secondary can be queried
and asynchronous copy to secondary
Multiple regions
Typically,
>300mi
Typically,>300mi
Secondary Secondary
Async Async
Read
Source: https://docs.microsoft.com/en-us/azure/?product=popular
Creating a Storage Account Using Azure Portal
Duration: 10 min.
Problem Statement:
Create a Storage account using the Azure portal to use different storage capabilities by Azure.
Assisted Practice: Guidelines
Duration: 10 min.
Problem Statement:
Create a Storage account using the Azure CLI to use different storage capabilities by Azure.
Assisted Practice: Guidelines
Every object has a unique URL address based on account name and storage type.
An example:
CNAME record Target
blobs.contoso.com contosoblobs.blob.core.windows.net
Secure Storage Endpoints
These are the necessary steps used to restrict network access to Azure services:
• Firewalls and Virtual Networks restrict access to the Storage Account from specific Subnets on
Virtual Networks or public IPs.
• Subnets and Virtual Networks must exist in the same Azure Region or Region Pair as the
Storage Account.
Source: https://docs.microsoft.com/en-us/azure/?product=popular
Implement Blob Storage
Blob Storage stores unstructured data in the cloud and can store any type of text or binary data.
It is also referred to as object storage.
Common Uses
Account Container Blob
• Serving images or documents directly to a
browser
Sally pictures img001.jpg
• Storing files for distributed access
• Streaming video and audio
img002.jpg
• Storing data for backup and restore, disaster
recovery, archiving
movies mov1.avi
• Storing data for analysis by an on-premises or
Azure-hosted service
Source: https://docs.microsoft.com/en-us/azure/?product=popular
Create Blob Storage
Source: https://portal.azure.com/
Creating Blob Storage
Duration: 05 min.
Problem Statement:
Create the blob container inside the storage account to hold the unstructured data.
Assisted Practice: Guidelines
• Hot tier: Optimized for frequent access of objects in the storage account
• Cool tier: Optimized for storing large amounts of data that is infrequently accessed and stored for at
least 30 days
• Archive: Optimized for data that can tolerate several hours of retrieval latency and will remain in the
Archive tier for at least 180 days
Source: https://portal.azure.com/
Add Blob Lifecycle Management Rules
Source: https://portal.azure.com/
Create Blob Lifecycle Management Rules
Duration: 15 min.
Problem Statement:
Create the Blob lifecycle management rules to store the unstructured data in most cost-
effective manner.
Assisted Practice: Guidelines
Region 3
• Increases efficiency for compute workloads
Destination account
SourceContainer1 DestinationContainer2
Asynchronous • Optimizes data distribution
Blob3.txt replication Blob3.txt
Blob4.txt Blob4.txt
• Optimizes costs
Source: https://portal.azure.com/
Upload Blobs
• Account key
Source: https://portal.azure.com/
Review Storage Security Strategies
A shared access signature (SAS) is a URI that grants restricted access rights to Azure Storage resources:
Source: https://portal.azure.com/
Identify URI and SAS Parameters
https://myaccount.blob.core.windows.net/?sp=r&st=2020-05-
11T18:31:43Z&se=2020-05-12T02:31:43Z&spr=https&sv=2019-10-
10&sr=b&sig=jOqABJZHfUVeBQ3yVn7kWiCKlO0sxCiK1rzEchfAz8U%3D
It includes parameters for the resource URI, the storage services version, the services, the
resource types, the start time, the expiry time, the resource, the permissions, the IP range,
the protocol, and the signature.
Source: https://portal.azure.com/
Azure Subscriptions and Service Limits
Managing limits
Duration: 10 min.
Problem Statement:
Create Shared Access Signature for the storage account to provide users with a secure access.
Assisted Practice: Guidelines
Azure Storage Service Encryption (SSE) for data at rest protects the data by ensuring the
organizational security and compliance commitments are met. Its features include:
• Is transparent to users
Source: https://portal.azure.com/
Features of Customer Managed Keys
Source: https://portal.azure.com/
Storage Security Best Practices
The following recommendations for using shared access signatures can help mitigate risks:
Understand that the account will Use Storage Analytics to monitor the
be billed for any usage application
Be specific with the resource to be Be careful with the SAS start time
accessed
Configure Azure Files
Compare Azure Files to Azure Blobs
The following table depicts the differences between Azure files and Azure blobs:
Azure SMB interface, client libraries, • Lift and shift an application to the cloud
Files and a REST interface that allows
• Store shared data across multiple virtual
access from anywhere to stored
machines
files
• Store development and debugging tools that
need to be accessed from many virtual
machines
Source: https://portal.azure.com/
Create File Share Snapshots
Source: https://portal.azure.com/
Create Azure File Share
Duration: 10 min.
Problem Statement:
Duration: 10 min.
Problem Statement:
As an Azure Administrator, recommend a backup method for distributed File server service
that has been deployed to Azure.
Assisted Practice: Guidelines
Source: https://docs.microsoft.com/en-us/azure/storage/file-sync/file-sync-planning
Identify File Sync Components
Source: https://docs.microsoft.com/en-us/azure/storage/file-sync/file-sync-planning
Setup File Sync
Source: https://docs.microsoft.com/en-us/azure/storage/file-sync/file-sync-planning
Deploy File Sync
Duration: 10 min.
Problem Statement:
You've been given the task of creating a guest user so that you can invite an external user to
collaborate with your company by adding the user to your directory as a guest user.
Assisted Practice: Guidelines
Source: https://portal.azure.com/
Use Azure Storage Explorer
Duration: 10 min.
Problem Statement:
Install and explore Azure storage explorer to manage the storage account directly from local
system instead of going to Azure portal.
Assisted Practice: Guidelines
Source: https://docs.microsoft.com/en-us/azure/?product=popular
Use AzCopy
• Designed for copying data to and from Azure Blob, File, and Table storage
Duration: 10 min.
Problem Statement:
Install and use AzCopy to manage your storage account directly from your local system
instead of going to Azure portal.
Assisted Practice: Guidelines
Azure Files offers fully managed file shares in the cloud that are
accessible via SMB protocol or NFS protocol.