4 ms·
What type and size of storage are you using for this ?
by danw1979 4y ago
What type and size of storage are you using for this ?
- pimeys 4y agoAh, I forgot to add that: I use Wasabi's S3 storage for files. This is probably the most amount of money I pay and a bit wasteful. We have about one or two images per month in uploads, but Wasabi is 5 euros a month for the first terabyte of storage. Egress is free though.
- robga 4y agoRe “egress is free”. Note that “If your monthly egress data transfer is greater than your active storage volume, then your storage use case is not a good fit for Wasabi’s free egress policy”. There are reports of bill shock from mastodon users as a result of the costs due to the policy. https://wasabi.com/paygo-pricing-faq/#free-egress-policy https://wasabi.com/paygo-pricing-faq/#free-egress-policy
- pimeys 4y agoI'm all ears for a better solution. We probably will have less than a gigabyte of storage needs, and egress is what it is with some local caching from the servers. The only thing I want is to not store the files in the application server.
- robga 4y agoLooks like backblaze b2 and cloudflare as a cdn may have a more liberal egress policy. Your profile with wasabi may suit your needs, however. Another option is minio.
- squaresmile 4y agoYep, b2 and cf is a great combo for hobby project. Note that you still need to pay for transactions so depending on your usage pattern, b2 might range from very cheap to a nice discount. I recommend turning on tiered cache on cf [0]. Our b2 bill went from $7 to $4. [0] https://developers.cloudflare.com/cache/about/tiered-cache/ https://developers.cloudflare.com/cache/about/tiered-cache/
- mkl 4y agoCloudflare R2? https://www.cloudflare.com/products/r2/ https://www.cloudflare.com/products/r2/ You'd likely be in the free tier.
- moonchrome 4y agoMaybe I'm dumb and missing something obvious - what's wrong with selfhosting and another VM if you're doing >1gb ? You already have to deal with backups on postgres VMs ?
- _cenw 4y agoI used to host a reverse proxy on the same box as the Mastodon instance and then have that be the origin for a bunny.net bucket. Worked great and I could make my webserver ensure that only my bucket was open.
- 2Gkashmiri 4y agohttps://www.storj.io/pricing https://www.storj.io/pricing they have cheaper storage and up t0 150GB is free so maybe try this one as well? i am on the fence for a dirt cheap S3 myself but B2 and cloudflare R2 is in the $10-15/TB range and something cheaper would be nice for a small usecase
- vagrantJin 4y agoI use Storj. Its great. https://www.storj.io/storj-home https://www.storj.io/storj-home
- sethd 4y agoNot sure about Akkoma but if architecture is similar to Mastodon, then your Wasabi bucket would include all the images and videos you see in your timelines, not just those that you upload.
- _cenw 4y agoAt least a few years ago, Pleroma either used an actual proxy without caching or hotlinked images from other instances.
- ancientworldnow 4y agoAkkoma gives you the option of caching those and serving locally or simply referring back to the original server. They have probably chosen not to cache if the number of users is small.