Cloud Shell
Basic Operations
- Access Google Cloud
- Start Shell
- Edit Files
- Upload Files
- Download Files
- cloudshell download test1.md test2.md
- Install Softwares
- sudo apt-get install [package_name]
Commands
gcloud, CLI
- gcloud alpha cloud-shell ssh, ssh google cloud shell from local
- gcloud alpha cloud-shell scp cloudshell:~/data.txt localhost:~data.txt, copy file from cloud to local
- gcloud alpha cloud-shell scp clocalhost:~data.txt loudshell:~/data.txt, copy file from local to cloud
cloudshell
- edit-files, edit-file, edit, open
- cloudshell edit-files *.c, open multiple files
- download-files, download-file, download, dl
- cloudshell download-files *.c, download multiple files
- launch-tutorial
- cloudshell launch-tutorial -d README-cloudshell.txt, open a text file as a web-based tutorial
System Information
Debian GNU/Linux 10
5G persistent disk storage
2 Intel(R) Xeon(R) CPU @ 2.30GHz
1995 Mega Bytes memory
Reference