1 Answers
Very interesting question 🙂
Unfortunately, you can’t do such thing, not directly at least. Cloud Shell is simply just a Linux machine hosted on GCP and it doesn’t have the ability to access your local computer’s storage.
What you can do instead, is uploading files from your computer to Cloud Shell, then use gsutil
to push files to GCS bucket. Use the "three-vertical-dots" button and choose Upload File. You have 5 GB of persistent storage for using with Cloud Shell.
Or better, installing Google SDK on your computer and upload files to GCS directly from there :D.