Lab 104 Instructions - Let’s make one of our weath...
# pacc-nov-19-20-2024
e
Lab 104 Instructions • Let’s make one of our weather forecast workflows more powerful • Create a deployment with .deploy() that uses a Prefect Managed or Process work pool. Reminder, Managed is Prefect Cloud only • Create work pool from the UI ◦ Create a deployment that references flow code stored in your own GitHub repository ▪︎ Use your earlier fetch weather flow if you like ▪︎ ️Push your code to your GitHub repo manually ◦ If using a Process work pool start a worker to pick up scheduled flow runs ◦ Run it! 🚀
sonic 1
Stretch 1: Pause and resume the work pool from the UI. • Stretch 2: Experiment with adjusting fields in a work pool base job template. • Stretch 3: If you have Docker installed: ◦ Create a deployment where you bake your flow code into a Docker image with .deploy(). ▪︎ Don’t push the image (or log in + push to DockerHub). ◦ Don’t forget to: ▪︎ Start Docker on your machine ▪︎ Create a Docker work pool