5 ms·
I'm also on a 2-person project on DigitalOcean k8s, also very happy. K8s is kind of messy compared to Heroku, which I don't love, but is also way more powerful
by arcticfox 6y ago
I'm also on a 2-person project on DigitalOcean k8s, also very happy.
K8s is kind of messy compared to Heroku, which I don't love, but is also way more powerful and can be more secure. I don't know what I'd use instead of it, exactly as you said.
Also, we run a VPC-only K3s node for some simple internal tools that works great as well.
- dvcrn 6y ago> Also, we run a VPC-only K3s node for some simple internal tools that works great as well. We do exactly the same thing! We have a one-node k8s for all these dev things that just works. Everything is containerized for local dev anyway so moving it to k8s was just writing the deployment manifest. On heroku, all of these would be separate dynos (or one glued-together dyno that does everything). On a self-hosted VM we'd have to deal with managing that. I liked this approach so much that I now have a small 1-node personal cluster that hosts all of my private hobby projects that aren't ready for prime time yet, that were on heroku previously. Costs me only $10 + (persistent storage + IP address if needed)
- meigwilym 6y agoYou really should write an article detailing how all this is set up. It sounds fascinating.
- dfee 6y agoI feel like I’m witnessing two co-founding colleagues - who sit by each other day in and day out - discover the other’s persona on HackerNews. Sure, maybe you two (@dvcrn and @arcticfox) don’t work together and don’t know each other, but it’s definitely more entertaining imagining the scenario above.
- charlieflowers 6y ago“If you like pina coladas...”
- KineticLensman 6y agohttps://en.wikipedia.org/wiki/Escape_(The_Piña_Colada_Song) https://en.wikipedia.org/wiki/Escape_(The_Piña_Colada_Song)
- ashtonkem 6y agoHeroku is also very cheap on the low end. EKS costs at least $72/mo before adding compute & storage. That would get you a lot of dynos.
- Lukas_Skywalker 6y agoFor those missing Heroku: there exists Dokku [1], a small Heroku-like implementation for container management. It uses the same underlying buildpacks and you get the same comfort as with Heroku. And it's free to use. You can't deploy to multiple host machines though. But for small projects that fit on a single host, it's very nice to use. [1] http://dokku.viewdocs.io/dokku/ http://dokku.viewdocs.io/dokku/
- GOTERTHe 6y agoTried Dokku, but found CapRover [1] to be a much better / easier option [1] https://caprover.com/ https://caprover.com/
- jamil7 6y agoLooks great! considering migrating from dokku. I also came across exoframe recently which looks lower level but works with your existing docker projects https://github.com/exoframejs/exoframe https://github.com/exoframejs/exoframe
- gnud 6y agoLooks interesting - but the installation instructions put me off a bit. Open a port on your server, and don't change the default password `captain42` - then run a cli tool from your dev machine. I'll look more into it, but it didn't really inspire confidence.
- 6y ago
- gigatexal 6y agoI’m a bit dubious in the Heroku-is-less-secure-than-k8s claims
- zerubeus 6y agofor 2 person project dokku is the smartest choice