Aug 25, 2017 · 1 min read
Hey nice post, was going to write somehing similar but you beat me to it :) A few things I would change, there is no need to add the SSH keys since you can just use the `gcloud ssh` command. Secondly, ssh tunnels are more secure and easier than opening firewall rules. gcloud compute ssh instance --ssh-flag="-L" --ssh -flag="8888:localhost:8888 will map your local 8888 to the instance’s 8888. Thanks for writing!
