Hi! Is there an easy way to rollback a deployment ...
# ask-community
a
Hi! Is there an easy way to rollback a deployment to its previous version? I usually update the deployment and then build a new docker image, but want to rollback the deployment if the docker build or update fails.
1
a
the best solution would be to revert your commit which would retrigger the CI/CD pipeline - do you have one?
a
No I have not felt the need as the only DE/DS. So I cannot retreive previous versions from Prefect Cloud?
a
no, there is no deployment rollback, do you have version control system?
reverting the commit and rebuilding the deployment is currently the standard way to handle it, if you wish to see a different behavior, feel free to open a feature request on GitHub and we can direct this to the product team
a
Yes I use git but without CI/CD the deployment is not necessarily what is on master.
I guess setting up a CI/CD that deploys master when it's updated would not be so difficult though.
💯 1
a
exactly, we have some resources to help with that, on which platform are you? AWS, GCP, Azure?
a
on azure
a
check resources on Discourse from Ryan
1