Skip to main content

Posts

Perform Foundational Infrastructure Tasks in Google Cloud: Challenge Lab [GSP315]

Link to the Lab: https://www.qwiklabs.com/focuses/10379?parent=catalog Link to the video:   https://youtu.be/ypbGzTmMUb4 Link to the channel:  https://www.youtube.com/channel/UCiWP5KYh4MWj-yp3j-DMIrA STEPS Task 1 Go to cloud storage Make a bucket with the bucket name given < Bucket Name > Task 2 GO TO PUB/SUB  Name = < Topic Name > Task 3 GO TO CLOUD FUNCTIONS create cloud functions name = < Cloud Function Name > region = us-east1 Trigger type = cloud storage Event type = Finalize/create Select the bucket you made earlier done next entry point = thumbnail index.js: /* globals exports, require */ //jshint strict: false //jshint esversion: 6 "use strict"; const crc32 = require("fast-crc32c"); const { Storage } = require('@google-cloud/storage'); const gcs = new Storage(); const { PubSub } = require('@google-cloud/pubsub'); const imagemagick = require("imagemagick-stream"); exports.thumbnail = (event, context) =>
Recent posts

A Tour of Google Cloud Hands-on Labs [GSP282]

Link to the Lab:  https://www.cloudskillsboost.google/focuses/2794?parent=catalog Link to the Video:  https://youtu.be/KFjyI-o60W8 Link to the Channel:  https://www.youtube.com/channel/UCiWP5KYh4MWj-yp3j-DMIrA Answers are marked bold and are highlighted in light yellow This builds a temporary environment in Google Cloud. Start lab (button) Credit Time Score When the timer reaches 00:00:00, you will lose access to your temporary Google Cloud environment. False True Some labs have tracking, which scores your completion of hands-on lab activities. False True In order to receive completion credit for a lab that has tracking, you must complete the required hands-on lab activities. False True What field is NOT found in the left pane? Project ID System admin Password Open Google Console The username in the left panel, which resembles googlexxxxxx_student@qwiklabs.net, is a Cloud IAM identity. True False An organizing entity for anything you build with Google Cloud. Password Username Clou

Ensure Access & Identity in Google Cloud: Challenge Lab [GSP342]

Link to the Lab:  https://www.cloudskillsboost.google/focuses/14572?parent=catalog Link to the Video:  https://www.youtube.com/embed/vVvE-dvGs-Y Link to the Channel:  https://www.youtube.com/channel/UCiWP5KYh4MWj-yp3j-DMIrA STEPS Task 1: gcloud config set compute/zone us-east1-b nano role-definition.yaml *insert whatever is given below* title: "orca_storage_update" description: "Permissions" stage: "ALPHA" description: "Permissions" stage: "ALPHA" includedPermissions: - storage.buckets.get - storage.objects.get - storage.objects.list - storage.objects.update - storage.objects.create   To save a .yaml file press ctrl+x then press y then press enter   gcloud iam service-accounts create orca-private-cluster-sa --display-name "Orca Private Cluster Service Account"   gcloud iam roles create orca_storage_update \ --project $DEVSHELL_PROJECT_ID \ --file role-definition.yaml Task 2 and 3:   gcloud projects add-iam-policy-bi

Perform Foundational Data, ML, and AI Tasks in Google Cloud: Challenge Lab [GSP323]

Link to the Lab:  https://www.cloudskillsboost.google/focuses/11044?parent=catalog Link to the Video:  https://youtu.be/lkI8WscliSs Link to the Channel:  https://www.youtube.com/channel/UCiWP5KYh4MWj-yp3j-DMIrA STEPS (will be unique for everyone) storage →  bucket → create bucket with your Cloud Storage Bucket Name . For Access Control select Fine-Grained → Press create bigquery →  select project →  create dataset →  name= BigQuery Dataset Name open cloud shell gsutil cp gs://cloud-training/gsp323/lab.csv . cat lab.csv gsutil cp gs://cloud-training/gsp323/lab.schema . cat lab.schema copy the bigquery schema and store it somewhere go to bigquery go to dataset lab create table create table from = google cloud storage select file from GCS bucket = cloud-training/gsp323/lab.csv table name = customers enable edit as text paste the bigquery schema that you copied earlier create Go to dataproc clusters create cluster → Cluster on Compute Engine → Create Location → Region leave the rest d