
Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Deploy a Public Billing Service
/ 5
Deploy the Frontend Service
/ 5
Deploy a Private Billing Service
/ 10
Create a Billing Service Account
/ 20
Deploy a Billing Service in Production
/ 20
Create a Frontend Service Account
/ 20
Deploy the Frontend Service in Production
/ 20
In a challenge lab you’re given a scenario and a set of tasks. Instead of following step-by-step instructions, you will use the skills learned from the labs in the course to figure out how to complete 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 taught new Google Cloud concepts. You are expected to extend your learned skills, like changing default values and reading and researching error messages to fix your own mistakes.
To score 100% you must successfully complete all tasks within the time period!
This lab is recommended for students who have enrolled in the Develop Serverless Applications on Cloud Run course. Are you ready for the challenge?
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Pet Theory, a veterinary practice, is eager to adopt serverless architecture for modernizing their current systems.
In this challenge lab, as a member of the development team, your assignment is to transition a specific service to a serverless framework. It's crucial to follow the detailed instructions given to accomplish this task successfully.
For this project, Pet Theory has selected their current monolithic Billing application to undergo transformation into a serverless model.
Throughout this lab, your responsibility is to execute this architectural upgrade, ensuring a seamless transition to the serverless design.
The development team will provide either the code or an image to be deployed as part of the solution.
You will build a prototype solution for Pet Theory that meets the following high level requirement specification:
Ref |
Definition of Done |
1 |
Deploy Staging Architecture |
2 |
Deploy Prod Architecture |
3 |
Secure Access between components in the Prod Architecture |
During the lab, ensure the environment is provisioned to support the deployment of the resources.
FIELD |
VALUE |
Billing Image |
billing-staging-api:0.1 |
Billing Service |
|
Authentication |
unauthenticated |
Code |
pet-theory/lab07/unit-api-billing |
To complete this task successfully, you are required to implement the following:
Click Check my progress to verify that you've performed the above task.
FIELD |
VALUE |
Image Name |
frontend-staging:0.1 |
Service Name |
|
Authentication |
unauthenticated |
Code |
pet-theory/lab07/staging-frontend-billing |
To complete this section successfully, you are required to implement the following tasks:
Click Check my progress to verify that you've performed the above task.
FIELD |
VALUE |
Image Name |
billing-staging-api:0.2 |
Service Name |
|
Repository |
gcr.io |
Authentication |
authenticated |
Code |
pet-theory/lab07/staging-api-billing |
To complete this section successfully, you are required to implement the following tasks:
Get the URL of the Billing Service:
Click Check my progress to verify that you've performed the above task.
FIELD |
VALUE |
Service Account |
|
Display Name |
Billing Service Cloud Run |
Service Name |
billing-service |
Role |
N/A |
To complete this section successfully, you are required to create a service account.
Click Check my progress to verify that you've performed the above task.
FIELD |
VALUE |
Image Name |
billing-prod-api:0.1 |
Service Name |
|
Repository |
gcr.io |
Authentication |
authenticated |
Code |
pet-theory/lab07/prod-api-billing |
Service Account |
|
To complete this section successfully, you are required to implement the following tasks:
Get the URL of the Billing Service:
Access the deployed endpoint:
Click Check my progress to verify that you've performed the above task.
FIELD |
VALUE |
Service Account |
|
Display Name |
Billing Service Cloud Run Invoker |
Service Name |
frontend-prod-service |
Role |
run.invoker |
To complete this section successfully, you are required to implement the following tasks:
Click Check my progress to verify that you've performed the above task.
FIELD |
VALUE |
Image Name |
frontend-prod:0.1 |
Service Name |
|
Repository |
gcr.io |
Authentication |
unauthenticated |
Code |
pet-theory/lab07/prod-frontend-billing |
Service Account |
|
To complete this section successfully, you are required to implement the following tasks:
Click Check my progress to verify that you've performed the above task.
Information on screen is consumed from the private billing service using the service account.
Over this course of this challenge lab you have demonstrated your knowledge of Cloud Run and Google Cloud infrastructure. You have successfully deployed a serverless architecture for Pet Theory, a veterinary practice, and have transitioned their monolithic billing application to a serverless model.
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last UpdatedMarch 22, 2024
Lab Last Tested November 28, 2023
Copyright 2025 Google LLC All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one