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

Programmer Humor

19463 readers
15 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
 
top 50 comments
sorted by: hot top controversial new old
[–] bonn2@lemm.ee 75 points 2 months ago (3 children)

Where did you find a free server that is that good? Or is it just one of those 100$ free credit things?

[–] myersguy@lemmy.simpl.website 84 points 2 months ago (3 children)

They are for sure talking about the ARM servers from Oracle. You get 24gb of memory and 4 cpu cores that you can carve into virtual machines.

Issue is that the free stock is very limited, and there have been some claims of people having their free service resources reclaimed by Oracle.

Still, if you can get one, it is probably the best you can get for free.

[–] LostXOR@fedia.io 41 points 2 months ago (1 children)

Yep, it's Oracle. It's a really great deal; I've been using their services for a couple years now and haven't had any problems.

[–] Dima@lemmy.one 30 points 2 months ago* (last edited 2 months ago) (2 children)

Make sure you have backups, they randomly shut mine down after a couple of years

[–] LostXOR@fedia.io 7 points 2 months ago

Yep, it's all backed up locally. I figure eventually they'll shut it down as they're losing a fair bit of money.

[–] whyNotSquirrel@sh.itjust.works 4 points 2 months ago (1 children)

sure it wasn't related to the server center that caught on fire due to an UPS update?

[–] Dima@lemmy.one 13 points 2 months ago (2 children)

They disabled my account without any notice, I tried to login to see why my VM wasn't responding and found they'd deactivated Oracle cloud services. It's also difficult to get in touch with support as there's multiple different portals and with the cloud services disabled I struggled to find a way to raise a relevant ticket. When they eventually responded they gave some generic BS about their ToS.

My suggestion for anyone using Oracle free tier is stay on it if you want, but be prepared for the eventuality that they shut everything down without notice or access to your data.

load more comments (2 replies)
[–] starshipwinepineapple@programming.dev 16 points 2 months ago* (last edited 2 months ago) (1 children)

Yes, oracle will reclaim your server if it falls under certain thresholds for the resources you've signed up for. So it might be better to request less resources then you need but this will somewhat complicate things if you want more resources in the future since iirc you can't simply resize.

One way to get around all of this though is convert to pay as you go (PAYG). PAYG gets the same always free allocations and you only pay for use above that, and oracle won't reclaim PAYG (at least not my server for ~4 years). Just set up a budget of a $1 and then alerts to email you if you reach 1% of your budget. If you somehow go over your free resources it'll tell you.

