title:how to setup a complete development environment in the cloud using google cloud shell & vscode
date:2020-10-11
read:5 min
tags:[gcp, developer-tools, vscode, cloud-shell]
series:none
aliases:[how-to-setup-development-environment-google-cloud-shell-vscode]
how to setup a complete development environment in the cloud using google cloud shell & vscode
gcpdeveloper-toolsvscodecloud-shell
set up a fully functional cloud-based development environment using google cloud shell and vs code for remote development.
How to Setup a Complete Development Environment in the Cloud using Google Cloud Shell & VSCode
Setting up a consistent development environment across machines can be tedious. Google Cloud Shell provides a free, browser-based development environment with 5GB of persistent storage, and you can connect to it using VS Code for a premium development experience.
What is Google Cloud Shell?
- Free virtual machine (e2-small) with Debian Linux
- 5GB of persistent home directory storage
- Pre-installed tools: gcloud, kubectl, docker, git, terraform, and more
- Built-in code editor (Theia-based)
- Web preview on ports 8080-8084
Connecting VS Code to Cloud Shell
- Install the "Cloud Code" extension in VS Code
- Sign in with your Google Cloud account
- Use the Remote - SSH extension for a full remote development experience
Benefits
- Consistency: Same environment everywhere
- No local setup: Everything runs in the cloud
- Free: Included with any GCP account
- Powerful: Direct access to GCP services
backlinks 0
no backlinks yet.this note is waiting to be referenced by another essay.
see also
don't miss the next note
open the next note in your inbox.
i'll send each new essay the morning it ships. nothing else.