You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Cloud Functions (2nd gen) is the latest version of Google Cloud Functions, built on top of Cloud Run and Eventarc. It offers significant improvements over the 1st generation, including higher performance, longer timeouts, concurrency support, and a unified eventing model. Google recommends using Gen 2 for all new function deployments.
The most significant architectural change in Gen 2 is that functions are deployed as Cloud Run services under the hood. When you deploy a Gen 2 function, Google Cloud automatically creates a Cloud Run service, builds a container image using Cloud Build, stores it in Artifact Registry, and deploys it to Cloud Run. This gives Gen 2 functions all the benefits of Cloud Run's container-based infrastructure.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.