You can enable DR when creating a new dedicated cluster on AWS through the Astro UI. See Create a dedicated Astro cluster for configuration steps and field descriptions. After the cluster is created, complete the required steps after enabling DR before triggering a failover.
Terraform support for DR cluster creation are planned for general availability (GA).
DR cluster creation is also supported using the Astro API.
To enable DR on an existing dedicated AWS cluster, submit a support request through the Astro UI. Astronomer processes the request during your specified maintenance window.
organization.clusters.update permissionYou can open the form in two ways:
Complete the following fields:
Running, scheduled, and event-triggered tasks are affected during the maintenance window. Tasks may fail and require a retry. Plan for 1-2 hours of downtime during the maintenance window.
The conversion process has two phases:
Enabling DR incurs additional Astro credits. Secondary cluster resources and data replication incur ongoing charges based on your cluster configuration.
Disabling DR deprovisions the secondary cluster and deletes all compute and data stores in the secondary region. This stops data replication and can’t be undone without re-enabling DR.
Disabling DR is also supported using the Astro API.
organization.clusters.update permissionThis action is irreversible without re-enabling DR. Ensure you no longer need cross-region failover capability before disabling DR.
After Astronomer creates the secondary cluster, complete the following steps before triggering a failover:
imagePullSecrets on the secondary cluster. See Pull images from a private registry.ASTRONOMER_IS_DR_ENV environment variable for secondary-specific connections or configurations. See Prepare Dags for disaster recovery.