Prefect Recipes¶
Prefect recipes are common, extensible examples for setting up Prefect in your execution environment with ready-made ingredients such as Dockerfiles, Terraform files, and GitHub Actions.
Recipes are useful when you are looking for tutorials on how to deploy an agent, use event-driven flows, set up unit testing, and more.
The following are Prefect recipes specific to Prefect 2. You can find a full repository of recipes at https://github.com/PrefectHQ/prefect-recipes and additional recipes at Prefect Discourse.
Contributing recipes¶
We're always looking for new recipe contributions! See the Prefect Recipes repository for details on how you can add your Prefect 2 recipe, share flow best practices with fellow Prefect users, and earn some swag. See the Contributing Recipes page for a guide on creating a good recipe.
Recipe catalog¶
Configure Prefect on Azure with Kubernetes, running a Prefect agent to execute deployment flow runs.
Run a Prefect 2 agent on ECS Fargate using the AWS CLI.
Run a Prefect 2 agent on ECS Fargate using Terraform.
Set up an Azure VM and run a Prefect agent.
Deploy a Prefect flow with storage and infrastructure blocks, update and push Docker image to container registry.
Create a deployment with GitHub as a storage and Docker Container as an infrastructure
Deploy Prefect Orion to an Azure Kubernetes Service (AKS) Cluster with Azure Blob Storage.
Execute Prefect flows in an AWS Lambda function managed by Chalice.
Deploy a Prefect agent to AWS ECS Fargate using GitHub Actions and ECSTask infrastructure blocks.