Installing sdk:

  curl sdk.cloud.google.com | bash  
  . ~/.bashrc

Setting up auth token for auto-login, then set project:

  gcloud auth login
  gcloud config set project <project-name>

List instances in gce (vms, kb8 nodes, etc.):

  gcloud compute instances list

Add public ssh key to a given instance:

  gcloud compute instances add-metadata <instance-name> --metadata-from-file sshKeys=<path-to-public-key-file>
  ssh erwan_spotify_com@<instance-ip>