2022 Google Cloud:GCP 谷歌助理云工程師認(rèn)證 + 90個(gè)動(dòng)手

//: commit
// command code ↓
code
// good video, I will update my note later

This course is going to focus upon Associate Cloud Engineer at a foundational level certification.
// ACE: Associate Cloud Engineer
// GCP: Google Cloud Platform
// Professional certifications look like Dragon Ball.



// I was wrong, there is too much water in the video.
// Starting at this point is recommended.
// short the command line
export PS1='$'
// check version
python3 --version node --version java --version git --version docker --version dotnet --version
// built in Google Cloud Shell
gcloud version
gsutil
sutile ×
adjective | su·tile | \ ?süt??l \
Definition of sutile
archaic
: done by stitching
// sutile pictures which imitate tapestry. — Samuel Johnson
gsutil = Google storage utility
// how to use it: Authorize it first
gsutil --help
// Make buckets
gsutil mb --help
// gs: google storage
gsutil mb gs://bk-cloudshell
// copy file
gsutil cp cat2.jpg gs://bk-cloudshell
// user name
uname
// storage G
free --giga
// list cpu
lscpu
// install cloud SDK installer (Windows)
// open a PowerShell terminal and run the following PowerShell commands.
// this step need to use openvpn, if you can not use google.com
(New-Object Net.WebClient).DownloadFile("https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe", "$env:Temp\GoogleCloudSDKInstaller.exe") & $env:Temp\GoogleCloudSDKInstaller.exe
? ?
// open a command prompt
gcloud --version
// check credentialed account
gcloud auth list
// search command: auth
gcloud
auth: Manage oauth2 credentials for the Google Cloud SDK.
// look at available commands for gcloud auth:
gcloud auth
revoke: Revoke access credentials for an account.
// it will open a brower to login
gcloud auth login
// check again
gcloud auth list
gcloud config list
??? coffee break???
gsutil mb gs://bk-cloudsdk
gsutil cp results.txt gs://bk-cloudsdk
gsutil ls
// get a copy file to local machine
gsutil cp gs://cloudshell/cat2.jpg cat2.jpg
gcloud config unset project
gcloud config set project 'project name'
gcloud project list
// create
// cli: command line interface
gcloud project create project-from-cli
// delete
gcloud project delete project-from-cli
gcloud billing --help
gcloud billing accounts list
gcloud beta billing accounts list

lsblk
gcloud auth list