<@ULVA73B9P> do you use workpools with static infr...
# ask-marvin
m
@Marvin do you use workpools with static infrastructure?
m
To give you the most accurate answer, I'll need to know which version of Prefect you're using, as the features and syntax may differ. Could you please specify if you are using Prefect 2.x or 3.x?
m
@Marvin 3.x
m
In Prefect 3.x, work pools are designed to connect the Prefect orchestration layer with the infrastructure where flows are executed. While they are often used for dynamic infrastructure provisioning, they can also be configured to work with static infrastructure. Here's the gist: work pools allow you to manage flow execution across various environments, whether static or dynamic. You can set them up using the Prefect UI, CLI commands, REST API, or even Terraform for Prefect Cloud. While work pools are ideal for dynamic setups, they are versatile and can be a part of static infrastructure configurations too. For more detailed information and configuration options, you can visit the Prefect 3.x documentation on work pools. I hope that makes your coding life a bit less like Marvin's—perpetually waiting for something interesting to happen!
n
hi @Michael Natkin - to directly answer the question: usually no work pools are most helpful when you want dynamic dispatch of infrastructure, you might want to check out this page of the docs