This is something that I had to do while I’m working with some project works and I had a thought of sharing this in my blog for others to see the steps of creating an Azure File Share and Connect to a Linux Virtual Machine easily.
I hope you already created an Azure Storage account and go to the Storage Account Section

To Create an Azure File Share Click on “Files“

To Create a file share click on “+ File share” option

Provide a Name , Quota (size), and click on “Create“ to complete the creation of the file share

In my case I used an Ubuntu server and “cifs-utils” to connect the file share, by default cifs-utils installed on the server other wise you might need to install it manually on the OS

Create a directory to create a mount point

You can easily generate the command to connect to the share, select the created file share and click on “Connect” and select the Operating System you need to connect to (Windows, Linux, MacOS). Command will generate right under the selection. Click on the Copy option to copy the command

Mount the file share using the copied command

Confirm your mount

You can simply upload the file using azure portal

Checked the uploaded file from the OS

You can create the file inside the OS and file can be accessed using the Azure Portal

File listed in the Portal

Leave a Reply