Lastly in some cases oracle just straight up loses your data or disables your account. As always practice 3-2-1 backups (don't rely on the free rotating backups on their servers as your only backup).

It's some hoops to jump through but i was paying $5/ month for a digital ocean droplet and the oracle server has been running for 4 years now, and i also have scaled up one project and started a few others that wouldn't have all fit on my droplet. Other than the threat of reclaiming my resources before i switched to PAYG I've been pretty happy with it.

[–] LostXOR@fedia.io 6 points 2 months ago

Yeah I switched to PAYG to lessen the chance of that happening. So far I've managed to not accidentally spend $5000 in some dumb way, so it's basically equivalent to the free tier.

[–] iturnedintoanewt@lemm.ee 12 points 2 months ago (1 children)

... Interesting. Never heard of these. How do you get it? How much storage does it have?

[–] LostXOR@fedia.io 14 points 2 months ago

You can sign up here, and it comes with 200GB of storage and 10TB of monthly bandwidth. And apparently a $300 credit, ~~that wasn't around when I signed up.~~

Edit: Nevermind, must've not noticed it.

[–] SeeJayEmm@lemmy.procrastinati.org 39 points 2 months ago (1 children)

It's oracle. You can get up to 4 cores and 24gb ram on an arm vm from Oracle cloud for free when there are open slots. They get snapped up quick.

[–] sus@programming.dev 20 points 2 months ago (1 children)

are you sure there isn't small print somewhere saying you forfeit your eternal soul to larry ellison?

[–] db2@lemmy.world 7 points 2 months ago (1 children)

They probably get you in bandwidth fees over X amount. It would cost pennies for a small scale virtual server with big numbers as the hardware is shared, it would spend most of the time not doing anything. They could set up a machine and oversell a tier like that and make it all back with profit on their first bill.

[–] NaibofTabr@infosec.pub 9 points 2 months ago

I bet they run these free accounts on their test infrastructure, not production. What they get from it is real-world user testing of changes to their infrastructure, similar to how Microsoft uses its Windows Home versions for testing new updates.

[–] sunbeam60@lemmy.one 38 points 2 months ago (2 children)

Kinda similar to my self-hosted server; 24 core, 32GB - peak number of concurrent users ever hosted is 3.

[–] mypasswordis1234@lemmy.world 9 points 2 months ago (2 children)

32 GBs for 3 users? it definitely runs a javascript app

[–] SkaveRat@discuss.tchncs.de 4 points 2 months ago

Can't be more than a hello world

[–] sunbeam60@lemmy.one 4 points 2 months ago* (last edited 2 months ago)

I doubt it’s ever peaked at more than 3 GB usage, even with 18 containers running.

If it ran an Electron app it would need an upgrade.

load more comments (1 replies)
[–] h0bbl3s@lemmy.world 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.

[–] bamboo@lemmy.blahaj.zone 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.

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

Unless GH has another database oopsie.

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

no worries, cloud providers have oopsies of their own.

load more comments (1 replies)
[–] h0bbl3s@lemmy.world 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 :)

load more comments (1 replies)
[–] SeeJayEmm@lemmy.procrastinati.org 7 points 2 months ago* (last edited 2 months ago) (9 children)

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

load more comments (9 replies)
[–] frezik@midwest.social 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.

load more comments (1 replies)
[–] jawa21@lemmy.sdf.org 23 points 2 months ago (1 children)

You also get a free static website through SDF without sending anyone info. Just sayin'.

[–] brbposting@sh.itjust.works 17 points 2 months ago (5 children)
[–] Oha@lemmy.ohaa.xyz 6 points 2 months ago

They also host a lemmy instance @ https://lemmy.sdf.org/

[–] jawa21@lemmy.sdf.org 5 points 2 months ago
[–] recklessengagement@lemmy.world 5 points 2 months ago

Oh this is awesome, how have I never heard of this?

load more comments (2 replies)
[–] teslasaur@lemmy.world 14 points 2 months ago

Give use the URL and that 100-number might go 🚀 For testing purposes, naturally.

[–] grrgyle@slrpnk.net 10 points 2 months ago

Yeah I'm pretty popular. At this rate I should just add a /wp-admin webpage - according to my logs it's in very high demand!

[–] witty_username@feddit.nl 5 points 2 months ago (4 children)

You can also host it serverless. I set mine up on S3. You pay for egress

[–] leidkultur@lemmy.one 110 points 2 months ago (4 children)
  • „Serverless“
  • looks inside
  • Server
[–] witty_username@feddit.nl 16 points 2 months ago (1 children)

Lol well yes it may be a bit of a misnomer. At the very least it is less server than OP was using for their static site

[–] ignotum@lemmy.world 15 points 2 months ago (3 children)

It's serverless, not servernone

load more comments (3 replies)
[–] MonkderVierte@lemmy.ml 42 points 2 months ago (1 children)

"Serverless" is using someone else's computer.

[–] dev_null@lemmy.ml 7 points 2 months ago (1 children)
load more comments (1 replies)
[–] CouncilOfFriends@slrpnk.net 5 points 2 months ago* (last edited 2 months ago)

For a static site Cloudflare Pages is good for free hosting, doing a git commit and watching the site change in a matter of seconds is very satisfying.

[–] Ghoelian@lemmy.dbzer0.com 4 points 2 months ago

You could also host a website like that on Cloudflare pages for free. That way you even get ddos protection and some other stuff.

load more comments
view more: next ›