Member-only story
From Local to Cloud: How-To Upload VS Code Project Files GCS in GCP
There are so many use-cases for uploading our VS Code project files to GCP, especially when you start diving into data analysis and machine learning. We will save those for another post! This article is a fast and quick how-to on uploading our project files from VS Code into a GCS (Google Cloud Storage) bucket.
How-To Upload VS Code Project Files GCS in GCP
I. Prerequisites
- Set up Google Cloud SDK
If you have not already set up the Google Cloud SDK locally, you’ll have to do this first. You can follow my post here for a step-by-step walk through!
2. Ensure you have an active project in GCP with Billing enabled
II. How-To Guide
- Authenticate your local IDE with Google Cloud SDK
gcloud auth login
2. Set your GCP Project ID (As a young developer, and as someone who thinks very literally, this was always confusing to me, so I’m just going to call it out: you do not need the brackets around PROJECT_ID. They are just a placeholder. 🥰)
gcloud config set project [PROJECT_ID]