Live data from Hacker News

Ask HN: How do you deploy your side-projects?

news.ycombinator.com

21–30 of 82 posts

Re: Ask HN: How do you deploy your side-projects?

#23
I deploy to actual VPCs, the old way. No containers. No PaaS. Just get a Linux machine with a static IP and install. I use ansible to automate the deployment.

If I need some storage of undefined quantity, in the case of say image uploads, I might bring in S3 (or equivalent) service. But other than that, just a VPC.

Re: Ask HN: How do you deploy your side-projects?

#24

Digital Ocean's managed Kubernetes offering has been great for me. There's lots of potential complexity to K8s, but if you're not managing the cluster and you have simple workloads the ratio of "stuff you have to learn" to "benefits you get" is pretty high. You can deploy anything that runs in a container, so it's really good for experimenting and not being tied down to one language or platform. I can add a new servi…

If you are going down the k8s path and want to learn both a cool config language and make it easier to be able to deploy abitrary things in a more consistent way I suggest checking out Jsonnet and Tanka.

This combination allows me to make use of Helm charts, off-the-shelf YAML and custom Jsonnet in a cohesive way.

It's probably overkill for personal projects but I picked up the stack in a previous professional role and for me it's scaled down well enough.

Re: Ask HN: How do you deploy your side-projects?

#25
Check https://dokku.com. Easy to set on your VPS, support Heroku buildpacks and almost-zero-to-none management (assuming you update your server from time to time). And you get Heroku-style deployment.

Running some projects with it for the last 5-6 years and had couple of Dokku versions upgrades - zero issues so far.

Re: Ask HN: How do you deploy your side-projects?

#29

Cloudflare Workers is a big time saver for my side projects. I don’t use JavaScript/TypeScript/WASM at work, but it’s been great.

How do you deal with persistant data? What DB service etc?

Workers has a few persistent options.

KV is the obvious one but Durable Objects themselves have interesting persistence properties. There is a sqlite DB service called D1 landing and there is an object service called R2 which is is actually really nice. Also there is a new queuing service which is also fully persistent, even if queues are a non-traditional persistence mechanism.

However Workers is a strange runtime and has strange billing/pricing. I wish there was better visibility into the "bundled" vs Unbound pricing models, namely I wish it could just tell you how much it would cost if you switched from bundled (this bitching could be specific to Enterprise plans though so YMMV).

Overall I'm pretty happy with it in a professional context. Cloudflare's network is second to none. The rest of their stuff... I could do without but Workers and the world's best edge makes up for it's other shortcomings.

Post reply on HN