orhun / rustypaste

A minimal file upload/pastebin service.
https://blog.orhun.dev/blazingly-fast-file-sharing
MIT License
800 stars 48 forks source link

Host a public instance #326

Open orhun opened 4 months ago

orhun commented 4 months ago

See #279

I'm looking for a new cloud provider to host a public instance of rustypaste. Maybe spinning a Docker container with memory/storage limits in a private VPS would be sufficient.

tessus commented 4 months ago

In which regard is help wanted? Do you want to remove the shuttle code, since shuttle is not very reliable? Maybe you can get a cloud provider to sponsor a mini instance with limited traffic/storage.

e.g. I have a server in a DC, but rustypaste still uploads files before determining that the file is bigger than the limit set in the config, thus the traffic is still counted as traffic. (It doesn't matter if I use curl or the cli, and I was never able to figure out why it works for the tests, but not on my server.) Thus I rather not use my server for a public instance.

orhun commented 4 months ago

Do you want to remove the shuttle code, since shuttle is not very reliable?

Yes, I think it is useless at this point.

Maybe you can get a cloud provider to sponsor a mini instance with limited traffic/storage.

Who should we reach out? Any ideas?

tessus commented 4 months ago

Yes, I think it is useless at this point.

I can have a look.

Who should we reach out? Any ideas?

Hmm, AWS provided mini instances for free at one point. I am not sure, if they still do. I believe Hetzner is quite popular in Europe. Maybe they have demo/test instances available for free. One could even share such an instance with others who also want to run a demo. Maybe they have something like this.

orhun commented 4 months ago

I used AWS for a couple of years, I'd decide against it. Hetzner sounds good!

tessus commented 3 months ago

Just read an article that Lidl is building a cloud system for and in Europe. Maybe give them a ping.

orhun commented 3 months ago

Brought this up to Arch Linux: https://lists.archlinux.org/archives/list/arch-dev-public@lists.archlinux.org/thread/Y7KUOXXVVMXEAVFUPK4I5GXB6J55CIF6/

torrefatto commented 3 months ago

You could try koyeb, we have free instances (not stateful).

ogarcia commented 3 months ago

@orhun Oracle cloud offers up to 4 machines free of charge at all times. They don't have a huge amount of disk (47Gb), but for a basic pastes service in demo mode it should be enough. Besides, in Oracle to switch to “payment mode” you have to enable it deliberately, so it is impossible to get out of the free mode (unlike Amazon and similar that at the slightest you are already being charged).

Another option is to pay for a Kimsufi server at OVH, they are not very expensive and that's what I do with lesma.