DEV Community

Discussion on: Automating your infrastructure deployments

Collapse
 
ferricoxide profile image
Thomas H Jones II

Let's review some of the risks:

You missed "dependency hell". Nothing quite like doing a re-deploy to get the code you were updating into production only to find that one of your project's upstream dependencies changed ...in a way that breaks everything.

Yeah, ideally, you catch that by having a pre-deployment testing task, but depending on how much time elapses between your testing-deployment and your "real" deployment, one of your upstream, internet-hosted projects may have changed. Only real way to guard against it is to create local, semi-static mirrors of all your upstreams.

Collapse
 
fedekau profile image
Federico Kauffman

I agree that this can happen, but it can happen in almost every setup. But as you said you could solve it, it is not an unsolvable problem. Thanks for mentioning that! ☺

Collapse
 
ferricoxide profile image
Thomas H Jones II

Like many things, the most well-learned lessons come as a side-effect of a bloodied nose. =)