Google Cloud offers two serverless/event-driven services, Cloud Functions and Cloud Run. Cloud Functions was first introduced in 2016, utilizing Google’s server management system and supporting a limited range of programming languages that run exclusively on GCP. On the other hand, Cloud Run, launched in 2019, employs Kubernetes (Knative) and can run on various cloud platforms, enabling users to run code at any desired runtime.
The direction Google is heading towards is clear – Cloud Run is the future. Most recently, Google has transformed the original Cloud Functions to operate on the technology of Cloud Run, now known as Cloud Run Functions.
Migrating to Cloud Run offers users access to advanced features such as NVIDIA GPU support, multi-event triggers, and Cloud Storage mounting. Existing users of Cloud Functions (considered the 2nd Gen of Cloud Functions) will have their functions automatically converted to Cloud Run, with continued support for AI and traditional CLI commands.
Source: Google Cloud
Example screenshot of function code creation in Cloud Run.
TLDR: Google Cloud provides serverless/event-driven services through Cloud Functions and Cloud Run. Cloud Run is the future direction, with Google transitioning Cloud Functions to operate on the Cloud Run platform, offering enhanced features and seamless transition for existing users.
Leave a Comment