@jerry I'm using s3 compatible service and its working pretty well.
@tursiops what service are you using, and how expensive is it?
@jerry @m4iler @tursiops I run a diaspora pod with assets stored on S3 and distributed via cloudfront. One downside on that is security-by-obscurity. All S3 objects are effectively public (on that software's setup). Any photo published to a subset of users gets a public URL. So the whole limited distribution/restriction thing (on diaspora) is a bit flimsy.
@jerry @m4iler @tursiops Obviously it doesn't have to be that way. There are clever tricks to use authentication and signed URLs and such. It's just that diaspora doesn't do any of them. The alternative is to authorise the EC2 instance to read S3, but not to authorise CloudFront or direct S3 access. Data still passes through the EC2 instance, and there's no caching, etc. But you have solid access control and unlimited S3 storage.
@jerry Hi I'm using exoscale.ch and it's 0.01800
EUR GB / month
@jerry How much storage are we talking about?
Perhaps remove cached media attachments? From my maintenance script:
rails mastodon:media:remove_remote 2>&1 >/dev/null
@ServerStatus about 100GB and growing about 20GB/month. I have that same script, but I actually think that it no longer works as of 2.5.0, when those maintenance jobs were merged into the main code
@ServerStatus thanks for that. For some reason, I thought it was automatically running periodically starting in 2.5.0. I’ll give that a try.
@ServerStatus well, that did the trick. Freed up 40GB.
@jerry perfect. Thanks for the heads up about the change in 2.5, I need to ammend my scripts now as well. It really should be automatic and built-in, but alas.
If cost is a concern, definitely look into Backblaze's Not-S3, B2. $5/TB storage, $10/TB transfer.
A Mastodon instance for info/cyber security-minded people.