Docker is massively more lightweight than shipping AMIs.
- We build hundreds if not thousands of docker images a day after each CI commit. Thats not viable with virtual machines or AMIs.
- Docker has the union file system, so pushes and pulls of Docker images after each CI build are tiny;
- Docker is more platform independent whereas AMIs are very EC2 specific. No other cloud provider have anything as sophisiticated as AMI;
- Rollbacks are instant with Docker;
Docker can also be used in conjunction with autoscaling and resilience. We have 10+ containers on a box, but still replicate this 5 or 6 times and will possibly add EC2 AutoScaling in future. Cloud and Docker are complementary not an alternative in my opinion.
- We build hundreds if not thousands of docker images a day after each CI commit. Thats not viable with virtual machines or AMIs.
- Docker has the union file system, so pushes and pulls of Docker images after each CI build are tiny;
- Docker is more platform independent whereas AMIs are very EC2 specific. No other cloud provider have anything as sophisiticated as AMI;
- Rollbacks are instant with Docker;
Docker can also be used in conjunction with autoscaling and resilience. We have 10+ containers on a box, but still replicate this 5 or 6 times and will possibly add EC2 AutoScaling in future. Cloud and Docker are complementary not an alternative in my opinion.