Get startedGet started for free

Lab intro: Building Event-Driven Orchestration on Google Cloud

1. Lab intro: Building Event-Driven Orchestration on Google Cloud

Workflows, Eventarc, Cloud Tasks, and Cloud Scheduler provide a powerful set of features that can be used to create exciting applications when using a microservices architecture. In this lab, you use these four services to implement a series of steps that occur when an image is added to a Cloud Storage bucket. You create an Eventarc trigger that detects when an image file is uploaded to a Cloud Storage bucket. The trigger starts a workflow to analyze the image and create a thumbnail. Another Eventarc trigger will run a Delete Image service in Cloud Run when an image file is deleted from the bucket. You create a workflow that receives the file creation event from Eventarc. This workflow calls Cloud Vision to analyze the photo, and then the workflow extracts metadata from the Cloud Vision response. If the image content is safe, the image metadata is stored in Firestore, and a Cloud Task is queued to create an image thumbnail. The Cloud Task starts a Cloud Run service that creates a thumbnail of the uploaded image. Finally, Cloud Scheduler starts a Cloud Run service every minute to create a collage of the latest image thumbnails. This lab shows how easy it is to build compelling applications in Google Cloud using Eventarc, Workflows, Cloud Tasks, and Cloud Scheduler.

2. Let's practice!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.