Skip to content
English
  • There are no suggestions because the search field is empty.

How to spin up an Azure sandbox

Create an Azure sandbox by connecting to the provisioned server, running the initialization command, configuring Azure CLI with device code login, and accessing the Azure Portal with sandbox credentials for cloud security training.

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 screenshot

Image 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.