why does azure cloud shell requires fileshare to be mounted

Amith M Prasad 20 Reputation points
2023-11-01T13:49:41.18+00:00

While launching Azure Cloudshell, it asks for a fileshare to be mounted. I am assuming that it is required to store the commands that we execute. However, a detailed explanation would be greatly appreciated as I'm new to Azure.

Also, please share any document that provides an explanation for this

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
696 questions
{count} votes

Accepted answer
  1. Sreeju Nair 12,346 Reputation points
    2023-11-01T14:08:10.19+00:00

    Cloud Shell persists your files in your $HOME location using a 5-GB file share. Cloud Shell requires a storage account to host the mounted Azure Files share.

    User's image

    User's image

    Refer: https://learn.microsoft.com/en-us/azure/cloud-shell/overview

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andreas Baumgarten 109.9K Reputation points MVP
    2023-11-01T14:55:53.05+00:00

    Hi @Amith M Prasad ,

    in addition to Sreeju Nair's answer:

    The Cloud Shell fileshare storage can be used to upload script(s) and execute the script(s) from Cloud Shell. The second use case is to store output files in the Cloud Shell fileshare for later use/download, for instance outputs of scripts, log files, ....


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.