this post was submitted on 26 Apr 2024
248 points (91.9% liked)

Programming

17352 readers
236 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
 

For most personal projects, hosting on the cloud may be overkill, but tempting with its supposed ease of use and benefits of scale. Self-hosting is often overlooked as a solution with the benefit of simplicity and cost.

Interesting discussion and demonstration of self hosting the kinds of apps most personal projects will end being.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 6 months ago

I think this is an excellent video and I love the format of walking through a complete on-prem deployment.

My only criticism is the attack on "the cloud" as a whole. You can choose your level of abstraction, from a computer in the cloud (like EC2) to managed services (like EB). Personally I don't want to deal with hardware, so I use a Compute instance on Oracle cloud (free tier). The rest of my setup is similar to the author's.

[–] [email protected] 4 points 6 months ago

When you know something, it is tempting to tell others that it is easy. But it is not. I am no tech guy but i can install things like wordpress, webshops, forum etc on a webserver.

I have been scratching the surface of self hosting an really having a hard time even getting started!

[–] [email protected] 10 points 6 months ago (1 children)

I just want something easy and painless for self-hosting, not wrangling tons of YAML to get an nginx proxy to point to the services I have to manually setup requiring more YAML and more hand-configuration. And then I still have to think about backups, and honeypots, and logs, and and and and.

Of course companies don't want to have to deal with that shit either. Plus they don't want to have to host their own datacenter, worry about physical security, or network issues, or setting up physically in another country, and a bunch of other stuff. The cloud is supposed to be easier, but because there are so many customers with so many different usecases, shit becomes complicated.

Anti Commercial-AI license

[–] [email protected] 7 points 6 months ago

I never liked the cloud from an efficiency and security standpoint. It's just a physical location somewhere else, which causes problems.

[–] [email protected] 32 points 6 months ago (2 children)

I selfhost for 2+ years and it is both a job and really cool. We‘re not at real consumer self hosting yet imo but we‘re close.

My setup is around 50 docker containers on two servers. Important (offline) and security conscious stuff at home and fediverse services on a vps.

I‘m currently working on object storage which is a lot of work but its fun and maybe will come in handy too.

You can check my setup on github. Feel free to hit me up if you want to do it too or wanna discuss stuff. You can also see my matrix in my bio.

Have a good one.

[–] [email protected] 2 points 6 months ago (1 children)

Do you have HA run I've been trying to think about how to get my stuff running with SSO. One stumbling block has veen Home Assistant's apparent lack of support for it. Have to managed to find a solution to this? I've been thinking maybe I'll set it behind a proxy like nginx and enforce SSO at that level instead but I'm not sure if it'll work.

[–] [email protected] 2 points 6 months ago

I havent bothered yet but it has been a thing I thought about. I have vaultwarden and my logins are two clicks which is nothing compared to the work I had to put in. :D

But yes, I think proxy level auth should work but dont take my word for it.

[–] [email protected] 4 points 6 months ago (1 children)
[–] [email protected] 3 points 6 months ago
[–] [email protected] 14 points 6 months ago (1 children)

It's a shame that he didn't do a writeup on this. It's nice to have a video to demo the workflow, but it's really annoying to go back to the video to get details to try it yourself.

[–] [email protected] 3 points 6 months ago (1 children)

videogist.co will come handy then

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago) (1 children)

That looks useful. Thanks for the pointer!

Unfortunately, in this case I'm not interested in a summary. I already watched the video and would need to refer back to it for details, not general concepts.

I'll definitely use that site in the future though.

Edit: looks like it's not so good for long videos.

[–] [email protected] 2 points 6 months ago

Yeah, AI has limits. Here's another one stepify.tech

load more comments
view more: next ›