Launching the Google Cloud Shell Console



The Google Cloud Shell Console enables you to make changes to your serverless environment including installing libraries and plugins and can be accessed in the browser with the click of a button.

How to access the Google Cloud Shell

Accessing the Google Cloud Shell is easy, Google Cloud have made it super simple to launch the shell and manage your projects through the browser windows and starting up a shell instance is quick and easy with the following steps.
  1. Navigate to https://console.cloud.google.com/functions/
  2. In the top right of the menu, click on the shell/command prompt style icon
  3. A Cloud Shell window will pop up from the bottom of the screen, it may take a minute for it to load, you should see the following:
  4. If this is the first time you are using Google Cloud Shell you may need to run a command to set which project you are working on, you should only need to do this once following the steps below


Setting your project in Google Cloud Shell

Setting your project in Google Cloud Shell tells the Cloud Shell which Cloud project to work on, you can set the project in Google Cloud shell following the steps below. 

  1. Note your Google Cloud project name, it should be listed in the top left of the website
  2. In the Google Cloud Shell window, type the following command noting your cloud project id gcloud config set project CloudProjectName
  3. The Shell should return "Updated property" you can now proceed to run commands on your project.
You can use the Google Cloud Shell to change a number of options in your environment as well as add additional libraries or plugins, you can also use the shell to get more detailed error logging, the following command returns the last 5 entries in the logs.

gcloud functions logs read --limit 5

Find more documentation on Google Cloud Shell at https://cloud.google.com/shell/

Was this helpful?

Yes No


Comments