This session is broken into two parts. The first section will provide an overview of Cloud Run by way of walking through building and deploying a demo application. We’ll talk through situations where Cloud Run shines and is a compelling solution. As we work through the demo we will discuss areas where Cloud Functions or App Engine might be a better fit.
This demo will cover using NLP to do sentiment analysis, storing results within Cloud Firestore, with the compute portions running on Cloud Run. We’ll cover the same components running on Cloud Functions to highlight the differences and how you can port code between the two.
The demo is based on the code found here: https://github.com/RealKinetic/gcp-sentiment-analysis-demo.
The remainder of the time will be spent with interactive questions and helping anyone interested work through deploying this example.
To follow along, you’ll need to have a computer with
- git (to clone the repo) [required]
- docker (for building the container) [required]
- gcloud (to interact with GCP) [optional, but suggested]
You can use your own machine or if you’re comfortable with command line tools you can use a Cloud Shell to work from. It has all of the tools needed to follow along with our demo.
You’ll need a GCP Project to work in as well, so set one up in advance!