#gcp - June 2024

gcpArchived
2 messages

Google Cloud Platform

jonjitsu
jonjitsuover 2 years ago
Is it possible to deploy a GCP cloud function packaged as a container similar to aws lambda?
burnzy
burnzyover 2 years ago
Hello @jonjitsu 😉 Long time! I don’t believe it’s possible, although cloud functions will get built and stored in Artifact Registry as a container image — you don’t get much control over that build process, besides being able to set a few environment vars to override a few options during build and/or runtime. As far as I’m aware, you can’t deploy directly from your own container. The better option there would be to use Cloud Run (or Cloud Run Jobs) for using your own custom container