this post was submitted on 18 Aug 2024
760 points (99.2% liked)

Programmer Humor

19176 readers
1688 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] h0bbl3s@lemmy.world 25 points 1 month ago (3 children)

That's not bad at all gonna have to check it out. I host my site on digital ocean it's on the smallest single core 1gb ram droplet. I run crowdsec and nginx and a couple other little things and it sits around 40% ram usage. Costs 6$ a month and I added 4 weeks worth of automatic weekly backups for $1.50 a month.

I can deal with $7.50 for a little static web server.

They do offer a free $200/60 day credit if you get in with one of the free Linux Foundation cloud classes which is plenty to play with.

[–] bamboo@lemmy.blahaj.zone 38 points 1 month ago (3 children)

FWIW, if all you have is a truly static website (html, css, and js), then GitHub Pages is free and you can point a custom domain there from your registrar, and don't have to worry about backups or server uptime.

[–] Scribbd@feddit.nl 13 points 1 month ago (1 children)

Unless GH has another database oopsie.

[–] sip@programming.dev 17 points 1 month ago (1 children)

no worries, cloud providers have oopsies of their own.

[–] WhatAmLemmy@lemmy.world 4 points 1 month ago

Less oopsie-whoopsies than I would DIY, either way.

[–] h0bbl3s@lemmy.world 5 points 1 month ago (1 children)

I wasn't aware of the Github pages being free that's neat. It is fully static (running on nginx but generated with hugo) and I use freedns.afraid.org for the domains. Good to know thanks for the tip :)

And if you want a private repo, you can also use gitlab and point to custom domain with gitlab pages or cloudflare pages.

[–] SeeJayEmm@lemmy.procrastinati.org 7 points 1 month ago* (last edited 1 month ago) (3 children)

Should check out Racknerd. I've got a 4 core, 4 gb ram, 50 gb disk VPS for $50/yr.

[–] richtellyard@lemmy.world 2 points 1 month ago

Been using racknerd to host my tiny stupid websites for a couple years, it's great value for money and a fantastic way to learn sysadmin stuff. I also appreciate that they give a lot of heads up for auto-renewal and don't escalate pricing on renewal.

[–] h0bbl3s@lemmy.world 2 points 1 month ago

Thanks for the tip I'll definitely take a look! That's not bad at all and I prefer yearly payments.

[–] ABasilPlant@lemmy.world 2 points 1 month ago* (last edited 1 month ago) (2 children)

Could you link the page which shows your exact config at that price? I can't find anything like that. KVM, AMD, Windows VPS - I looked at all three but none suggest the price you've written.

That price sounds like a steal, and I'd love to get it if possible. I currently pay $6/month per VPS with Digital Ocean

https://www.racknerd.com/ryzen-vps

[–] Clearwater@lemmy.world 3 points 1 month ago (2 children)
[–] SeeJayEmm@lemmy.procrastinati.org 3 points 1 month ago (1 children)

Another good site for VPS deals is https://www.lowendbox.com/ . I've used them to find the RackNerd deals and also I've got a storage VPS I use for off-site backup that's stupidly cheap with another provider.

@ABasilPlant@lemmy.world

[–] ABasilPlant@lemmy.world 2 points 1 month ago

That's crazy helpful - thanks!

[–] ABasilPlant@lemmy.world 2 points 1 month ago

Perfect, thanks a million! I'll be getting on them soon!

[–] SeeJayEmm@lemmy.procrastinati.org 3 points 1 month ago (1 children)

These deals are still active https://www.racknerd.com/BlackFriday/

Also tagging @h0bbl3s@lemmy.world since I should have linked this last night.

[–] h0bbl3s@lemmy.world 2 points 1 month ago

Awesome thanks!

[–] frezik@midwest.social 5 points 1 month ago (1 children)

I do the smallest Amazon Lightsail instance for a static site of about $1.50/month. Site is statically generated from templates in a private git repo I host and backup at home, so I don't worry about the site itself needing a backup.

I was going to host a Bitwarden instance, as well, but with its RAM requirements, it was cheaper to pay a Bitwarden subscription. So it ended up being just a static site, plus Route 53.

One thing is that it's pretty clear Amazon doesn't like Lightsail. They do it because it competes with some other small fixed price hosting options from other companies. To let me use it, I had to email AWS customer support and answer a bunch of questions about what I wanted to do with it and if I had considered EC2, instead.

[–] h0bbl3s@lemmy.world 1 points 1 month ago

My site is also statically generated from templates I keep in a private git repo hosted on github I keep local backups of, but I do the generating directly on the server. I just pull the site and generate it manually whenever I do an update. I like the sound of your setup better thanks for the pointers!