Build a Resilient, Asynchronous System with Cloud Run and Pub/Sub
For the labs in the GCP Serverless Workshop: Pet Theory Quest, you will read through a fictitious business scenario and assist the characters with their serverless migration plan.
Twelve years ago, Lily started the Pet Theory chain of veterinary clinics. Over the years, the number of clinics has grown, and so has the need for automation. The way Pet Theory handles the results of medical tests when they come back from the lab is too slow and error-prone, and Lily wants to improve this.
Currently, Patrick, Pet Theory's IT administrator, handles test results manually. Whenever a test result comes back, he composes and sends an email to the client whose pet was tested, then he taps out a text message on his phone and sends the results as a text to the client.
Patrick is working with Ruby, a software consultant, to design a more scalable system. They want to build a solution that doesn't require a lot of ongoing maintenance. Patrick and Ruby have decided to go with serverless technology.
This lab assumes familiarity with the GCP Console and shell environments. This lab is part of a series. Taking the previous labs could be helpful, but is not necessary:
- Migrating Data to a Firestore Database
- Build a Serverless Web App with Firebase and Firestore
- Build a Serverless App that Creates PDF Files with Cloud Run
- Share Data Securely via a REST API
You should also be comfortable editing files. You can use your favorite text editor (like
vi, etc.) or you can launch the code editor from Cloud Shell, which can be found in the top ribbon:
이 실습의 나머지 부분과 기타 사항에 대해 알아보려면 Qwiklabs에 가입하세요.
- Google Cloud Console에 대한 임시 액세스 권한을 얻습니다.
- 초급부터 고급 수준까지 200여 개의 실습이 준비되어 있습니다.
- 자신의 학습 속도에 맞춰 학습할 수 있도록 적은 분량으로 나누어져 있습니다.
Create a Pub/Sub topic
Deploy the Lab Report Service: Build
Create a Revision for Cloud Run
Deploy the Email Service: Build
Create a new Revision
Create a service account
Create a Pub/Sub subscription
Deploy the SMS Service