Live data from Hacker News

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

news.ycombinator.com

71–80 of 82 posts

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

#72

I self-host on a 3-node Kubernetes cluster in my basement. It runs on three off-lease HP DL360 1U servers that I bought for about $120 each. I work heavily with Kubernetes in my day job, so this also gives me a playground for things that I may need to know about for work, or also things I'll _never_ need in my day job, but are good learning opportunities anyway. I have an overspecced solar install on my roof that mak…

> ...I have an overspecced solar install on my roof that make the electricity used by the cluster essentially free to me, so the only recurring cost is business-class Internet service...

That's what i call living the dream! Nice!

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

#73

I deploy to a virtual machine. I use Ansible to set up the machine and install a container runtime, then i set up traefik + containers using Ansible and docker compose files. If I ever do need to scale it's easy to switch to docker swarm which is quite capable. It's also easy to deploy the full stack somewhere else quickly. I wish it was easier to do firewall configuration when using docker, since it basically occupi…

Have you thought about using a single node Docker Swarm? That gives you benefits such as healthchecks for containers so unhealthy containers are replaced, support for rolling upgrades and some other goodies like secrets and configs managed by swarm.

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

#74
Pretty much the same as our goto for projects at work: Hetzner + Docker (Swarm) with some Ansible to orchestrate things

We have built some automation around cluster management over at https://github.com/neuroforgede/swarmsible.

I used to do everything in ansible, but Docker Stacks are just so much nicer to use.

In any case automation is king. I don't have to remember stuff if I can just look at some IaC Code :).

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

#75
post #34
post #14

Hetzner 5€ vps with nginx as reverse proxy

However, currentlly I'm migrating to Oracle free vps (4CPU, 24GB ram)

I would like to try Oracle but those offers aren't sustainable so I don't trust any of the pricing they currently have

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

#76
post #24

Earlier quoted context omitted.

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 a…

I'm in the middle of migrating off Tanka's predecessor ksonnet to pure Helm at $work because the migration effort was deemed too challenging :cry: Did you use ksonnet before?

I didn't. Before Tanka we had built our own Jsonnet based system that shelled out to kubectl apply, we also had our own Jsonnet libraries.

When I started using Tanka I picked up the version of the ksonnet k8s lib that is managed by Grafana now.

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

#78
I mostly use DigitalOcean and their managed kubernetes service. My projects tend to be self-contained in a monorepo (where my k8s manifest also live) and I use Flux* to keep my cluster in sync. I'm quite happy with, took a bit of time to get it set up exactly how I wanted, but now it's no-effort to do releases.

* https://fluxcd.io/

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

#79
Hi, there! I've been working on my own Blockchain project, since my knowledge on the topic is not so vast, I had to search some Blockchain pages that would help to launch my project.

I recently used a blockchain page called "Rather Labs" to help me launch my own blockchain-based project, and I was very impressed with their service.

The page offers a range of tools and resources, including tutorials and guides on topics such as smart contract development, token creation, and crowdfunding, as well as access to a community of experts who can provide advice and support.

Additionally, Rather Labs (https://www.ratherlabs.com) offers a range of services, including technical support, project management, and legal assistance, to help ensure the success of your project. I found the team at Blockchain Deployer to be very knowledgeable and helpful, and they were instrumental in helping me deploy my project successfully. Overall, I highly recommend Rather Labs to anyone looking to create their own blockchain-based project.

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

#80

I deploy to a virtual machine. I use Ansible to set up the machine and install a container runtime, then i set up traefik + containers using Ansible and docker compose files. If I ever do need to scale it's easy to switch to docker swarm which is quite capable. It's also easy to deploy the full stack somewhere else quickly. I wish it was easier to do firewall configuration when using docker, since it basically occupi…

Have you thought about using a single node Docker Swarm? That gives you benefits such as healthchecks for containers so unhealthy containers are replaced, support for rolling upgrades and some other goodies like secrets and configs managed by swarm.

Yup, I do that as well, my ansible scripts can provision either a single node swarm or regular docker on a host, both using traefik. Mostly even swarm is overkill for us though.
Post reply on HN