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.

  • AlexanderESmith@social.alexanderesmith.com
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 months ago

    I have two labs; one on-prem (lol my home office) and one in AWS. Depending on what you’re doing and how “shiny” you want it to be, you can go pretty far in AWS for less than $50/mo (and a little less far for $20). And that comes with the added benefit of haing AWS skills for your resume.

    For hosting on AWS, chose services that run well on nano/micro instances. For everything else, run it from home (network policies notwithstanding, see 3 paragraphs down).

    Also AWS, if you’re setting up a VPC with proper private/public subnetting (and you really should), don’t use their NAT gateway. It’s WAY too expensive. I set up a NAT gateway on a T3.nano and it costs me $3.74/mo (theirs would have been like $35/mo, which would have blown half my AWS budget on just that). I don’t remember if I used this specific article as a guideline, but he did exactly what I did (specifically the iptables config), so I’m confident in pointing you to him.

    As for on-prem; look into Beelink’s offerings. I just got two of their miniPCs ( specifically these ) for $150 total (on sale) and will be moving some of my heavier stuff (matrix, fediverse) from AWS to these. You don’t need these specific ones, check their store, it has a section for models on sale, find something you like and get it cheep.

    Now, I know you can’t host anything on their network that would touch the Internet, but something like these would be great for self-hosting Plex/Jellyfin, or other services that are technically only local, but also still technically on the network (hell, you don’t even need their network; buy a second-hand Netgear router and make your own private network). Those mini-PCs would also be great for learning linux, since you said you can’t really run VMs. if you want to learn about general self-hosting (web services like Apache/nginx, get a little PHP or Python site going, etc) you can do that totally locally on your private network, and it’ll be the same experience as doing it in the cloud (except no one but you can see it, but hey, everyone needs a “dev” environment; Cloud can be “production” if you want an audience).

    Hope this helps!