3 ms·
That works if you have physical access to the machine/vm. What about EC2? Linode? Digital Ocean? etc.
by emeraldd 12y ago
That works if you have physical access to the machine/vm. What about EC2? Linode? Digital Ocean? etc.
- corford 12y agoFair point. I guess for serious stuff I just find it bizarre that you'd want to run a load of containers in a vm (rather than just spooling up additional dropelts or linode instances). For non 'weekend project' stuff, surely it's cheaper and more efficient to lease a dedicated server and stick your own vms on that?
- tethra 12y agoIt almost certainly is cheaper, but it's more than some are willing to learn to do, I guess.
- eropple 12y agoAt Localytics, we wouldn't need to lease a dedicated server. We'd need to lease dozens. And we'd need to have the ability to spin up new hardware to accomodate more load in a minute or two. You don't get that with physical hardware unless you want to overpay. We could overpay for depreciating plant assets or we could overpay for variable costs that we can more directly control. The latter makes sense to us.
- corford 12y agoOk, that makes sense. For your workload (large and elastic), I guess I can see the advantage of using docker to quickly provision a newly created vm (assuming the vm's role is completely provided for by just that one container).
- eropple 12y agoTotally. As mentioned in my other comment, it can also let us deploy a bunch of applications on the same virtualized node really quickly via Mesos or Flynn or whatever. That said, I use Docker at home too[1] because it does make thinking about things easier. I dump my blog in a thin container not because I urgently desire security (though with Wordpress I kind of do worry...), but because it lets me develop and deploy using the same tools. [1] - http://edcanhack.com/2014/07/docker-web-proxy-with-ssl-support/ http://edcanhack.com/2014/07/docker-web-proxy-with-ssl-suppo...
- geekbri 12y agoIsn't it just as much about deployment though? The thing about docker is that deploying your new app basically means stopping your running instance and starting a new one. You actually don't even NEED to stop the current running one if you have something above it that just knows which instances / ports to route traffic to. I think docker is about ease of deployment. You still use the same server you just run a different command. As opposed to creating a new image and spinning up said image. You can imagine roll back / migration is pretty easy in this case.
- mmgutz 12y agoAll of those have simple REST APIs to setup/teardown instances. Libraries exists for popular languages like node, ruby, java, etc.