5 ms·
So if you know Docker, you shouldn't know how to do things without a container?
by abraham_lincoln 8y ago
So if you know Docker, you shouldn't know how to do things without a container?
- manigandham 8y agoNobody said that. But yea, when using Docker already, why not? It's quick and easy compared to all the alternatives.
- toomuchtodo 8y agoIt's not easier than pushing a static site up to a CDN. Let someone else do the work until you're using actual compute. EDIT: Others are already expressing my point, that this is overkill for a blog.
- manigandham 8y agoThat's entirely different than what this thread is about. Many different ways to build and host a site, although many would find it simpler to just run Ghost or Wordpress and have the GUI for their posts. You can still use a CDN in front of a very tiny VM. Some new blog engines even support running on serverless/FaaS platforms for every easier deployments, and once FaaS evolves into just running Docker containers then the circle will complete and we'll have the best of everything.
- abraham_lincoln 8y agoWhy add an additional layer of abstraction? Really, you don't even need Ansible. Just ssh into the box, apt install nginx, run the Let's Encrypt script and install Ghost.
- peterwwillis 8y agoThe docker-machine command creates the droplet for you, and then docker-compose runs everything for you. It's two commands and one config. It's repeatable, automated, fast, simple, and complete. But, sure, you could do it in a more complicated way, or a more manual and time consuming way that isn't documented or automated. I think that's called the "job security" method.
- abraham_lincoln 8y agoHow many static blogs are you deploying? Shouldn't we also be using k8s to orchestrate all the blogs?
- deleted 8y ago[deleted]
- akvadrako 8y agoYes, k8s would make it even easier, if you had access to a hosted k8s cluster. But that isn't what DigitalOcean provides.
- icebraining 8y agoIt does now: https://www.digitalocean.com/products/kubernetes/ https://www.digitalocean.com/products/kubernetes/
- deleted 8y ago[deleted]
- deleted 8y ago[deleted]
- bisby 8y agoIt's less about "why would I use ansible?" and more about "why wouldn't I use docker?" That heavily depends on if this is a "learn new tech" thing or not. Some people view setting up a blog as a challenge to solve, and some people just want a blog up and running so they can write. And if this does it in a simple to follow guide that is reliable, the tech behind it doesn't really matter.