Skip to main content

GCP: Google Cloud Shell

Start Google Cloud Shell

Google Cloud Shell is a tool for managing resources hosted on Google Cloud Platform! The machine comes pre-installed with the Google Cloud SDK and other popular developer tools.

Google Cloud Shell is free for customers of Google Cloud Platform.

Google Cloud Shell is free for all users

Features

  • Web Browser Access
  • 5GB of Persistent Disk Storage (home disk)

If you don't access Cloud Shell for 120 days, your home disk is deleted. You are notified by email before the deletion. To prevent your home disk from being deleted, [just]start a session.

tuyendq@cloudshell:~ (practicehabits)$ cat README-cloudshell.txt

Welcome to Google Cloud Shell, a tool for managing resources hosted on Google Cloud Platform!
The machine comes pre-installed with the Google Cloud SDK and other popular developer tools.

Your 5GB home directory will persist across sessions, but the VM is ephemeral and will be reset
approximately 20 minutes after your session ends. No system-wide change will persist beyond that.

Type "gcloud help" to get help on using Cloud SDK. For more examples, visit
https://cloud.google.com/shell/docs/quickstart and https://cloud.google.com/shell/docs/examples

Type "cloudshell help" to get help on using the "cloudshell" utility.  Common functionality is
aliased to short commands in your shell, for example, you can type "dl <filename>" at Bash prompt to
download a file. Type "cloudshell aliases" to see these commands.

Type "help" to see this message any time. Type "builtin help" to see Bash interpreter help.

tuyendq@cloudshell:~ (practicehabits)$

gcloud shell cheat sheet

export PROJECT_ID = $(gcloud config get-value project) : Get project id
gcloud projects delete PROJECT_ID : Delete project with id PROJECT_ID
gcloud compute instances start INSTANCE_NAMES [INSTANCE_NAMES …] [--zone=ZONE]
gcloud compute instances describe INSTANCE_NAME_HERE

Popular posts from this blog

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5

Linux command: du - disk usage

Where have all my storage gone? du summarize disk usage of the set of FILEs, recursively for directories.

ManageEngine ServiceDesk Plus - Reset password

Let's reset the default administrator's password to 'admin'