floof.org

Phil M0OFX hometown (AP)
Does anyone know of a cheap way to host a static website with a lot of images? Total size is in the gigabytes.
I was thinking something CDN or S3 style, the goal here is cheap.
JamesB mastodon (AP)
Free Oracle cloud thing?

A regular-ass webhoster?

You could use i.e. #GithubPages if you want to #FLOSS it and/or combine it with an #ImageHoster...

Some #VPS or #Webhosting at https://contabo.com may be an option.

Matthew Harrold mastodon (AP)

Cloudflare pages is a (free?) thing, although max file size is 25MB and limited to 20000 files.

I tend to use AWS S3 for static stuff, its reasonably cheap but costs will rise with the data transfer.

It's a royal PITA to setup manually as there's certs, cloudfront, lambdas and S3, so I use this Terraform project which makes it fairly painless - https://github.com/marrold/aws-instant-website

Karyx Dragon mastodon (AP)
SBC with a hard disk attatched to it. You've got FTTP. That's going to be your cheapest option. If you don't need masses of grunt, you could look at the OVH Kimsufi, which will give you 1TB of storage on an atom box for under a tenner a month(ish)
Phil M0OFX hometown (AP)
@fatedfox True enough, but I don't really want to host that stuff on my fibre connection in case it gets Slashdotted. XD
Karyx Dragon mastodon (AP)
that's what traffic shaping is for, homeskilet :) seriously though, look at those ovh options. They're dirt cheap, really intended as seed boxes but they'll do the job.
Philip Heron mastodon (AP)
I've used Linode for that. Cheapest VM is $5/month - 25GB of storage (inc. OS).
Phil M0OFX hometown (AP)
@fsphil that seems about the same as Digital Ocean, and their object storage is about the same too ... hmm. their object storage might be worth a shot
polprog68k pleroma (AP)
how much traffic? VPS with storage are cheap as chips these days, could just throw it all into a lighttpd setup
Phil M0OFX hometown (AP)
@gorplop Pass. Depends how many people are interested in looking at pictures of ICs - but if it starts eating a lot of traffic, I'd like to be able to set a limit so it doesn't run up a ton in overage fees
polprog68k pleroma (AP)

usually VPS providers just give you a fixed cap after which they throttle traffic - you pay upfront and if people visit too much it will just get throttled, no extra cost.

the caps are quite big too.

Phil M0OFX hometown (AP)
It looks like Digitalocean bill $5/mo for 25GB... Digitalocean Spaces (an S3 competitor) clocked in at 250GB for the same $5/mo, with 1TB transfer.
The same with S3 looks like about $100/mo.
So for storage - object store seems better from a maintenance and cost POV.
This entry was edited (1 year ago)
polprog68k pleroma (AP)
hm, can you run a small httpd on the object storage thing? otherwise you need more than 1 server.. OVH has sub 10eur/mo VPS with unlimited transfer which is just speed-capped. It is an interesting use case
Phil M0OFX hometown (AP)
yep! Linode, DO and Amazon all allow you to host static sites on object storage. (I think all but Amazon have it in their advertising)
I used DO's for a volunteer group's website aaaaages ago, built with 11ty and a bunch of static templates
The OVH VPS looks interesting but I'd rather not deal with keeping the software updated - and the cost there is the storage
This entry was edited (1 year ago)
JamesB mastodon (AP)
@gorplop Contabo may be worth a look. I use them for my Nextcloud storage server. Cheap but not the fastest. Good traffic allowance.
Phil M0OFX hometown (AP)
@mw1cgg @gorplop That's neat, I hadn't heard of them. Sadly it looks like they only support custom domains if you proxy them behind Cloudflare. Interesting that the data transfer is free though!
I'm using Backblaze for my Nextcloud storage, Contabo might be a good option for off-site backups.
JamesB mastodon (AP)
@gorplop ? I'm using my own domains. That said, I'm using VPSs and not object storage.
Phil M0OFX hometown (AP)
@mw1cgg @gorplop Ah, I'm talking about object storage. Their tutorial says it needs to be proxied behind something which terminates the SSL connection, they don't generate SSL certificates with custom domains:
https://docs.contabo.com/docs/products/Object-Storage/HowTo/custom-domain
The VPS would probably just give you an IP address, so set up the DNS and get a Let's Encrypt cert and you're sorted.
JamesB mastodon (AP)
@gorplop I was using Backblaze for Nextcloud backups. I was getting some horrendous bills though because the Nextcloud Backup app seems... b0rked.
Phil M0OFX hometown (AP)
@mw1cgg @gorplop I just throw files on Nextcloud and let it sync via the External Storage plugin - that seems to work mostly okay. Sometimes it has to be resynchronised, and that eats a lot of transfer.
If I was using S3 for backups, I'd probably use Bacula, enable encryption, and rclone the files onto the S3 bucket.
Phil M0OFX hometown (AP)
@gorplop not sure! depends how popular the scrollable pictures of chips end up being
Pippin friendica
This is something I ought to be able to host easily, given that I do colo and hosting as my work. I don't really have a fixed price list though, other than for colocation. I really ought to do something about that…