Hi! Early last year I used this guide by Anna Geller to set up our Prefect Cloud setup executing on Google Cloud Run.
I see now that a lot of things in that guide have been deprecated... Is there a newer guide to set up Prefect Cloud with Cloud Run?
n
Nate
06/14/2024, 4:19 PM
hi @Theo Sjöstedt!
a lot of that is probably still valid (i.e. credentials stuff should all be the same), but here's mainly whats changed - that is
• agents / infra blocks -> workers / work pools
on any infra block, you can call
publish_as_work_pool
(one time) to automatically create a work pool based on your existing cloud run infra block, and then you'd just have to start your worker and redeploy flows to point at this work pool
t
Theo Sjöstedt
06/18/2024, 7:58 AM
Thank you. So I'm guessing a lot of the things with the Github Actions in that template repo is not needed anymore and can be replaced with a
prefect.yaml
file? Those Github Actions files have always been somewhat of a mystery to me, so I'd gladly simplify it, maybe just a single action that deploys any flow that has changed perhaps.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.