Azure CloudShell Timeout Issues

kodama 21 Reputation points

I used CloudShell to SSH into the Azure Virtual Machine and ran the shell script.
I lost my Cloud Shell connection while running a shell script.

In this case, does the processing of the running shell script end normally? Or does it terminate abnormally?

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

Accepted answer
  1. srbhatta-MSFT 8,346 Reputation points Microsoft Employee

    Hello @kodama ,
    Thanks for reaching out to Microsoft QnA. happy to answer your query.
    When you SSH into a VM from Azure Cloud shell, and run a shell script on the VM, post that if there are timeout issues on cloud shell, it can possibly be due to the script, if only your cloudshell session was not inactive for more than 20 minutes

    The machine that provides your Cloud Shell session is temporary, and it is recycled after your session is inactive for 20 minutes. Cloud Shell requires an Azure file share to be mounted. As a result, your subscription must be able to set up storage resources to access Cloud Shell. Other considerations include:

    With mounted storage, only modifications within the clouddrive directory are persisted. In Bash, your $HOME directory is also persisted.

    Hope this helps.



    Please accept as answer and upvote if the information provided above was helpful.

0 additional answers

Sort by: Most helpful