Cloud Run vs App Engine

Should you use Google’s Cloud Run or Google’s App Engine for your next project?

Dirk Hoekstra
Dec 29, 2019 · 2 min read
Clouds — Photo by Kaushik Panchal on Unsplash

What is Cloud Run?

In a nutshell, you give Google’s Cloud Run a Docker container containing a webserver. Google will run this container and create an HTTP endpoint.

gcloud auth configure-docker
docker push
gcloud run deploy --image

What is App Engine?

With Google’s App Engine you tell Google how your app should be run. The App Engine will create and run a container from these instructions.

runtime: nodejs12
entrypoint: node build/server.js
gcloud app deploy

Which service should you use?

Deploying with App Engine is super easy. You simply fill out an app.yml file and Google handles everything for you.


A place for practical programming articles!

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store