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

Microsoft Windows Server 2012 R2 Standard Evaluation Product Key

Microsoft Windows Server 2012 R2 Standard Evaluation D2N9P-3P6X9-2R39C-7RTCD-MDVJX DBGBW-NPF86-BJVTX-K3WKJ-MTB6V

ManageEngine ServiceDesk Plus - Reset password

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

hmailserver: Notes from the field

hmailserver is one of free open source mail servers running on Microsoft Windows operating system.