Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
89 views
in Azure by 14 20 30
I am using Azure Cloud Shell, and I need to open multiple sessions at the same time, Is it possitble to open multiple sessions at the same time for Azure Cloud Shell? If no, what's alternatives!!

1 Answer

1 like 0 dislike
by 187 242 471
selected by
 
Best answer

As per my humble knowledge, Azure Cloud Shell only lets you have one active session per browser tab. If you try opening another session in the same window, it’ll just replace your current one instead of letting you run multiple sessions at once.

Workarounds

1) Use Different Browsers or Incognito Mode

  • Open Cloud Shell in Chrome, then open another session in Firefox or Edge.
  • Or use a private/incognito window for a second session.

2) Install Azure CLI on Your Computer

  • Download and install the Azure CLI locally. This lets you run as many terminals as you need.

3) Use Another PC or Device

  • If you have access to a second computer, tablet, or even your phone (with a browser), you can log in to Azure Cloud Shell separately there.

4) Multiple Azure Accounts (if you have access)

  • Log in with different Azure accounts in different browser tabs.

When should you use Azure Cloud Shell?

You can use Azure Cloud Shell to:

  • Open a secure command-line session from any browser-based device.
  • Interact with Azure resources without the need to install plug-ins or add-ons to your device.
  • Persist files between sessions for later use.
  • Use either Bash or PowerShell, whichever you prefer, to manage Azure resources.
  • Edit files (such as scripts) via the Cloud Shell editor.

You shouldn't use Azure Cloud Shell if:

  • You intend to leave a session open for more than 20 minutes for long running scripts or activities. In these cases, your session is disconnected without warning, and the current state is lost.
  • You need admin permissions, such as sudo access, from within the Azure CLI or PowerShell environment.
  • You need to install tools that aren't supported in the limited Cloud Shell environment, but instead require an environment such as a custom virtual machine or container.
  • You need storage from different regions. You might need to back up and synchronize this content since only one region can have the storage allocated to Azure Cloud Shell.
  • You need to open multiple sessions at the same time. Azure Cloud Shell allows only one instance at time and isn't suitable for concurrent work across multiple subscriptions or tenants.

Check Also Introduction to Azure Cloud Shell

If you don’t ask, the answer is always NO!
...