maximz

Joined 15 years ago

Karma
378
Submissions
39
Member since
Dec 14
http://maximz.com
View on Hacker News

Recent submissions

Comment · 7 months ago
Comment · 8 months ago
Comment · 9 months ago
Comment · 10 months ago
Comment · 2 years ago
Comment · 6 years ago
Comment · 9 years ago
Rent a server: do you mean dedicated hosting or something else?
Comment · 10 years ago
I may have what you're looking for: I've been working on exactly this problem, because I grew tired of the headaches from maintaining a "snowflake server" (http://martinfowler.com/bliki/SnowflakeServer.html), which I configured once in the past and would be very difficult to reproduce.

Here's a super-simple Docker host stack I put together that you can install on a cloud machine fairly easily. It runs Docker containers, does automatic backups, and has monitoring and alerting built-in. I've run around 5 webapps, split between 10 containers, on this infrastructure for about 6 months with significantly fewer headaches. Monitoring alerts go straight into a personal Slack channel.

The implementation is deliberately low-level -- you'll be running bare docker commands -- because the goal is to have a trivial infrastructure and to learn Docker in the process. There's no reliance on the "magic" in big wrappers like Kubernetes. Because there's nothing fancy in here, it's simple to understand and use.

My write-up is rough around the edges right now, but eventually this will turn into a simple blog post with an Ansible playbook attached. Here's a rough draft of how to set it up manually: https://github.com/maximz/docker-host/blob/master/public_doc...

There's an nginx reverse proxy fronting the Docker containers. You can do a zero-downtime deploy pretty easily. Happy to answer any questions if they arise.

Comment · 11 years ago
Comment · 13 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton