https://prefect.io logo
j

Josh

10/14/2022, 4:48 PM
Has anyone ever tried running prefect flows through GCP lambda functions? I’m exploring how to support a mapped run of 1000s of tasks in parallel, and am not sure whether to go the Google Kubernetes Engine route (which Prefect has an agent for) or lamda functions. Would appreciate to anyone’s experience.
r

Rajvir Jhawar

10/14/2022, 5:02 PM
Are you using prefect 1 or 2?
If your using prefect 2 I would suggest trying out the new cloud run integration if your ok with a beta product: https://prefecthq.github.io/prefect-gcp/cloud_run/
👍 1
If you look at google's native cloud functions (which are equivalent to AWS lamda) that system now uses cloud run (knative) under the hood (this is if you want to go without dealing with infra)
If you want something more stable then I would recommend using GKE autopilot (google manages most the setup for you)
👍 1
j

Josh

10/14/2022, 5:56 PM
I’m running Prefect 1. but hoping to migrate to Prefect 2 in a couple of months
4 Views