https://prefect.io logo
Title
n

Nicholas Torba

05/09/2023, 1:51 PM
Hi Prefect, I'm starting to have to manage a bunch of different deployments for different environments. Multiple for local, dev, prod, and staging environments. Does the community have any good resources for good strategies to manage of all these?
a

alex

05/09/2023, 1:54 PM
Hey @Nicholas Torba! We have been working on an experience to manage multiple deployments call projects that is currently in beta. If you like to try it out you can check out this

quick tutorial

and check out the docs for more information. If you have any feedback or questions while trying out projects let us know!
👍 1
n

Nicholas Torba

05/09/2023, 2:03 PM
thanks! I'll check that out today
@alex I'm trying to follow the example but running into an issue when creating my first deployment:
(amplify) nick@nick-Laptop:~/Documents/GitHub/djangoproject$ prefect deploy ./pandas_flow.py:call_api -n my-first-deployment -p local-work
Cannot deploy project with work pool of type 'prefect-agent'.
looks like I can't create a work pool with any other type besides prefect agent
oh nvm, i just can't edit a currently made one
@alex projects can only use workers? not agents?
also, not sure if this is best place for feedback, but I find myself confused by the
deployment.yaml
file never getting used in this example: https://docs.prefect.io/latest/tutorials/projects/#dockerized-deployment
one more question: can you share the roadmap for how long projects and workers are scheduled to be beta features? Makes me nervous to start using them now if there are going to be breaking changes soon
a

alex

05/09/2023, 5:42 PM
• Yes projects can only be used with workers • You can specify a deployment entirely via the CLI which is what the tutorial does. If you want to specify multiple deployments and deploy them with a single command, then you would declare your deployments in
deployment.yaml
• We don’t have an exact timeline for when projects and workers will exit beta, but we will announce when they are no longer in beta.