How to spin up a GCP cloud sandbox

How to spin up a GCP 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 a GCP sandbox, run:

asectl init gcp

  • Credentials will be stored in /root/gcp-creds.txt and /root/service-key.json.

Configure the GCP CLI:

  1. Authenticate:

gcloud auth activate-service-account --key-file=/root/service-key.json

  1. Set the project:

gcloud config set project <project-id>

  1. Replace <project-id> with the project ID from /root/service-key.json.

Access the GCP Console:

  • Log in at GCP Console using the credentials from /root/gcp-creds.txt.

GCP Sandbox screenshot Image Showing step to spin up a GCP sandbox

Image of Google cloud consoleImage featuring cloud console of appsecengineer's sandbox

Conclusion

Cloud sandboxes make hands-on security training accessible and risk-free. With instant provisioning and zero setup overhead, you can focus on learning critical cloud security skills rather than infrastructure management. Start exploring our labs today with these ready-to-use environments.



    • Related Articles

    • How to spin up an Azure sandbox

      Steps: Click the Access button to connect to the provisioned server. 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, ...
    • How to spin up a AWS cloud sandbox

      Steps: Click the Access button to connect to the provisioned server. Open the terminal by selecting the Terminal option and choosing New Terminal. To create an AWS sandbox, run: asectl init aws A sandbox environment in AWS will be created, generating ...
    • What are sandboxes

      In AppSecEngineer, Sandboxes are the easiest and most secure way to learn Cloud security since you don't need to use your own cloud account or expose your Cloud infrastructure to the simulated attacks we'll be performing in our Labs all of our Cloud ...
    • Quick start guide for Enterprise

      Set up Enterprise Account Import users manually SSO integration Create team and assign courses Available reports
    • Moodle Integration

      Step 1: Log in to Moodle Sign in to your Moodle account. Click on Site Administration in the top menu bar. Navigate to the Plugin section. Scroll down to find and select Manage Tools. This is where you can add external tools and plugins. Step 2: ...