Member-only story
How to transfer large files to Google Cloud instance
3 min readJun 21, 2022
If you tried uploading a file from your local machine to a GCP instance available as SSH-in-browser and aborted as it took forever to transfer a file, use the glcoud
andscp
utilities.
I am using an Ubuntu VM with 20.04.4 LTS (Focal Fossa) version and my host machine is macOS Monterey version 12.4.
Pre-requisite
- GCP account with privileges to create an instance.
- Install Google Cloud CLI in the host OS. My
gcloud --version
is Google Cloud SDK 390.0.0.
Step 0: Create a new VM instance in GCP
- Create a VM instance from an image with a minimum of 32 vCPUs, 128 GB memory, and 100 GB storage.
- Get your external IP address from Google console > VM instances > Network interfaces.
- Select SSH > Open in browser window next to your instance.