submitted 3 months ago by bluestribute@lemmy.world to c/selfhost@lemmy.ml

I have a Wordpress site and recently ran into the problem of having too many images for my hosting services. But my job involves photography, so I was wondering where a good starting point would be to set up a physical server in my home to host all my photos for my website on Wordpress. Is that possible? I don't know where to begin with searching either.

top 11 comments
sorted by: hot top controversial new old
[-] pokkiff@lemmy.sdf.org 15 points 3 months ago

I know this is self hosting, but I would probably just drop them in a S3 bucket with static hosting enabled and be done with it. Never have to worry about availability or big transfers eating up your upload at home. Probably wouldn’t cost more than a dollar a month.

[-] Dave@lemmy.nz 8 points 3 months ago

OP, please do this. If you are dealing with other people's photos professionally, a home server is in no way adequate storage for that except as part of a proper backup policy (3, 2, 1 or something else with redundancy).

[-] bluestribute@lemmy.world 3 points 3 months ago

My concerns right now are this is the second time I've had space issues with my hosting service and when something goes wrong, it's easy to diagnose which service is causing it (wordpress or host). Do those concerns sound valid for what you're suggesting?

[-] superb@lemmy.blahaj.zone 8 points 3 months ago

An S3 bucket won’t have a hard cap. You pay a small amount monthly based on how much storage you use. Here’s a good guide I found: https://pawlean.com/2020/07/15/how-i-use-aws-s3-to-host-images-on-my-blog/

[-] bluestribute@lemmy.world 1 points 3 months ago

Perfect! Thank you for the link.

[-] zibby@lemmy.ml 1 points 1 month ago

Id second the s3 idea as youre hosting data for professional reasons. Backblaze and cloudflare also offer s3 compatible storage, when i priced them up for work cloudflare was by far the cheaper option. But iirc their s3 api is still under development and is not ( at the time i used it) feature complete. We had some trouble generating pre-signed urls. But if you just want some place to store data these are worth a look

[-] jonne@infosec.pub 7 points 3 months ago

It's probably easiest to look at one of the many plugins for WordPress that allow you to use AWS S3 for image storage (and make sure you're resizing images when serving them to users even if you want the high-res ones still available for download).

A bit more advanced would be adding cloudfront before your S3 bucket to save on bandwidth costs.

Be careful with AWS though, you'll need to keep an eye on costs, and you should really think about whether you want to keep uploading your images at full resolution instead of resizing them first so they're optimised for display on a website.

[-] MangoPenguin@lemmy.blahaj.zone 3 points 3 months ago

How can you have too many images? What kind of limits are they showing?

Make sure you're uploading optimized images optimized for web, and not full size JPEGs or something.

[-] subtext@lemmy.world 2 points 3 months ago

You might look into NASs or at least NAS software depending on how much storage we’re talking about. Or there are S3-compatible self-hosted solutions that you can search for and do some research.

I might recommend, however, considering a service such as Backblaze if your website’s uptime is critical as a halfway between self hosted and SaaS. I like to self host stuff, but there’s some things such as data backups or password management that is better left to the cloud where you can get SLAs and confidence in your uptime (because it always seems that something goes wrong with your hosting on a Friday night when you’re heading out of town).

[-] shnizmuffin@lemmy.inbutts.lol 1 points 3 months ago

Hey, just to make sure -- are you performing image optimizations on uploaded images? You're not uploading 4000x3000 raw JPEGs, are you?

If you are, you can reclaim a ton of storage. (Keep the RAWs off the Internet on a HDD somewhere.)

[-] bluestribute@lemmy.world 2 points 3 months ago

They are optimized. It's a 5gb plan I guess. It looks like my options, in the comments here, are pay a monthly fee elsewhere and be done with it instead of constantly hitting barriers with my current host's limits.

this post was submitted on 13 Nov 2023
18 points (100.0% liked)

Self Hosted - Self-hosting your services.

10403 readers
2 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.



Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!


If you see a rule-breaker please DM the mods!

founded 2 years ago