As organizations generate more files and application data, secure and efficient storage management becomes critical.
The Azure admin wants you to get more familiar with storage accounts, containers, and file shares. They anticipate needing to share an increasing number of files and need someone who is skilled using these services. Theyβve given you a task of creating a storage container and a file share and uploading files to both locations. In this hands-on Azure lab, we explore how to:
- Create a Blob Storage Container
- Upload and manage files
- Change Blob Access Tiers
- Create a File Share
- Secure access using a Shared Access Signature (SAS)
- Revoke access by rotating access keys
This exercise is perfect for beginners building real-world Azure storage skills.
Prerequisites
Before starting, make sure you already have:
- An active Azure subscription
- A Storage Account created earlier
- Access to the Azure Portal
- A file saved on your computer to upload (an image or document)
Part 1: Create a Storage Container
- Log in to the Azure portal: https://portal.azure.com
- In the search bar, type Storage accounts
- Select your previously created storage account
- Under Data storage, select Containers
- Click + Add container
- Enter the name: storage-container
- Click Create
Your blob container is now ready.
Part 2: Upload a File to the Storage Container
- Open storage-container
- Click Upload
- Select a file from your computer
- Click Upload

Once uploaded, Azure automatically assigns it to the Hot access tier.
Part 3: Change the Blob Access Tier (Hot β Cold)
- Select the uploaded file
- Click Change tier
- Choose Cold
- Click Save
This reduces storage cost for files that are accessed less frequently.
Part 4: Create a File Share
- Go back to your Storage Account
- Under Data storage, select File shares
- Click + File share
- Name it: file-share
- Open the Backup tab
- Uncheck Enable backup
- Click Review + create β Create
Now, click Upload and upload the same file or any other file.
You now have both Blob Storage and File Share storage configured.
Part 5: Secure Access Using Shared Access Signature (SAS)
Instead of giving full access to your storage account, Azure allows you to grant temporary, limited access using a SAS token.
The next piece of the puzzle is figuring one way to control access to the files that have been uploaded. Azure has many ways to control files, including things like role-based access control. In this scenario, we shall use shared access tokens or keys.
Generate a SAS Token
- Open your Storage Account
- Select Storage browser
- Expand Blob containers
- Open storage-container
- Click the three dots (β―) next to your uploaded file
- Select Generate SAS
Configure the SAS
- Signing method: Account key
- Signing key: Key 1
- Permissions: Read
- Allowed protocol: HTTPS only
- Leave Start & Expiry time as default (or customize)
Click Generate SAS token and URI

Copy the Blob SAS URL and open it in a new browser tab.

Your file should display immediately.
This means:
π Anyone with this link can access the file
π Only for the duration you specified
Part 6: Revoke Access by Rotating Keysπ
To disable the SAS link, we rotate the key that created it.
- Go to the Storage Account
- Open Security + networking
- Select Access keys
- Under Key 1, click Rotate key
- Confirm by clicking Yes

Now return to your SAS URL tab and refresh the page.
β You should now see an authentication failed error
This confirms the SAS access has been successfully revoked.
Key Takeaways
- Azure Blob Storage is used for unstructured data like images and backups
- File Shares are useful for shared file systems
- Access tiers help optimize storage costs
- SAS tokens allow temporary, secure access
- Key rotation instantly revokes shared access
Conclusion
In this lab, you successfully:
- Created a Blob container & File share
- Uploaded files to both storage services
- Changed a blob from Hot to Cold
- Generated a secure SAS token
- Revoked access using key rotation
These skills are essential for Azure administrators, cloud engineers, and DevOps professionals who manage real-world storage environments.


















Top comments (0)