News for hackers. Stuff that matters.
Re:AWS Elastic Beanstalk for Docker by tszming on Thursday April 24, 2014 @12:30AM (#7638516)
IMO, docker is less useful when you are on a cloud platform like AWS since you already can pack and ship your application as AMI, they even have a marketplace for this: https://aws.amazon.com/marketplace. One of the exceptions I can think of why you really need to run docker inside ec2 is you want to build a PaaS or something like memcached as a service, since it is expensive to give every customer to own a dedicated instance.

Honestly, I would prefer to run as many small/medium instances rather than a powerful instance but to host many dockers inside it, because if you put all the eggs in one basket and when then host machine is down, you are having a bigger problem; if you host a single docker on an ec2 instance, and as I said before, you can already solve this via AMI without the overheads/abstraction.

Of course, it is still very useful to run docker on a physical machine when you don't want to setup KVM or mess up with OpenStack.

Re:AWS Elastic Beanstalk for Docker by benjaminwootton on Thursday April 24, 2014 @01:29AM (#7638643)
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.

Re:AWS Elastic Beanstalk for Docker by dmourati on Thursday April 24, 2014 @12:43AM (#7638549)
Cool. This analysis is similar to my thoughts. Still trying to get educated and reached out to the docker fellow below for more info.

Big fan of packer.io + AMI / Virtualbox / GCE for this.

See generally: http://www.infoq.com/articles/virtual-panel-immutable-infras...

Re:AWS Elastic Beanstalk for Docker by robszumski on Thursday April 24, 2014 @01:27AM (#7638639)
Sounds like you might be a perfect candidate for CoreOS. fleet allows for single-purpose containers to move around a cluster. It supports all of the platforms that you mentioned (AWS, Openstack, KVM and bare metal).