Hi All, I’ve been working at deploying the prefec...
# prefect-community
m
Hi All, I’ve been working at deploying the prefecthq/prefect-orion helm chart to an AKS namespace leveraging the PostgresQL database. After conversations with our enterprise AKS team, the AKS team is trying to reduce the amount of databases in the AKS cluster and have strongly suggested we move to a (external from the AKS cluster) managed database. This makes sense to me in the long-run for productionizing Prefect when needing to redeploy. However, I’m still trying to understand how to set up that connecting from the managed database to the Prefect instance/defining the connection in the helm chart. Tried to look through the documentation for any hints but couldn’t find anything. Would love to hear everyone’s experiences or thoughts with this. Are there better practices for productionizing Prefect or am I headed in the right direction? Thanks!
1
a
Hi Mark, if you struggle to set this up, it might be easier to start with Prefect Cloud (free to use, no trials, no credit card required): https://docs.prefect.io/ui/cloud-getting-started/
m
Hi Anna, Prefect Cloud is not an option within our security guidelines at this moment. I’ll figure out how to set it up eventually. Would like to know if I there’s any pitfalls or documentation for deploying Prefect to AKS without creating a PV for it via Helm. I don’t know the value name to define the connection string for the db outside of outright creating it.
a
I see, for security questions I'd still encourage you to check first with sales@prefect.io as we explore support for dedicated tenants No pitfalls known to me. Fingers crossed you figure out the best setup for you and it would be awesome if you could share your findings in the community (Discourse, blog post, sharing sample repo)
m
Of course, thank you. Are you aware of anyone who has done something similar?
Think I figured out how to connect to an external postgres service.
🙌 1
a
great to hear - only the same what you can find here via Slack, discourse.prefect.io and linen.prefect.io
m
Thanks, this question was asked for long-term considerations. For our PoC, we’re just doing a postgres db in AKS.
👍 1
a
fwiw I think especially for PoC, it's easier and more cost-effective to start with Cloud