81
submitted 11 months ago by gianni@lemmy.ml to c/programming@programming.dev

In recent times, my opinion about self-hosting has changed. Instead of paying for multiple services, I am now renting a decently sized VPS on Scaleway, and hosting all my projects on them. It’s been three months, and it has been working out great for me.

top 14 comments
sorted by: hot top controversial new old
[-] nottelling@lemmy.world 18 points 11 months ago

Instead of paying for multiple services, I am now renting a decently sized VPS on Scaleway, and hosting all my projects on them.

That's not self hosting. That's moving your managed services down the stack from PaaS to IsaS.

It's an unserious take on the impacts as well. No discussion of availability? Backups? Server hardening and general security? Access and authentication models? Sysadmin on aVPS is more than "running a bunch of commands now and then", and the author ignores that entire workload.

[-] Illecors@lemmy.cafe 16 points 11 months ago

I will applaud anything embracing self hosting, but I feel like author is forgetting the experience gained during those years. Things have been simple for way longer than docker existed.

[-] expr@programming.dev 5 points 11 months ago

Yeah, sounds like they may not have been very comfortable with the tools. Which is fine, but nothing has really changed.

[-] Croquette@sh.itjust.works 2 points 11 months ago

I think that what changed is that more people gained more experience, and of those people, a lot like to share their knowledge.

So the wealth of information and workaround is much bigger now. It makes it easier to get into devops, even though it hasn't dramatically changed over the years.

[-] Michal@programming.dev 7 points 11 months ago
[-] noli@programming.dev 7 points 11 months ago

Nope, IaaS. With a VPS you are in charge of everything except for the hardware. PaaS the only thing you're in charge of is your code.

[-] sum_yung_gai@lemm.ee 6 points 11 months ago

Great writeup! I've been doing a project with a 2gb 1vcpu vps as my host and one compose file. It is so much simpler than past project that I used aws for.

[-] detalferous@lemm.ee 2 points 11 months ago

Can you share any specifics about your compose file and how it's structured?

[-] sum_yung_gai@lemm.ee 5 points 11 months ago

I've got 4 services, mongo, mongo express, my web service and traffik. When I want to deploy I git pull master then docker compose up -d --build

[-] detalferous@lemm.ee 1 points 11 months ago

Thanks for the reply and explanation!

[-] RonSijm@programming.dev 5 points 11 months ago

PaaS takes away your flexibility: [...] sometimes, you also want to use the compute to run cron jobs, run background jobs, or host a small service. With PaaS, you don’t have the flexibility to do so. [...]

I don't really agree with that. I'm using AWS for that, and for my "small cron jobs" I simply create a lambda for them. Then you can create a CRON rule in Event Bridge and schedule the lambda to start whenever you need

[-] andyburke@fedia.io 5 points 11 months ago

Amen, I am migrating back to self-hosted as much as I can.

[-] pkill@programming.dev 4 points 11 months ago* (last edited 11 months ago)

endorsing cloudflare

stop it, get some fail2ban, rate limiters and POW

https://git.kescher.at/dCF/deCloudflare/src/branch/master/subfiles/rapsheet.cloudflare.md

[-] nutsack@lemmy.world -2 points 11 months ago

hell yeah bro let's hang out and jerk off

this post was submitted on 19 Jan 2024
81 points (94.5% liked)

Programming

17674 readers
141 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS