DEV Community

Discussion on: GCP Cloud Run: containers without Dockerfile

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

If you use just buildpacks, why not Google App Engine?

Collapse
 
alvardev profile image
Alvaro David

Hi Pacharapol, excellent question!

For this example App Engine and even Cloud Functions are perfect serverless resources to deploy the API too.

Actually, what I want to show in this post are two things:

1.- Buildpacks are relative new on GCP and I know a lot of devs that are lock in on Docker, so I wanted to show them that there are other options to build container images.

2.- Kubernetes has deprecated Docker so the next question was "What are we going to do with our containers in Cloud Run (Knative)?" .

Cloud Run is the cheapest way to run a container on GCP and migrate to GKE or Anthos is easier. Maybe I simplified too much the code lol.

By the way, for those who are new to GCP, you can check the docs for more information and use cases of serverless on GCP cloud.google.com/serverless#section-6