Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How do I enable and use Google Cloud Shell to interact with Google Cloud resources in my projects?

Cloud Shell provides an in-browser command-line environment, preloaded with essential tools for configuring and developing on GCP. We need assistance with setup, configuration, and troubleshooting to ensure a smooth experience managing our projects directly from Cloud Shell.

Solved Solved
1 1 616
1 ACCEPTED SOLUTION

Hi @TBBD ,

Welcome to Google Cloud Community!

To use Google Cloud Shell to interact with Google Cloud resources in your projects, you can:

Activate Cloud Shell in the Google Cloud console:

1. Click Activate Cloud Shell at the top of the Google Cloud console

Screenshot 2024-11-13 9.19.20 PM.png

If prompted, click Continue

A Cloud Shell session will open in a new frame at the bottom of the Google Cloud console

Screenshot 2024-11-13 9.20.11 PM.png

 2.Use the command line to access the Google Cloud CLI and other utilities

3.Use the Cloud Shell Editor to view and edit files

4.Launch tutorials, open the Cloud Shell Editor, and download files using the cloudshell command  

Familiarize yourself with basic commands:

  • ls: Lists files and directories
  • cd: Changes directory
  • mkdir: Creates a new directory
  • pwd: Shows the current working directory
  • rm: Removes files or directories
  • mv: Moves or renames files
  • cp: Copies files
  • cat: Displays the contents of a file
  • help: Provides help on a specific command

To understand more and for additional references, you may check the following how-to-guides below:

I hope the above information is helpful.

View solution in original post

1 REPLY 1

Hi @TBBD ,

Welcome to Google Cloud Community!

To use Google Cloud Shell to interact with Google Cloud resources in your projects, you can:

Activate Cloud Shell in the Google Cloud console:

1. Click Activate Cloud Shell at the top of the Google Cloud console

Screenshot 2024-11-13 9.19.20 PM.png

If prompted, click Continue

A Cloud Shell session will open in a new frame at the bottom of the Google Cloud console

Screenshot 2024-11-13 9.20.11 PM.png

 2.Use the command line to access the Google Cloud CLI and other utilities

3.Use the Cloud Shell Editor to view and edit files

4.Launch tutorials, open the Cloud Shell Editor, and download files using the cloudshell command  

Familiarize yourself with basic commands:

  • ls: Lists files and directories
  • cd: Changes directory
  • mkdir: Creates a new directory
  • pwd: Shows the current working directory
  • rm: Removes files or directories
  • mv: Moves or renames files
  • cp: Copies files
  • cat: Displays the contents of a file
  • help: Provides help on a specific command

To understand more and for additional references, you may check the following how-to-guides below:

I hope the above information is helpful.

Top Labels in this Space