3 ms·
If you take the steps for, say, AWS, of building a new AMI for every role you have, then it's pretty much the same. (but in my experience with building AMI's,
by vidarh 12y ago
If you take the steps for, say, AWS, of building a new AMI for every role you have, then it's pretty much the same.
(but in my experience with building AMI's, that process is way too slow compared to Docker)
Docker becomes closer to declarative when you build static Docker images for every role and rebuild for every change and re-deploy. Even more so when your deployment is based on a tool like Fleet that declaratively specifies your cluster layout.
The point is to avoid ever having situations where you say "install package foo on all webservers". Instead you say "replace all webservers with a bit-by-bit identical copy of image x".
The benefit is that you can have already tested a container that is 100% identical, and know that the deployed containers will be 100% identical, rather than hope the commands you pass to the config tool handles every failure scenario well enough.
- nailer 12y agoThanks, that's a good answer.
- zwischenzug 12y agoI blogged on automating deployment to AWS with Docker here: http://zwischenzugs.wordpress.com/2014/08/09/using-shutit-and-docker-to-play-with-aws-part-one/ http://zwischenzugs.wordpress.com/2014/08/09/using-shutit-an... http://zwischenzugs.wordpress.com/2014/09/15/using-shutit-and-docker-to-play-with-aws-part-two/ http://zwischenzugs.wordpress.com/2014/09/15/using-shutit-an...