Does anyone know, difference between Google App Engine Flex and Google Cloud Run?
Thanks
Does anyone know, difference between Google App Engine Flex and Google Cloud Run?
Thanks
The Cloud Run documentation is not yet very informative but the new video Where Should I Run My Code? Choosing From 5+ Compute Options (Cloud Next '19) compares Cloud Run with App Engine and also Cloud Functions, Google Kubernetes Engine, and Google Compute Engine.
Investigate Cloud Run's limitations before getting started. E.g. the payload container can be configured with up to 2GB RAM (more with a GKE cluster) with no disk space (only RAM disk). See the Cloud Run How-To Guides and the rest of the Cloud Run Documentation.
Also see the App Engine Documentation.
Google cloud runs utilizes stateless applications inside docker containers. The service can scale up and down automatically and will scale to 0 when not in use. From what I understand app engine flex cannot scale to 0 and is generally not considered a stateless architecture.
Cloud Run (managed) allows 5 min default timeout, configurable up to 15 min. No limits on Cloud Run on Kubernetes Cluster. source
App Engine allows up to 24h timeout depending on option. source
Also Cloud Run (managed) pricing policy seems to be better (probably depending on use case). You pay only for time took by requests. It doesn't matter when instance will auto-scale to 0, because you won't pay for idle time. source