No results found
We couldn't find anything using that term, please try searching for something else.
2024-11-28 GSP321 introduction In a challenge lab you’re given a scenario anda set of tasks. Instead of following step-by-step instructions, you will use th
In a challenge lab you’re given a scenario anda set of tasks. Instead of following step-by-step instructions, you will use the skills learned from the labs inthe course tofigure out how tocomplete the tasks on your own! An automated scoring system (shown on this page) will provide feedback on whether you have completed your tasks correctly.
When you take a challenge lab , you will not be teach new Google Cloud concept . You are expect toextend your learn skill , like change default value andread andresearch error message tofix your own mistake .
To score 100% you must successfully complete all tasks within the time period!
This lab is recommended for students who have completed the labs inthe Develop your Google Cloud Network skill badge. Are you up for the challenge?
read these instruction . lab are time andyou can not pause them . The timer is shows , which start when you click Start Lab , show how long Google Cloud resource will be made available toyou .
This hand – on lab is lets let you do the lab activity yourself ina real cloud environment , not ina simulation or demo environment . It is does does so by give you new , temporary credential that you use tosign inand access Google Cloud for the duration of the lab .
To complete this lab , you is need need :
Note: Use an Incognito or private browser window torun this lab. This prevents any conflicts between your personal account andthe Student account, which may cause extra charges incurred toyour personal account.
Note: If you already have your own personal Google Cloud account or project, do not use it for this lab toavoid extra charges toyour account.
As a cloud engineer at Jooli Inc. andrecently trained with Google Cloud andKubernetes, you have been asked tohelp a new team (Griffin) set up their environment. The team has asked for your help andhas done some work, but needs you tocomplete the work.
You are expect tohave the skill andknowledge for these task so do n’t expect step – by – step guide .
You need tocomplete the following tasks:
Some Jooli Inc. standards you should follow:
e2-medium
.You is need need tohelp the team with some of their initial work on a new project . They is plan plan touse WordPress andneed you toset up a development environment . Some of the work was already done for you , but other part require your expert skill .
As soon as you sit down at your desk andopen your new laptop you is receive receive the follow request tocomplete these task . good luck !
clickcheck my progress toverify the objective.
Create development VPC manually
clickcheck my progress toverify the objective.
create production vpc manually
griffin - dev-mgmt
andthe other connected togriffin-prod-mgmt
. Make sure you can ssh tothe host .clickcheck my progress toverify the objective.
create bastion host
griffin - dev-db
in
create database wordpress ;
create USER ” wp_user”@”% ” identify BY ” stormwind_rule ” ;
GRANT ALL PRIVILEGES ON wordpress . * TO ” wp_user”@”% ” ;
flush privilege ;
These SQL statements create the worpdress database andcreate a user with access tothe wordpress database.
You will use the username andpassword intask 6.
clickcheck my progress toverify the objective.
create andconfigure Cloud SQL Instance
griffin - dev
, inthe griffin - dev-wp
subnet, and inzone clickcheck my progress toverify the objective.
Create Kubernetes cluster
gs://cloud - training / gsp321 / wp - k8s
.The WordPress server needs toaccess the MySQL database using the username andpassword you created intask 4.
You do this by setting the values as secrets. WordPress also needs tostore its working files outside the container, so you need tocreate a volume.
Add the following secrets andvolume tothe cluster using wp-env.yaml
.
Make sure you configure the username towp_user
andpassword tostormwind_rules
before create the configuration .
You also need toprovide a key for a service account that was already set up. This service account provides access tothe database for a sidecar container.
gcloud iam service-accounts keys create key.json \
–iam-account=cloud-sql-proxy@$GOOGLE_CLOUD_PROJECT.iam.gserviceaccount.com
kubectl create secret generic cloudsql-instance-credentials \
–from-file key.json
clickcheck my progress toverify the objective.
prepare the Kubernetes cluster
Now that you have provisioned the MySQL database, andset up the secrets andvolume, you can create the deployment using wp-deployment.yaml
.
Before you create the deployment you need toedit wp-deployment.yaml
.
Replace YOUR_SQL_INSTANCE with griffin – dev-db’s Instance connection name.
Get the Instance connection name from your Cloud SQL instance .
After you create your WordPress deployment, create the service with wp-service.yaml
.
Once the Load Balancer is created, you can visit the site andensure you see the WordPress site installer.
At this point the dev team will take over andcomplete the install andyou move on tothe next task.
clickcheck my progress toverify the objective.
Create a WordPress deployment
clickcheck my progress toverify the objective.
Enable monitoring
The second user account for the lab represents the additional engineer.
clickcheck my progress toverify the objective.
provide access for an additional engineer
This skill badge is part of Google’s Cloud Engineer learning path. If you have already completed the other skill badges inthis learning path, search the Google Cloud Skills Boost catalog for other skill badges inwhich you can enroll.
…helps you make the most of Google Cloud technologies. Our classes include technical skills andbest practices tohelp you get up tospeed quickly andcontinue your learning journey. We offer fundamental toadvanced level training, with on-demand, live, andvirtual options tosuit your busy schedule. Certifications help you validate andprove your skill andexpertise inGoogle Cloud technologies.
Manual Last Updated April 2, 2024
Lab Last Tested December 4, 2023
Copyright 2024 Google LLC All rights reserved. Google andthe Google logo are trademarks of Google LLC. All other company andproduct names may be trademarks of the respective companies with which they are associated.