Goolge Cloud Skills Boost


컨텐츠 정보


``` sudo su - apt-get update apt-get install apache2 -y service --status-all ``` ``` Google Cloud Essential Skills: Challenge Lab GSP101 sudo su - apt-get update apt-get install apache2 -y service --status-all # Deploy a Compute Instance with a Remote Startup Script # # Task 1: Confirm that a Google Cloud Storage bucket exists that contains a file gsutil mb gs://$DEVSHELL_PROJECT_ID gsutil cp gs://sureskills-ql/challenge-labs/ch01-startup-script/ gs://$DEVSHELL_PROJECT_ID # Task 2: Confirm that a compute instance has been created that has a remote startup script called configured gcloud compute instances create example-instance --zone=us-central1-a --tags=http-server --metadata startup-script-url=gs://$DEVSHELL_PROJECT_ID/ # Task 3: Confirm that a HTTP access firewall rule exists with tag that applies to that virtual machine gcloud compute firewall-rules create allow-http --target-tags http-server --source-ranges --allow tcp:80 # Task 4: Connect to the server ip-address using HTTP and get a non-error response # After firewall creation (Task 3) just wait and then check the score ```


댓글 0
등록된 댓글이 없습니다.
전체 18 / 1 페이지