Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Other]: Self-hosting Shuttle on own server or own cloud #1584

Open
jonaro00 opened this issue Jan 25, 2024 · 3 comments
Open

[Other]: Self-hosting Shuttle on own server or own cloud #1584

jonaro00 opened this issue Jan 25, 2024 · 3 comments
Labels
Feature Poll Upvote this issue if you want to see this feature in Shuttle S-Investigation This issue needs further investigation or design to figure out a solution

Comments

@jonaro00
Copy link
Member

jonaro00 commented Jan 25, 2024

"Self-hosting" Shuttle is a common question we get, and it has many interpretations. Here are 4 interpretations, and our stance towards them:

  • Running a single project locally with cargo shuttle run --release --external with Docker integration for databases: This is currently possible and might be enough for some light use cases.
  • Running the Shuttle Docker stack on a single server: Might be possible, but requires lots of manual modification and good understanding of Shuttle. We are not currently focused on this use case. This will soon be impossible due to Shuttle's infra going cloud-native.
  • Full deployment of Shuttle's infra into your own AWS account or other clouds (aka "Bring your own cloud" (BYOC)): This is a huge project and is currently far away. Will likely not be possible.
  • Running a "Shuttle orchestrator" in your own cloud that allows you to manage Shuttle apps that are hosted in your own cloud, via the central Shuttle API: This is an idea that we might explore in the future.

Related: #976 (comment)


This issue is a part of the Product Feature Poll (all issues). React with 👍 if you want this feature. Comment if you have suggestions related to this feature.

@jonaro00 jonaro00 added S-Blocked Implementing this is currently blocked by other issues and/or upstream dependencies Feature Poll Upvote this issue if you want to see this feature in Shuttle labels Jan 25, 2024
@Flash1232
Copy link

Heroku/ Dokku-style deployment of Rust Web apps would definitely be a game-changer, as currently, it involves a lot of manual work, even cross-linking of the binary to use in a docker container in some cases. Having a PaaS-Tool like Shuttle to self-host (cases 2 and 3 mentioned above) and quickly deploy and update Rust apps would thus be very nice.

I understand this would potentially be orthogonal to your business interests at the moment though.

@erlend-sh
Copy link

I understand this would potentially be orthogonal to your business interests at the moment though.

True. This is why I’m a proponent of the source-available Polyform NonCommercial license for this kind of work, since it resolves the disincentive that otherwise prevents the work from being shared at all. It helps proprietary layers go from closed to minimally open.

For some similar prior art, see https://element.io/blog/element-starter-open-source-meets-on-premise-collaboration/

@jonaro00
Copy link
Member Author

Updated the issue with one new item, and updated descriptions.

@jonaro00 jonaro00 added S-Investigation This issue needs further investigation or design to figure out a solution and removed S-Blocked Implementing this is currently blocked by other issues and/or upstream dependencies labels Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Poll Upvote this issue if you want to see this feature in Shuttle S-Investigation This issue needs further investigation or design to figure out a solution
Projects
None yet
Development

No branches or pull requests

3 participants