Skip to content

Instantly share code, notes, and snippets.

View Syed-Hassaan's full-sized avatar
🎯
Focusing

Syed Hassaan Ali Syed-Hassaan

🎯
Focusing
  • Digital Elliptical Software House
  • Hyderabad
  • 06:52 (UTC +05:00)
  • X @MrHassyy
View GitHub Profile
@Syed-Hassaan
Syed-Hassaan / GSP101 | Google Cloud Essential Skills: Challenge Lab.txt
Created May 20, 2021 10:55
GSP101 | Google Cloud Essential Skills: Challenge Lab
######################################################################################
## Google Cloud Essential Skills: Challenge Lab # GSP101 ##
######################################################################################
====================== Task 1: Create a Compute Engine instance, add necessary firewall rules ======================
//Goto Compute Engine -> VM Instannces -> Create Instance.
Name : apache
Zone : us-central1-a
@Syed-Hassaan
Syed-Hassaan / GSP345 | Automating Infrastructure on Google Cloud with Terraform: Challenge Lab.txt
Created May 20, 2021 09:29
GSP345 | Automating Infrastructure on Google Cloud with Terraform: Challenge Lab
######################################################################################
## Automating Infrastructure on Google Cloud with Terraform: Challenge Lab # GSP345 ##
######################################################################################
====================== Setup : Create the configuration files ======================
Make the empty files and directories in Cloud Shell or the Cloud Shell Editor.
------------------------------------------------------------------------------------
touch main.tf
touch variables.tf
@Syed-Hassaan
Syed-Hassaan / Set Up and Configure a Cloud Environment in Google Cloud Challenge Lab.txt
Last active March 5, 2024 08:39
Set Up and Configure a Cloud Environment in Google Cloud: Challenge Lab # GSP321
######################################################################################
## Set Up and Configure a Cloud Environment in Google Cloud: Challenge Lab # GSP321 ##
######################################################################################
====================== TASK 1: Create development VPC manually ======================
gcloud compute networks create griffin-dev-vpc --subnet-mode custom
gcloud compute networks subnets create griffin-dev-wp --network=griffin-dev-vpc --region us-east1 --range=192.168.16.0/20
@Syed-Hassaan
Syed-Hassaan / Integrate_with_Machine_Learning_APIs_Challenge_Lab.txt
Created October 5, 2020 13:59
Integrate with Machine Learning APIs: Challenge Lab
## Task 1 & 2.
export SANAME=challenge
gcloud iam service-accounts create $SANAME
gcloud projects add-iam-policy-binding $DEVSHELL_PROJECT_ID --member=serviceAccount:$SANAME@$DEVSHELL_PROJECT_ID.iam.gserviceaccount.com --role=roles/bigquery.admin
gcloud projects add-iam-policy-binding $DEVSHELL_PROJECT_ID --member=serviceAccount:$SANAME@$DEVSHELL_PROJECT_ID.iam.gserviceaccount.com --role=roles/storage.admin
gcloud iam service-accounts keys create sa-key.json --iam-account $SANAME@$DEVSHELL_PROJECT_ID.iam.gserviceaccount.com
export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/sa-key.json
gsutil cp gs://$DEVSHELL_PROJECT_ID/analyze-images.py .
@Syed-Hassaan
Syed-Hassaan / Perform_Foundational_Data_ML_AI_Tasks_Challenge_Lab.txt
Last active October 28, 2020 13:31
Perform Foundational Data, ML, and AI Tasks in Google Cloud: Challenge Lab
## Task 1.
gcloud auth list
gsutil cp gs://cloud-training/gsp323/lab.csv .
gsutil cp gs://cloud-training/gsp323/lab.schema .
cat lab.schema