Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated as per the recent requirements #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Ensure Access & Identity in Google Cloud: Challenge Lab
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Where like this <Project ID> Project is written it means you need to replace that with your GCP project ID
Where is written like this <Project ID>, <Custom Security Role>, <Cluster Name>, <Service Account Name> it means you need to replace these values with the value given in the sidebar of lab session.


1st TASK ---------- create a custom role using a YAML file
Expand All @@ -13,14 +13,14 @@ includedPermissions:
- storage.objects.update
- storage.objects.create

gcloud iam roles create orca_storage_update --project $DEVSHELL_PROJECT_ID \
gcloud iam roles create <Custom Security Role> --project $DEVSHELL_PROJECT_ID \
--file role-definition.yaml


4TH TASK ---------- Create and configure a new Kubernetes Engine private cluster


gcloud container clusters create orca-test-cluster --num-nodes 1 --master-ipv4-cidr=172.16.0.64/28 --network orca-build-vpc --subnetwork orca-build-subnet --enable-master-authorized-networks --master-authorized-networks 192.168.10.2/32 --enable-ip-alias --enable-private-nodes --enable-private-endpoint --service-account orca-private-cluster-sa@<Project ID>.iam.gserviceaccount.com --zone us-east1-b
gcloud container clusters create <Cluster Name> --num-nodes 1 --master-ipv4-cidr=172.16.0.64/28 --network orca-build-vpc --subnetwork orca-build-subnet --enable-master-authorized-networks --master-authorized-networks 192.168.10.2/32 --enable-ip-alias --enable-private-nodes --enable-private-endpoint --service-account <Service Account Name>@<Project ID>.iam.gserviceaccount.com --zone us-east1-b

5th Task ---------- Deploy an application to a private Kubernetes Engine cluster

Expand Down