An Astro Deployment is an Airflow environment that is powered by Astro Runtime. It runs all core Airflow components, including the Airflow webserver, scheduler, and workers, plus additional tooling for reliability and observability. There are multiple ways to create an Astro Deployment:Documentation Index
Fetch the complete documentation index at: https://astronomer-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Manually, using the Astro UI. This is the most basic way to create a Deployment and is the focus of this document. You can create a Deployment in the UI using either:
- Quick Start: (Default) Rapid creation with predefined templates for the most common Deployment types.
- Advanced configuration: Full control over Deployment details.
- Programmatically, using
astro deployment create. - Programmatically, using a Deployment template file. See Manage Deployments as code.
- Programmatically, using Astro Terraform Provider.
Execution mode
To create a Deployment, you can specify Hosted or Remote execution mode in the advanced configuration of the Deployment. Read below for a summary of the two modes and see Execution mode for more information.Hosted execution
Hosted execution mode is Astronomer-Hosted execution and orchestration for hands-off infrastructure management. Hosted is the default execution that offers a convenient, secure, and stable way to run Airflow workloads without having to manage workers in your environment.Remote Execution
This is feature is only available if you are on theEnterprisetier or above. SeeAstro Plans and Pricing.
- You need to run Airflow tasks in on-prem or edge environments without exposing inbound connections.
- Data locality and sovereignty are critical, ensuring sensitive or compliance-bound data stays in your environment.
- You want to avoid inbound firewall changes, simplifying network security by using only outbound connections.
- Your workloads require runtime flexibility, allowing execution on Kubernetes, bare metal, or other infrastructure.
- Strong isolation of secrets, data, and logs is a priority.
- You need scalability for high-throughput workflows, large-memory tasks, or GPU-accelerated AI workloads.
Cluster type
To create a Deployment, you must choose a cluster type to host the Deployment:- A standard cluster is the default cluster type and the quickest way to get an Airflow environment up and running on Astro. A standard cluster is a multi-tenant cluster managed by Astronomer where each Deployment exists in its own dedicated Kubernetes namespace. To run a Deployment in a standard cluster, you select a cloud provider and region when you create the Deployment. Then, Astro automatically creates your Deployment in an existing standard cluster based on your configuration.
-
A dedicated cluster is a single-tenant Kubernetes cluster that’s used exclusively by your team. Choose this option if:
- You need private networking support between Astro and your cloud or on-premise data services.
- You want to use a specific cloud provider or region that is not supported on standard clusters.
- You need to run Airflow environments in separate clusters for business or security reasons.
If you’re migrating to Astro from OSS Airflow or another Astronomer product, and you currently use an older version of Airflow, you can still create Deployments with the corresponding version of Astro Runtime even if it is deprecated according to the Astro Runtime maintenance policy. This allows you to migrate your dags to Astro without needing to make any code changes and then immediately upgrade to a new version of Airflow. Note that after you migrate your dags, Astronomer recommends upgrading to a supported version of Astro Runtime as soon as you can.See Run a deprecated Astro Runtime version.
Prerequisites
Create a Deployment
Open the Deployments section of the Astro UI and click + Deployment. Enter a unique Deployment Name.
To use a template, select the most appropriate card and complete the required fields. For advanced resource or execution configuration, select Switch to advanced configuration.
Switching from advanced configuration back to quick start resets all custom settings after confirmation.
When you select the Development template or enable Development Mode, you can define schedules to control when the Deployment is available for task execution. Set timezone, days of the week, and start/end times.
For advanced use cases, you can further customize details such as execution mode, executor type, and worker resources by switching to advanced configuration.
If you do not have specific requirements, the default options are suitable for most workflows.
For a complete list of available options and resource settings, see Deployment resources.