Re:Production Quality MongoDB Setup with Docker
by nickstinemates on Saturday September 28, 2013 @11:35PM
(#6464014)
You pretty much just defined the goal of Docker. And it's already incredibly close to what you describe.
[ Parent
| on HN ]
Re:Production Quality MongoDB Setup with Docker
by gmonaco on Saturday September 28, 2013 @11:44PM
(#6464037)
Right. So when can I write:
shards = []
boot 'ec2', 'us-east-1', (server) ->
shards.push server.start 'mongod_docker_image'
boot 'ec2', 'us-west-1', (server) ->
shards.push server.start 'mongod_docker_image'
setTimeout ->
shard.stop() for shard in shards
, 5 * 60 * 1000
Does this exist yet? I started writing my own earlier today with Docker because I haven't found anything yet.The plan is to cook a single ami that can be deployed ad infinitum. The image only has a slave application on it that receives and runs Docker images.
Re:Production Quality MongoDB Setup with Docker
by nickstinemates on Sunday September 29, 2013 @12:32AM
(#6464139)
Pretty much.
A Docker AMI Generator exists. DigitalOcean offers an out of box Docker host. OpenShift will replace cartidges with Docker. OpenStack can provision Docker containers. Other PaaS/IaaS are in the works.
Running a registry is as simple as `docker run samalba/docker-registry`.
Pushing to that registry is very simple, especially if you have a reverse proxy ( I use hipache. Mine is registry.stinemat.es )
So, assuming those first 3 are in use in a 'convenient' way (as defined by you) - your request exists today. That matter of convenience will grow.
Re:Production Quality MongoDB Setup with Docker
by jjsz on Sunday September 29, 2013 @02:16AM
(#6464308)
I would like to test out clustering and distributed computing on the cheap with a group of friends. So I would like to replicate an IaaS/PaaS/SaaS stack with vagrant-mesos-docker. I can then update my friends applications, OSs, and use their extra storage for a VPN service?