欢迎光临散文网 会员登陆 & 注册

2022 Google Cloud:GCP 谷歌助理云工程师认证 + 90个动手

2022-08-04 12:53 作者:我命我掌控  | 我要投稿

//: commit

// command code ↓

code


// good video, I will update my note later






01.01 Course Introduction P1 - 01:05


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.









04.02 [Hands-on] Assigning users to predefined IAM roles within a project P10 - 04:27


// I was wrong, there is too much water in the video.







06.01 Section Introduction P16 - 00:11


// Starting at this point is recommended.








06.02 [Hands-on] Cloud Shell - 1 P17 - 07:47


// 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








06.03 [Hands-on] Cloud Shell - 2 P18 - 02:08


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








06.04 [Hands-on] Cloud Shell - 3 P19 - 08:47


// storage G

free --giga



// list cpu

lscpu








06.05 [Hands-on] Cloud SDK Part - I P20 - 03:53


// 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







06.06 [Hands-on] Cloud SDK Part - II P21 - 00:58


// 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






06.06 [Hands-on] Cloud SDK Part - II P21 - 07:28


gcloud config list






☕☕☕ coffee break☕☕☕






06.07 [Hands-on] Cloud SDK Part - III P22 - 01:01


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








06.09 GCloud command for Module - 1 P23 - 02:44


gcloud config unset project






gcloud config set project 'project name'






06.09 GCloud command for Module - 1 P23 - 03:59


gcloud project list





06.09 GCloud command for Module - 1 P23 - 04:52


// create

// cli: command line interface

gcloud project create project-from-cli




// delete

gcloud project delete project-from-cli







06.09 GCloud command for Module - 1 P23 - 06:07


gcloud billing --help



gcloud billing accounts list



gcloud beta billing accounts list







13.03 [Hands-on] Launching a compute instance using Cloud ShellSDK P37 - 03:31








13.04 [Hands-on] Attach Different Disk to VM P38 - 05:22


lsblk







43.04 [Hands-on] Granting access to a service account in another project P139 - 08:04


gcloud auth list













2022 Google Cloud:GCP 谷歌助理云工程师认证 + 90个动手的评论 (共 条)

分享到微博请遵守国家法律