Hey all, What are the recommandations to make Pre...
# prefect-cloud
h
Hey all, What are the recommandations to make Prefect access resources from different vpcs? My use case => I have several internal databases (not exposed to internet) that are running in different vpcs and I would like Prefect to query them. I am wondering what are the recommandations to do so? Or if there is a guide I could follow 🙂
i
Hi Hugo, There's probably many ways to go about this, but I think setting up a work-pool for each VPC is ideal here, and have a workers running within those VPCs run the queries. https://docs.prefect.io/latest/concepts/work-pools/
You can have workers poll prefect for work, or use 'push pools' that are serverless triggered by Prefect.
Hope this helps 😉
That page, and these two links can walk you through a good amount of detail to hopefully achieve what you want. https://docs.prefect.io/latest/concepts/work-pools/ https://docs.prefect.io/latest/guides/prefect-deploy/