You are on page 1of 11

Alvin Widiawan

25 Juli 2023
▪ Azure Blob Storage is Microsoft's object storage solution for the cloud. Blob Storage is optimized
for storing massive amounts of unstructured data

▪ Blob Storage is designed for:


▪ Serving images or documents directly to a browser.
▪ Storing files for distributed access.
▪ Streaming video and audio.
▪ Writing to log files.
▪ Storing data for backup and restore, disaster recovery, and archiving.
▪ Storing data for analysis by an on-premises or Azure-hosted service.
▪ Users or client applications can access objects in Blob Storage via HTTP/HTTPS, from
anywhere in the world
Access Options to Blob Storage
▪ Via HTTPS (Browser, Azure Storage Explorer, az copy)

▪ Azure Powershell & Azure CLI

▪ Client Library for .NET, JAVA, Node.js, Pyton, Go

▪ SSH File Transfer Protocol (SFTP)

▪ Network File System (NFS) 3.0


Pros and Cons Mount Blob Storage using NFS Windows
▪ Pros
▪ No additional cost vs SFTP ± Rp 3.400.000/month
▪ Easy manage files and folders like on Windows Explorer

▪ Cons
▪ Not encrypted
▪ Can’t rename file and folder (only SFTP can rename file and folder)
▪ IF NFS feature enabled, access public to storage account disabled, must selected network or
private
Use Case Sample Topology

Azure

VNET Spoke VNET Hub

Internet
(https) https VPN S2S
VPN Gateway
App Service Blob Storage
Users
Office Site
VPN P2S

Mount NFS 3.0


Developer Client
(Windows)
1. Enable NFS 3.0 while creating storage account
2. Enable public access from selected virtual network & IP addresses
3. Enable private endpoint
4. Install NFS Client on Windows (available on Windows Server 2012R2-2022 and Windows 10/11)
5. Mount blob storage using command prompt

mount -o nolock –u:[user] –p:[password]


[blob_address]:/[storage_account]/container *

Public connection via Internet


mount -o nolock -u:.\alvin.widiawan -p:Test123!
stsharingsession.blob.core.windows.net:/stsharings
ession/image *

Private connection via VPN S2S User can be a user domain or local user
mount -o nolock -u:.\alvin.widiawan -p:Test123!
192.168.1.4:/stsharingsession/image *
6. Unmount using command prompt

Unmount all network drive


umount – a

Unmount specific network drive


umount [network_drive_letter]

Example : umount Y:

You might also like