title: How can I run an Azure Cloud Shell script that takes longer than 20 minutes? Is there a way to prevent timeouts in Azure Cloud Shell?
body: <p>I'm trying to run a script which counts the size of my azure storage account. I'm doing this because I don't have access to the billing section.</p>
  
  <p>The script is taken from <a href="https://docs.microsoft.com/en-us/azure/storage/scripts/storage-blobs-container-calculate-size-powershell" rel="nofollow noreferrer">here</a></p>
  
  <p>My storage account is around ~2TB, but I want to find out the individual size of each container.</p>
  
  <p>When I run the script in azure cloud shell, it times out after 20 minutes. Is there a way to keep it alive?</p>