Using Cloud Run to run your code
Cloud Run is the third and last option for serverless code execution that we will discuss in this chapter. This is the CaaS option, and you should keep an eye on it because, as we will see in the next couple of chapters, containers are the biggest bet for portable development as of today, and the base for Google’s hybrid and multi-cloud offering.
Introducing Cloud Run
Cloud Run (https://cloud.google.com/run/docs/overview/what-is-cloud-run) is the third serverless option for running our code on Google Cloud. In this case, our code will be running on containers on top of Google’s scalable infrastructure, once again forgetting about everything to do with operational tasks or scaling our architecture, since Google’s CaaS compute platform will take care of it for us.
This also means that Google will decide when to stop sending requests and even when to terminate an instance, and since each of them will be ephemeral and disposable...