Prefect handles deployments during a workflow using its deployment infrastructure, which includes:
1.
Process: Runs the flow in a subprocess.
2.
Docker: Runs flows in an ephemeral Docker container.
3.
Kubernetes: Runs flows as a Kubernetes Job.
4.
Serverless Cloud Providers: Runs flows in a Docker container in environments like AWS ECS, Azure Container Instance, Google Cloud Run, or Vertex AI.
Deployments are registered with the API once they are called using
serve()
. They share a Python environment but can be executed and scheduled independently.
For more details, visit
Prefect's Deployment Guide.