this post was submitted on 29 Oct 2024
37 points (97.4% liked)

Selfhosted

39868 readers
405 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hello.

I've been trying to get familiar with self hosting. The only roadblock I have is I'm unable to do so because I am a university student living in student accommodation where it is against WiFi policy to host anything. And currently I don't even have my raspberry pi with me. My laptop is relatively low specced, so I can't exactly do VMs, but I want to learn more about hosting stuff and the services I can host. I recently signed up for a free managed Nextcloud instance because I wanted to see what it's like and whether I'd be interested in hosting my own.

I know VPS-es are an option but they can get pretty costly, especially for a student like me. Do you have any recommendations, including any cheapz reliable VPS-es for a UK student to dip his toes into self-hosting? Thank you.

P.S I know this isn't exactly self-hosting as I'm technically reliant on third party hardware but it's the only option in my situation.

top 22 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 2 days ago (3 children)

If you have a credit card and can pass their validation, Oracle offers a shockingly good set of free cloud options.

4 core, 24gb ram ARM instance, two potato epyc instances, 200gb of disk space and 10tb of transfer and various other little bits and pieces for the grand total of $0.

Some people have had their accounts closed for "no reason", but I'm closing in on 2 years of free shit with no problems, so ymmv.

(I strongly suspect no reason has a reason and a huge number of these people were running VPNs, so I'd wager they either did something stupid/illegal, or someone they gave access to did something stupid/illegal.)

[–] [email protected] 7 points 2 days ago* (last edited 2 days ago)

My brother in Christ, Oracle isn't worth free.

They couldn't even successfully delete my account or stop billing me after they couldn't fix the simplest problem because they could never associate my support ID with my tenant account. I had to put a block on my credit card at the advice of a oracle support rep to stop getting charged.

Utter dogshit, but I don't know what I expected, doing any sort of business with Larry Ellison.

[–] [email protected] 4 points 2 days ago* (last edited 2 days ago)

Not sure if the UK is similar to where I lived, but they were the worst “cloud” provider I’ve ever used. Want to shut down the instance you had to recreate it with a different OS? Good luck getting it back online as they are out of capacity. Also, if you accidentally deleted one of the default network components it was impossible to recreate it without incurring a cost kind of going against anything you learned about cloud computing and “infrastructure as code”. It was a glorified GUI.

Edit: I’m just glad my current employer does not use anything oracle as their support is also famously bad.

[–] [email protected] 2 points 2 days ago (2 children)

I was just thinking about my free oracle server if it would be good for my own lemmy instance?

[–] [email protected] 11 points 2 days ago

Not for longevity. Oracle can shut it off in a blink for no reason

[–] [email protected] 2 points 2 days ago

Mine's running just fine (along with about a dozen other things) on the A1/ARM instance you can get for free.

I wouldn't say performance is stunningly good - the Ampere cores aren't especially fast single threaded, and postgres is.... well, it's not the most threaded thing ever under really low loads - but it does what it's supposed to.

[–] [email protected] 4 points 1 day ago

It's easy to overlook with the omnipresent internet, but self-hosting doesn't require internet. You could host for your fellow students on the local network. If that's also against the Wifi rules you can either ignore that stupid rule or set up your own god damn wifi with hostapd on your machine and let students connect directly to it. It's probably best to use a machine dedicated to the task for security reasons as you wouldn't want curious students to accidentally erase your homework. I wouldn't use containers or VMs for any of this, I'd just use bare metal like in the good ol' days. You could also, without having to worry, give people shell accounts because it's a closed network. The options are endless without all the worries of hosting on the internet.

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

Super easy things you can do as exercises and take no serious resources:

  • build a static site and host it locally
  • host your music collection
  • host your video collection
  • setup the *arr stack
  • setup home assistant for your dorm room
[–] [email protected] 2 points 2 days ago

If you're into developing and stuff, GitLab

Plex server

Jellyfin server

ELK stack or security onion

Get steam working, connect via steam link.

[–] [email protected] 4 points 2 days ago (1 children)

I think it's cool you're trying to find ways to get into this. If the goal is to learn, why not deploy the services on your laptop? They won't be available when the computer is off of course, but you would still get the full experience. Even a low-spec laptop will be better than a cheap VPS.

[–] [email protected] 2 points 2 days ago

The worst laptop you can find could probably be better than even a reasonably specced VPS. Low end VPS are dire, and you can get some pretty decent laptops for almost nothing. If it’s pre 8th Gen. Intel they’re basically worthless on the used market. But they’ll still easily get the job done.

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

Start by learning docker, you don't have to selfhost anything yet, just learn to run a container, specially to run automated stuff. Then learn to build the images and run docker compose.

Also you could start checking any form or infrastructure as code. I usually hear about ansible and nixos.
This helps having a way to redeploy your services in any hardware easily.

[–] [email protected] 0 points 1 day ago

DevOps guy here mostly working at scale in AWS. Learning docker should be priority 1 alongside learning Linux basics. Ansible should be second IF the plan is launching docker containers on a VM as opposed to a server less option (example: AWS Fargate)

[–] [email protected] 2 points 2 days ago* (last edited 2 days ago) (1 children)

Google "Oracle always free tier". and go through this course https://programming.dev/post/12147665

[–] [email protected] 2 points 1 day ago

I completely forgot about the Linux Upskill Challenge! I should have mentioned I've been running Linux as my desktop operating system for almost 3 years, and I've been tinkering with it quite a lot throughout so I'm quite familiar and very comfortable with the command line. I shoukd go through the Linux upskill challenge so I can fill in any knowledge gaps though. Thanks for reminding me!

[–] [email protected] 1 points 1 day ago

Build anything small into a container on your laptop, push it to DockerHub or the Github package registry then host it on fly.io for free.

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

I’ve heard others recommend Low End Box before but I have no experience, so do some due diligence before selecting any of these!

https://lowendbox.com/blog/1-vps-1-usd-vps-per-month/

[–] [email protected] 2 points 2 days ago

I would second LET. They usually have a lot of good offers around Black Friday, you can get a pretty decent VPS for like $10-20 / year.

You can keep an eye out for that, and see if this is really what you want to get into: https://lowendtalk.com/categories/offers

It is like a marketplace, so make sure to check reviews of the host provider before buying - which you can find on the same site.

[–] [email protected] 2 points 2 days ago* (last edited 2 days ago)

Have a look at gullo.me, their entry level vps was just $2 or something.

Edit: https://hosting.gullo.me/pricing (apparently the cheapest is $3.5 - annually)

[–] [email protected] 0 points 2 days ago (1 children)

You can buy a super cheap cloud VM and use a (self hosted) VPN so it can access your own PC and a reverse proxy to forward all incoming requests to your own PC behind your school’s network.

It’s arguable whether this would violate their policy, since you are technically hosting something, but not accessible on the internet from their IP. So if you wanna be safe, don’t do this, otherwise, that could help you get started.

[–] [email protected] 3 points 2 days ago (1 children)

Spending 💰 is not the college student way.

[–] [email protected] 1 points 2 days ago

The cheapest one I know of is about $8 a month, so it should be affordable, even on a tight budget.