Customer-created database users
Customer-created database users
Customer-created database users
This page covers the database setup required when you choose the Customer manages users model for data plane failover. In this model, you create the per-Deployment login roles yourself, and Astro Private Cloud (APC) still needs the privileges it uses to fence those roles during failover.
For the high-level overview and the alternative APC manages users model, see Per-deployment database users.
For every Apache Airflow Deployment, APC requires the following on the Deployment’s metadata database:
CONNECT privileges between the two login roles during failover.You create the two login roles per Deployment (one per data plane cluster) and grant them CONNECT on the metadata database.
For a Deployment whose metadata database is airflow_db_<deployment> and whose per-data-plane login roles are dp1_user_<deployment> and dp2_user_<deployment>, the full setup is:
Replace commander_user with the deployment orchestrator database user configured for your APC installation, and <deployment> with the identifier you use for each Airflow Deployment.