Learn how Prefect runs deployments on Prefect’s infrastructure.
deploy
method or prefect.yaml
.
Specify the name of your managed work pool, as shown in this example that uses the deploy
method:
job_variables={"pip_packages": ["pandas", "prefect-aws"]}
in your deployment creation like this:
requirements.txt
file and reference it in your prefect.yaml pull step.
source
address for requests interacting with your system or database.
Include these source
addresses in your firewall rules to explicitly allow flows to communicate with your environment.
184.73.85.134
52.4.218.198
44.217.117.74
prefecthq/prefect:3-latest
.
However, as noted above, you can install Python package dependencies at runtime.
If you need to use your own image, we recommend using another type of work pool.
PENDING
to COMPLETED
.