Hi! Early last year I used <this guide by Anna Gel...
# prefect-cloud
t
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
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
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.