145 points · by OscarCunningham · 4y ago · 61 comments
What if there was a CloudFormation stack that quickly brought up Mastodon on API Gateway + Lambda + SQS + S3 + DynamoDB? Costs nothing if you don't post or follow anybody, with slowly rising costs as you use Mastodon more, and basically no ops concerns? Wouldn't that eliminate most of the technical barriers (cost, ops hassle, albeit still some setup hassle) for promoting federated social?
$6 will get you 4 cores, 8GB of RAM and 200GB of storage. If you need more storage, find a cheap S3 host and use that with Mastodon for file storage.
I don't quite see the point of going Amazon specific with an open API like this but I'm sure you can implement ActivityPub using whatever Amazon offers. You'll probably start racking up a bill quite quickly though. I don't see how using AWS is possibly a lower technical barrier when there's a docker-compose file ready to use already.
Also, you can't suggest that everyone should run 4 vCPU/8 GB RAM. Sure, 99% will never need more than that. The 1% who go viral will. If those people have 4/8 servers, because that's what was recommended, then anybody who goes viral will have their server die a fiery death. Behold, the social network's reputation will be that virality is a kiss of death. Watch as everyone leaves in droves.
Federated social needs federation AND spike resilience. Serverless handles your fifteen minutes of fame with ease at a small premium. Discount VPS providers do not.
Wow, where do you get that?
- https://contabo.com/en/vps/ (they used to have a reputation for overprovisioning, but stable service)
- https://www.hetzner.com/cloud (they asked me for my ID photos for verification, but otherwise one of the better options)
- https://www.time4vps.com/?affid=5294 (affiliate link, I use them currently for all of my long term hosting)
Another commenter suggested lowendbox, which is a good option for scoping out offers, but sometimes companies just take the money and run off (as happened to me once personally), generally look at whether the company that you want to become a client of has been around for a while and hasn't recently changed hands.Pretty reasonable, from who though? Also do they support IaC so that you can tear down and rebuild automatically?
Ops is good q, based on my observation, most of these implementations has a Dockerfile at best, CloudFormation/K8s is very rarely considered. And probably bc where this community was originated from, Amazon is pretty much suggested against.
(The number of "X doesn't work with GSL" issues is mildly worrying, and migrating from Pleroma to GSL is going to make me insane. But hope, nonetheless.)
it is able to run properly on a pi so the performance is not a problem
if your use case is individuals/family then telegram/whatsapp/imessage groups are more than enough.
Does a single user server exist? I don't want to host for others, but would like to interact with a few people that have migrated from Twitter.
Are there any resource light servers that can be deployed as a container with a single config or env file that doesn't require many manual commands against a container instance?
Sure, but on a personal level, that's still very, very cheap, almost without concern for how much you follow. CloudFront and API Gateway are pennies per million requests. SQS usage would probably fit in the free tier. DynamoDB, if implemented with a single-table design, would probably cost no more than a couple of bucks, and storage would probably fit in the free tier. You can use IAM policy on pre-signed URLs to restrict the maximum object size of an object that someone is sending you, as well as implement effective rate limiting and automatic expiration with lifecycle policies that keep costs under control.
Of course, costs could expand if the user wants to keep an infinite history, but that's their choice, by design.
256 persistent (prefix) IPs is supposed to be the bare minimum for residential customers !
https://www.ripe.net/publications/docs/ripe-690#4-2-2---48-f...
That said, I’ve tried supporting both DynamoDB and an RDBMS with the same software and it was a pain, and this was for something with a less complicated schema then Mastadon. I think what’s missing here is really a scale-to-zero, serverless RDBMS (maybe Supabase or Neon fit the bill?)
You can get a year worth of 2/3/4 GB ram servers for quite cheaper than heroku or linode.
I have a bunch of servers running and they are not bad.
Like the other commenter said, pleroma is a good lighter alternative and it can be run on raspberry pi if you want
I tried a few instances and none of the UIs clicked with me very much.
With themes, I not only mean custom colors and fonts. I mean custom templates, so I can rearrange the position of elements and leave out some elements altogether.
"there are quite a few frontend compatible with Mastodon API"?
Isn't the Mastodon API the ActivityPub API?
Of course one could write a new ActivityPub application from scratch.
But my question is: Can the Mastodon templates be easily changed?
No... not at all
there's been a long series of mimd of insensitive counter-community decisions gargaron has forced upon Mastadon, such as greatly concealing the local timeline. Instead of being a local community with outward ties, this has made mastadon & being a member of a particular server a far less local, community-based, explorable phenomenon.
Why don’t we all just disconnect from social media (esp Twitter) for a few years, touch grass (while the stuff still exists) and then come back for the metaverse refreshed and grounded in reality like it’s 1990 and we just invented the internet. Those were good times.
I hate and am truly tired of America’s three premier Twitter narcissists (I bet I don’t even have to name them and you’ll know), but this “cry about Twitter and leave it” meme all feels like a groupthink knee jerk at its root, and then the “let’s move to fediverse” meme feels utterly thoughtless. Trolls are the internet, people turn to sociopaths the second they touch the net. It’s hyperbolic, but it’s not unfair. Trolls are on fediverse too, they cannot be escaped without several orders of magnitude additional energy injected into the system. If management alone and a desire to silence trolls is what this is all about, I’ve found that just being disconnected is an immense sea of peace, the one place they truly cannot get you. Social media is genuinely just a gigantic psy-op at this point anyway. Why even bother to participate and take it seriously?
Is this a genuine question? Because it depends. Some people/groups run their own server. Others run free servers, kind of like people ran IRC servers. Some pool money together to run a server. Some are run by NGOs. One I saw was charging around $2 a month, but would use any profits to plant trees. I know it's not really polite to call out people for a lack of effort on HN, but all that information that I just gave to you, I got from browsing the server section of join mastodon or whatever it was called for like 5 seconds. It took you longer to wonder about this stuff, than it would've taken you to actually find out.
I don't want to come off as advertising mastodon or the fediverse. I just think the payment model is actually quite good and that there are more serious concern. Like what happens with your "twitter" handle if you've joined a server that goes rogue or shuts down. You can solve this by hosting your own mastodon server on your own domain or by joining a server run by some sort of established organisation, of which there seem to be very few. I like the concept personally, but I can also setup a self-hosted serve, or alternatively spin up a vps fairly easily, as can a lot of people here on HN. That's probably quite a barrier for most twitter users though.
We know that content moderation cannot be done at scale. That why Facebook etc are such hellscapes; there is no algorithm in existence that a clever human won't figure out how to game.
Content moderation at human scales, however, is not as hard. I participated in many online forums which were run by one or a few moderators who policed the content with some auto filters for spam, and their own eyes. Some complained about the work, most just got it done and the forums worked fine, no big algorithms or star chamber councils to decide on what they do.
So, in answer to "why the fediverse," my answer is that if we break up the large platforms into a bunch of small forums under the control of only human moderators, there is every reason to believe that content moderation will become a great deal more possible and effective, and we will get our old internet back - the one based on protocols not platforms.
The goal is to allow for example a rural village to organize itself, make dinner plans, dating, doctor's appointments, and so on, using a local wifi mesh network and one computer. There is no need for all the signals to go to Zuck's FB or Elon's TW server farms in California. People need to have their own software. If you’re interested, here is more on why it’s needed:
https://qbix.com/blog/2021/01/15/open-source-communities/
If you want to try it yourself:
https://github.com/Qbix/Platform
If you want to play around with it, it’s free to use. The platform is ready for use but needs a lot more tutorials and needs to be packaged for hosting companies…