Live data from Hacker News

Ask HN: How do you deploy your weekend project in 2022?

news.ycombinator.com

41–50 of 50 posts

Re: Ask HN: How do you deploy your weekend project in 2022?

#41
For productive sites / services I use a VPS (Vultr) mostly because backups and rollbacks are completely painless which is awesome when you manage everything yourself. Instead of container I just use phusion passenger. Kiss.

I also have 2 dedicated one from a small reseller, one from Kimsufi. They run heavy services like monitoring and additional backups essentially everything where I don't care about 100% uptime.

All public downtimes I've had in the last 4 years or so we're 100% my fault.

Edit:// Its less than $100 for several million page views and some heavy monitoring.

Re: Ask HN: How do you deploy your weekend project in 2022?

#45
post #35

Bare metal from the likes of Hetzner for most things. Serverless for some small components which benefit from global distribution. I currently have ~30 containers running on a Hetzner server w/ 64GB of RAM and 16 dedicated cores for ~$25/mo. I even get direct access to the Intel iGPU for graphics acceleration at no additional cost. Cloud providers like AWS give you a couple orders of magnitude less resources for the…

Found the same thing when was comparing AWS/Azure to fixed prices providers. When I then looked into it further I found AWS/Azure provided “recommendations” when you selected “production” workloads which was grossly overpriced. Hetzner Cloud I found is a good balance between price and convenience. SSH + Docker compose makes for a simple deployment process. Related write up here: https://servicestack.net/blog/finding-…

> SSH + Docker compose makes for a simple deployment process.

Ubuntu 22.04 ships with support for microk8s.

https://microk8s.io/docs/getting-started

This means it's trivial to setup a kubernetes cluster with Hetzner+Ubuntu.

Re: Ask HN: How do you deploy your weekend project in 2022?

#46

Bare metal from the likes of Hetzner for most things. Serverless for some small components which benefit from global distribution. I currently have ~30 containers running on a Hetzner server w/ 64GB of RAM and 16 dedicated cores for ~$25/mo. I even get direct access to the Intel iGPU for graphics acceleration at no additional cost. Cloud providers like AWS give you a couple orders of magnitude less resources for the…

Any idea what the Hetzner equivalent in the US would be?

> Any idea what the Hetzner equivalent in the US would be?

That would be Hetzner.

https://www.hetzner.com/news/11-21-usa-cloud

Re: Ask HN: How do you deploy your weekend project in 2022?

#47

Bare metal from the likes of Hetzner for most things. Serverless for some small components which benefit from global distribution. I currently have ~30 containers running on a Hetzner server w/ 64GB of RAM and 16 dedicated cores for ~$25/mo. I even get direct access to the Intel iGPU for graphics acceleration at no additional cost. Cloud providers like AWS give you a couple orders of magnitude less resources for the…

What option is this? I see 4 core options reaching ~$20

Check server auctions. You can buy out someone else's lease. Pricing and availability depends on supply and demand.

I used to pay $45 for the same specs, until I found this offer and migrated.

Re: Ask HN: How do you deploy your weekend project in 2022?

#48

Buy a $1/year domain. Buy a $1/mo cpanel-based hosting (php+mysql+nodejs+python included), scale as needed, depending how much the traffic it gets (well, most of the time my weekend project is not accepted by the market.. haha)

Where do you register 1$ domains?

Re: Ask HN: How do you deploy your weekend project in 2022?

#49

We just posted our first Show HN ever with your exact same setup, but s/python/go. If you're running it in Docker, then this might work for you too: 1) CloudRun ( run a Docker container exposing a port to the web ) It can autoscale. 2) CloudSQL ( managed Postgres and some other SQL choices ) We faced some friction getting the two connected. CloudSQL is available on an IP address, then in our code we have PSQL library…

Thanks for sharing these.

Re: Ask HN: How do you deploy your weekend project in 2022?

#50
post #7

I usually just use terraform to deploy to AWS with some additional scripts to rsync files from the CI/CD pipeline. At this point I just have a template to do it and reuse it in my various projects. If I don't need a server, I usually just use the Serverless framework.

Can you please explain how/why terraform is used?
Post reply on HN