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

Programmer Humor

19480 readers
1622 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
[–] [email protected] 25 points 2 months 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.

[–] [email protected] 38 points 2 months 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.

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

Unless GH has another database oopsie.

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

no worries, cloud providers have oopsies of their own.

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

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

[–] [email protected] 5 points 2 months 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 :)

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

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

[–] [email protected] 7 points 2 months ago* (last edited 2 months ago) (3 children)

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

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

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

[–] [email protected] 2 points 2 months 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.

[–] [email protected] 2 points 2 months ago* (last edited 2 months 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

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

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

Also tagging @[email protected] since I should have linked this last night.

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

Awesome thanks!

[–] [email protected] 3 points 2 months ago (2 children)
[–] [email protected] 3 points 2 months 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.

@[email protected]

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

That's crazy helpful - thanks!

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

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

[–] [email protected] 5 points 2 months 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.

[–] [email protected] 1 points 2 months 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!