How to spin up an Azure cloud sandbox

How to spin up an Azure sandbox

Steps:

  1. Click the Access button to connect to the provisioned server.

  2. Open the terminal by selecting the Terminal option and choosing New Terminal.

To create an Azure sandbox, run:

asectl init azure

  • A sandbox environment in Azure will be created, generating credentials stored in /root/azure-creds.txt.

Configure the Azure CLI:

  1. Run the following in the terminal:

az login --use-device-code

  1. Copy the device code displayed and visit Microsoft Device Login.

  2. Enter the code and sign in with the credentials from /root/azure-creds.txt.

  3. Select the default subscription when prompted.

Access the Azure Portal:

References:

Image of Azure Sandbox screenshotImage featuring the screenshot of how to spin up an azure sandbox

Understand more about sandboxes and how they can enhance your security practices in our guide on What are sandboxes.