After doing more testing, I decided to go ahead and provide shared hosting for Mastodon instances.
This will be a trial but unless something goes horribly wrong, I believe that I can price it at €5/month for an instance of up to 100 users.
This can greatly diminish the cost of running small instances and remove the technical barrier from everyone who wishes to run their own Mastodon Instance.
Let me know what you think https://masto.host/#pricing-table
@hugo Well, I clicked the link on the site and it gave me a placeholder page, so I don't know how to pay you or tell you further details (aside from just chatting like this).
I guess my first step is to decide on a domain name.
Would you prefer we move this to e-mail?
@hugo I think mastodon would be cool when you have people living off-grid, you can create individual communities that can function in isolation. Like a way for people to communicate in an isolated village. Then again. I might be over thinking this.
In my head the combination of a fediverse and mesh messaging go well together, although I have to think how exactly they could work together.
@BillPosters I think there are interesting use cases to talk with people with similar interest by joining a specific instance. But it could also be from a location (eg: school). There are some really cool use cases that I can think of but think that many more will come that we cannot even imagine.
@f2f @hugo Another thing I've been meaning to work on is some kind of interactive, "one-click" installer that does all the setup for you. I mean, installation and updates are already really simple thanks to the Docker work that's been done, but data persistence, nginx, and SSL setup could still be automated more.
Eventually want to get the point where you can just get a VM (e.g. from DO), point your domain at it, run some install.sh script, and be up and running.
@hugo oh good, some competition! looks like you're going to beat me to the punch. enjoy your first mover advantage :)
@eller82 DB size doesn't count towards the disk space limit.
The main usage of space for small instances is remote cache, that is cleared every week. See: https://github.com/tootsuite/mastodon/blob/master/lib/tasks/mastodon.rake#L47
But it really depends on the community, if it uploads a lot of gifs and images, it can go fast. If it uses mostly text, then it can last a long time.
Still, adding extra space is cheap.
Hi! You do not have CLI access in shared hosting, if you choose dedicated, yes.
What I can do to allow edit to css or any other code is you indicating your fork on GitHub and I will update from there, you handle your custom code and I push the updates.
Emails are sent via MailGun, I set up 1 account @masto.host for each instance and the cost of notification emails is included. I can also use any other SMTP that someone provides or authenticate with MailGun dif domain
@Laraby :) to make a user admin you should:
RAILS_ENV=production bundle exec rails mastodon:make_admin USERNAME=username_of_admin_user
@a2 you're the only one that noticed/mentioned that 😉
I need to work on the design of the page because the copy paste of the pricing table needed 4 plans and I made I had to create 4 plans for the shared hosting.
But you are right the €30 plan on the shared hosting makes no sense if I offer a dedicated with more resources and the same price :)
@angristan My instance masto.pt has 100+ users and it is live for 20 days, the storage space we used is under 1GB if you discount the external media caching that is purged every 7 days.
Still, I understand that 5GB is very low but I am doing this beta test to see how many small instances can run with x CPUs and y RAM to see if the pricing works and adapt the storage if possible.
Also, I plan to offer extra storage option cheap (like 10GB +/- €1/month).
Pricing is a guess right now ;)
@tankgrrl I would say that if you are over 100 users you should upgrade or you will start noticing a degradation of performance.
But currently this is a bet and I need volume of usage to know if I can increase that number. Also, each instance is unique and an instance with not many concurrent users can work well over that and just need extra space. Time will tell how plans will adjust
@Aswath Haven't found that to be a problem. I don't pay for traffic and have public guaranteed 500mbps on every server. That is a lot of bandwidth and I doubt any instance (<1000 users) will use all of that. Still, I host everything in Cloud and with load balancing you just need to put another machine up and you keep running. Have you experienced problems with bandwidth and Mastodon instances?
@hugo So I was wondering, do you do (or, do you think you can do) custom instances rules?
I mean say for example, 1280 characters limit but with CWs? Also, each Toot will get deleted in exactly 7x24 hours by default, but there's a toggle to keep a toot permanent (aka not-deleted), per toot? And combinations of customizations thereof?
These are all hypotheticals though, of course hehe 😅✌
@FerdiZ That could all be done.
Example @bea has created https://ephemeral.glitch.social
"toots on this instance are ephemeral; they disappear after a while (between 5 minutes and an hour)"
Also, changing the lengths for toots should not be a major problem, in theory at least.
But all of this requires that you fork the original code and know how to code the changes :)