this post was submitted on 05 Jul 2023
123 points (97.7% liked)

Selfhosted

40458 readers
294 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 2 years ago
MODERATORS
 

Lot of sales for 4th of july (and ongoing ones) where you can pay $10-$14 for a YEAR of a small cheap VPS. Usually only has 1GB of memory, but that's plenty to play around with and learn. If nothing else, a good cheap ipv4 you can use for some port forwarding. There are lots of options, but I've used racknerd and ethernetservers which have been fine.

I have my own server at home, but I bought two small ones to start learning Ansible with in a risk free way. Eventually plan to redo my main server with a complete Ansible setup, really want to hop on that "infrastructure as code" train.

top 50 comments
sorted by: hot top controversial new old
[–] trifictional 18 points 1 year ago* (last edited 1 year ago) (8 children)

Another Pro tip:

If you really want to self host and have good internet speeds, then just use a dynamic dns service to point a domain at your home network :)

It’s free minus the power costs. Sure you won’t be able to guarantee availability but for most personal(and friends/family) use it’s more than good enough.

I say this because the reason a lot of people use VPS is because their ISP won’t give them a static IP. You don’t need a static IP.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (2 children)
[–] Bluefruit 8 points 1 year ago (1 children)

I was right there with you and did a vpn tunnel with cloudflare. Not a perfect solution but it works well for my jellyfin server.

https://www.cloudflare.com/products/tunnel/

[–] [email protected] 3 points 1 year ago

Yeah, but your speed is limited by the tunnel. My ISP has excellent upload speeds otherwise (140 Mbps).

I checked with my ISP, they said they will give me a static IP but it will cost around $15 per month along with my internet cost. I'd rather just get a VPS.

[–] Protegee9850 2 points 1 year ago

Seriously. Even better when they just turn it on one day without warning because they can’t handle building out infrastructure to suit their growing customer base. Bastards.

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

If your domain is registered with cloudflare, they have an amazing tunnelling service that is free to point your domain to your own device at home!

[–] [email protected] 3 points 1 year ago

