This feature is only available if you are on the Enterprise tier or above. See Astro Plans and Pricing.
Airflow 3This feature is only available for Airflow 3.x Deployments.
- Astro Runtime images: Astronomer’s managed distribution of Apache Airflow, powering all Deployments on Astro. This image runs in the orchestration plane.
- Remote Execution Agent images: Specifically built for Remote Execution Agents. This image runs in the execution plane.
For details about Astro project image deploys with Remote Execution, see Deploy an Astro project.For best practices and procedures to upgrade your Astro Runtime version, including for Remote Execution Deployments, see Upgrade Astro Runtime.
Prerequisites
- The Astro CLI.
- An Astro Workspace with at least one Remote Execution Deployment.
You can build and push a Remote Execution Agent image before you register a Remote Execution Agent.
astro remote deploy only requires your Remote Execution Deployment to exist.- A remote Docker registry accessible from the environment where your Remote Execution Agents run.
Build and deploy your Remote Execution project
1
Create a Remote Execution project
Run:This generates the required files for building client images.
If you omit
--remote-image-repository, you can configure it later with:2
Review generated files
Dockerfile.client– Dockerfile for client imagesrequirements-client.txt– Python dependencies for client imagespackages-client.txt– OS-level packages for client images
3
Configure dag access
Set up dag access for your Remote Execution Agents using either
LocalDagBundle or GitDagBundle.
Update your Agent’s Helm chart values.yaml accordingly. See Dag bundles.4
Sign in to your remote Docker registry
Before you can deploy a Remote Execution Agent image, you must be signed in to your remote image registry.
The Astro CLI does not manage authentication for your registry.Sign in using:Replace
<remote-registry> and <registry-username> with the details for your registry.5
Build and deploy the Astro Deployment image (orchestration plane)
From your project directory, deploy the Astro Runtime image to your Astro Deployment:This command builds your project and pushes the updated Astro Runtime image to Astro, updating the Airflow components in your managed Astro Deployment.Monitor the Deployment to confirm that the new version is running in the Astro UI.
6
Build and deploy Remote Execution Agent (execution plane) images
From your project directory, run:You can use additional flags as needed, such as:
7
Update Remote Execution Agents to use the new image
After pushing the Agent image, you must update your Agent configuration to actually use it:Agents will not use the new client image until this update is performed.
- Edit your Agent Helm chart
values.yaml. - Update the
imagefield for each of theworker,dagProcessor, andtriggerercomponent sections to the new client image reference (as just pushed). - Apply the changes by running:
CI/CD pipelineIf you manage your Agent deployments via a CI/CD pipeline, update your pipeline to set the new client image in the Helm
values.yaml file, and trigger the deployment process to roll out the change automatically.
This ensures that updates to the client image are reliably applied across all agents without manual intervention.