77
submitted 5 months ago by [email protected] to c/[email protected]

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
[-] [email protected] 17 points 5 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.

[-] [email protected] 16 points 5 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.

[-] [email protected] 4 points 5 months ago

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

[-] Croquette 2 points 5 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.

[-] [email protected] 7 points 5 months ago
[-] [email protected] 6 points 5 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.

[-] [email protected] 6 points 5 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.

[-] [email protected] 2 points 5 months ago

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

[-] [email protected] 5 points 5 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

[-] [email protected] 1 points 5 months ago

Thanks for the reply and explanation!

[-] [email protected] 5 points 5 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

[-] [email protected] 5 points 5 months ago

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

[-] [email protected] 3 points 5 months ago* (last edited 5 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

[-] [email protected] -2 points 5 months ago

hell yeah bro let's hang out and jerk off

this post was submitted on 19 Jan 2024
77 points (94.3% liked)

Programming

16304 readers
349 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 [email protected]



founded 1 year ago
MODERATORS