For people who don't like cloudflare, it's also possible to self-host your reverse proxy, using e.g. nginx on the front end, and rathole or frp for the reverse tunnel. I use ssh if I need a forward proxy too (so outbound requests don't come from my "real" IP) and that's not super ideal, but it works.

This is of course considerably more difficult than something that's point-and-click, but for me, using Cloudflare defeats the purpose of self-hosting.

I have built & rebuilt such a setup several times now and it gets better documented every time, soon I'll release a step by step HOWTO.

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

One thing to look at if you're going this route is whether your router supports NAT loopback (a.k.a. NAT reflection or NAT hairpinning). This feature means that you can access your server via the external IP (and therefore via the ddns domain name) even from within your network. It's really useful for phones and laptops that might be on your home network at some times and off somewhere else at other times, so you don't have to change configurations on e.g. the Nextcloud client, or remember to type in different addresses inside and outside the network. Some routers just do this, some don't, some it's a setting you have to turn on. The router built into my ISP-supplied cable modem didn't support it so I got my own router and put the ISP one into bridge mode.

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

Even still, you can get a small VPS and connect a VPN between it and your LAN, using it as a gateway with a static IP.

Gotta watch out for bandwidth limitations and data caps on small VPS like that though.

load more comments (3 replies)
[–] [email protected] 13 points 1 year ago (2 children)

I thought this was about physical hardware, lol.

FWIW I have been upgrading my stack on a very tight budget and there are some incredible deals on used/refurb PCs out there... just wait & watch for a couple weeks if need be, and you can get yourself a secondhand business PC for dirt cheap.

load more comments (2 replies)
[–] [email protected] 9 points 1 year ago

Here is a thread with 4th July deals. On that forum you can often find deals for cheap, low-spec VPS.

[–] subtext 8 points 1 year ago (2 children)

Oh wow this is quite an interesting proposition. Do you have any ideas / suggestions for what could reasonably be run on a box with 1 GB RAM?

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

Try putting an RSS reader on their like FreshRSS! Or a bookmark manager such as LinkAce! Start your own personal wiki/knowledge base with BookStack! Try deploying them natively, then learn how awesome docker is and put them into a compose file. Add wireguard into the mix so your services can only be accessed via a VPN.

Now get yourself a domain if you don't already have one. Pro tip if you want to maximize the cheapness of your setup, you can get a .xyz domain for .99 cents a year! Just has to be funny numbers, but find some numbers that has meaning and its not bad. Now that you have a domain, put those bad boys in a subdomain. Tired of those pesky browser errors? Time to setup a reverse proxy and get yourself an HTTPS cert. Caddy is brain dead easy to do this.

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

Thank you for the introduction to BookStack, I needed an app for a book/Wiki and that looks great. You use it and like it?

load more comments (2 replies)
[–] shortgiraffe 3 points 1 year ago* (last edited 1 year ago)

I can't believe in all my searching for cheap domain names that never came up, thank you.

[–] [email protected] 3 points 1 year ago (8 children)

For me, something like PiHole for DNS-based Adblocking, as well as potentially a Wireguard/OpenVPN installation (via PiVPN potentially) for an easy adblocking VPN combination. Depends on the available bandwidth, however, but some lower powered applications, even up to a small personal Matrix Synapse server could be viable on 1GB Ram if not abused.

load more comments (8 replies)
[–] [email protected] 8 points 1 year ago (19 children)

Get a free oracle cloud account. 24GB RAM 200GB disk 4 core CPU for free. 5gbps connection, IPv4 and 6. I run all of my stuff that I want running outside of my house there and run everything else on my proxmox cluster.

[–] SheeEttin 32 points 1 year ago

Friends don't let friends use Oracle.

[–] [email protected] 20 points 1 year ago

I've seen a few comments from people who've had their Oracle free tier accounts deleted with no warning.

[–] [email protected] 19 points 1 year ago (1 children)

Problem is Oracle sometimes just hates people, so declines all attempts to get the Free Tier.

I know from experience

[–] dustojnikhummer 4 points 1 year ago

If only sometimes. My company relies on Oracle...

[–] XiberKernel 14 points 1 year ago (2 children)

As someone who once had to work with Oracle databases and licensing as a part of their job, i will never willingly use another Oracle product.

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

ABSOLUTELY THIS. Same. I have to deal with Oracle and their Opera PMS platform which uses Weblogic, 19c, and a variety of other products and it makes me actively want to scream and light things on fire. If I can help it, you won't catch me using another Oracle product if I can avoid it.

load more comments (1 replies)
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

I've been trying to register for a month now and it wouldn't accept any of my credit or debit cards I even copied the address from my bank statement to make sure it's correct, it keep denying even though it does take money off of my account.

[–] [email protected] 2 points 1 year ago
load more comments (13 replies)
[–] nieceandtows 3 points 1 year ago (1 children)
[–] [email protected] 7 points 1 year ago (1 children)

A VPS is a Virtual Private Server, basically a cloud computer that you rent access to and can use it for whatever you want. Primarily, people use it for hosting websites/services that need to be on 24/7, which it can be since they are typically in massive datacenters, but they can have other uses.

[–] nieceandtows 2 points 1 year ago (2 children)

Thank you. How does it compare to a raspberry pi, or a mini pc at home? Is the draw that it's available 24x7 and on the internet?

[–] [email protected] 3 points 1 year ago

It's kind of the same thing as a Raspberry Pi/Mini PC, though can be seen as more reliable (since someone else is being paid to make sure it doesn't, or you and potentially many others will complain), as well as typically being very scalable if you require more power later down the line, as opposed to buying hardware for yourself. There's many other reasons, but those are some of the main ones.

[–] subtext 2 points 1 year ago

And with a service level agreement and you don’t have to worry about e.g. the SD card dying on you

load more comments
view more: next ›