GCP Cloud Run vs Cloud Functions vs App Engine

Updated: 2020-10-19

Google Cloud Platform has several serverless offerings:

  • App Engine: Platform as a Service. Launched in 2008, even before "serverless" became a buzzword.
  • Cloud Functions: Functions as a Service. Launched in 2016 (?).
  • Cloud Run: for containers, essentially a managed Knative. Launched in 2019.

If you worry about "vendor lock-in", Cloud Run is the best choice: code is packaged into standard (Docker) containers; and since Knative is an open source project, you can easily migrate to an on-prem environment or another cloud running Knative, without worrying about hidden differences under the hood.