https://prefect.io logo
#prefect-community
Title
# prefect-community
m

Maren Elise Rønneseth

10/07/2022, 1:25 PM
Hi! I have just started testing Prefect and are looking into using Prefect Cloud. We want to configure the Prefect database (which can contain sensitive logs) to be hosted in our own cloud and not in Prefect Cloud. Is this possible, and if so how can this be done?
r

Rob Freedy

10/07/2022, 1:33 PM
Hey @Maren Elise Rønneseth!! You can configure the Orion database using the
PREFECT_ORION_DATABASE_CONNECTION_URL
. Note that Prefect supports these database versions: • SQLite 3.24 or newer • PostgreSQL 13.0 or newer https://docs.prefect.io/concepts/database/?h=database#configuring-the-database
🌟 1
m

Maren Elise Rønneseth

10/07/2022, 1:41 PM
Thanks!! I want the database to be hosted in my own cloud, but I still want to use Prefect Cloud for other things. Is this possible? I saw this comment in the documentation that you shared "Your database runs on the same host as the Orion instance". My understanding is that Orion runs in Prefect Cloud and not on my cloud.
a

Andrew Brookins

10/09/2022, 12:21 AM
Hi @Maren Elise Rønneseth ! We don't support connecting to an external Orion database from Prefect Cloud. However, Prefect can connect to a variety of systems through Blocks. So, depending on the data that you want to keep private -- other than Prefect metadata in the Orion database -- you may be able to use Blocks. https://docs.prefect.io/concepts/blocks/
👍 1