Running Serverless Code on Google Cloud – Part 2
After covering Cloud Functions and App Engine in the previous chapter, this one will introduce the third serverless option to run our code on Google Cloud, this time using containers: Cloud Run.
First, I will introduce its basic concepts and describe the two different execution environments available. Then, we will see together how we can run our code using Cloud Run and what the best practices for debugging it are. Next, I will show you how much Cloud Run costs and include some tips and tricks to help you get the most out of it.
Finally, we will discuss the similarities and differences between the three serverless products covered in this and the previous chapter, so you can better decide when you should use each.
We’ll cover the following main topics in this chapter:
- Using Cloud Run to run your code
- Choosing the best serverless option for each use case
Let’s get started!