Choosing the best serverless option for each use case
After reviewing Cloud Functions, App Engine, and Cloud Run, let’s compare them to clarify when each fits best.
Cloud Functions is a function as a service offering, while App Engine and Cloud Run are platform as a service offerings to deploy code and containers, respectively, requiring a bit more work to prepare a deployment. While all three can overlap as alternatives for many use cases, there are some differences to consider before making our choice.
Cloud Functions is the simplest way to turn a function into a microservice and works well for event-driven scenarios. However, if you are used to working with containers, App Engine flexible and Cloud Run will probably be your favorite choices. App Engine standard would be the best choice for simpler applications that need fast scaling and can run in a limited sandbox.
App Engine can bundle multiple services within a single application, while we would need many separate...