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

feat: on-prem, cloud-prem or self-hosting #485

Closed
eseidel opened this issue May 12, 2023 · 35 comments
Closed

feat: on-prem, cloud-prem or self-hosting #485

eseidel opened this issue May 12, 2023 · 35 comments

Comments

@eseidel
Copy link
Contributor

eseidel commented May 12, 2023

We should publish instructions on how to use Shorebird from on-prem, cloud-prem or self-hosting.

Sentry is an interesting example as they offer both self-hosting for free:
https://github.com/getsentry/self-hosted/blob/master/LICENSE

As well as on-prem:
https://sentry.io/pricing/

Expo appears to have historically offered self-hosting, but no longer does?
https://docs.expo.dev/archive/classic-updates/hosting-your-app/

See also #458 where we're tracking towards having clearer guidance on our intended pricing post 1.0.

Update:

I've learned a bit more about this recently and there appear to be two main options:

  1. "on-prem" bundle up and hand customers a VM image for them to install/manage themselves on whatever hardware/setup needed.
  2. "cloud-prem" customers provide an IAM role specific to shorebird which it then uses to stand up and maintain a cluster within their cloud provider.
@kenzouno1
Copy link

waiting this feature

@liu731
Copy link

liu731 commented Jun 16, 2023

expect!

@sagar-tide
Copy link

This is really important for a fintech company. Since our security might not allow us to host binary on a third party cloud.

@emiliev
Copy link

emiliev commented Jul 3, 2023

I'm really looking forward for this to be released!

@shivamkj
Copy link

Eagerly waiting for self-hosting Shorebird Flutter code push.

@Medformatik
Copy link

The possibility to host shorebird ourselves is very important for us. Of course, Shorebird does not process any highly sensitive personal data (GDPR), but the data transfer to the USA is still problematic, which is why we are currently removing all US services from our app. Nevertheless, we would very much like to use Shorebird.

@hey-nicolasklein
Copy link

Looking out for this feature 👀

@eseidel
Copy link
Contributor Author

eseidel commented Jul 29, 2023

https://commonpaper.com/standards/cloud-service-agreement/ was mentioned by another founder as being useful. Also with the suggestion of hosting the "data plane" on-prem (where any customer data, binaries, etc. live), while keeping the "control plane" (UI, etc) centrally hosted for simplicity. 🤷

@eseidel
Copy link
Contributor Author

eseidel commented Jul 29, 2023

https://www.replicated.com/ was also mentioned as a product which potentially can help with such. 🤷

@highread
Copy link

highread commented Aug 1, 2023

I've been really waiting for this feature, it's absolutely necessary for commercial purposes.

@mohamad72
Copy link

Waitiiiiiing so much

@MJHelloWorld
Copy link

May I ask when self-hosting will be supported?

@eseidel
Copy link
Contributor Author

eseidel commented Aug 15, 2023

We don't have any specific date yet. Right now we're focused on bringing iOS to feature parity with Android and supporting the large apps adopting Shorebird. I expect this is still a couple months away.

@canewsin
Copy link

@eseidel are all the components of shorebird open sourced ?

@eseidel
Copy link
Contributor Author

eseidel commented Aug 17, 2023

@eseidel are all the components of shorebird open sourced ?

Most are open. But currently our custom Dart interpreter and server source code are not.

@davidbt1
Copy link

There are no words to describe how important this feature is.

@newcolor1234
Copy link

This is very important, the sooner the better

@mohamad72
Copy link

Ok in the new version ios isuues fixed.
Now it's time to add this feature
Please 🥺🙏

@hairy-tortoise
Copy link

Any update on this?

@eseidel
Copy link
Contributor Author

eseidel commented Nov 18, 2023

Any update on this?

No update. We're still entirely focused on shipping iOS. #674

@thanhdatvo
Copy link

thanhdatvo commented Nov 27, 2023

Hi @eseidel
Thank you for creating such an useful tool for developers and small companies.
I have a question: will users be charged when using self-hosting shorebird, like license fee or something?

Thank you,

@eseidel
Copy link
Contributor Author

eseidel commented Nov 29, 2023

Hi @eseidel Thank you for creating such an useful tool for developers and small companies. I have a question: will users be charged when using self-hosting shorebird, like license fee or something?

We don't yet have a plan for how self-hosting will work or what costs will be involved. We've not looked at it in detail yet.

@light-speak
Copy link

Is there any new progress on this issue now, because App users cannot connect to Google Cloud normally?

@daniel-tan1
Copy link

hope to see this feature soon

@theniceboy
Copy link

With the 1.0 release, will hope to see this planned

@abbos2101
Copy link

I've been really waiting for this feature, it's absolutely necessary for commercial purposes.

@Heloore
Copy link

Heloore commented May 5, 2024

We're also waiting for this feature! Looking forward to see it in future releases

@eseidel
Copy link
Contributor Author

eseidel commented Jun 27, 2024

I recently wrote up a design doc about how we could implement a simple "cloud prem". The proposal there would be that we support providing ones own S3 bucket (via any provider which supports the S3 protocol). Shorebird would still host the UI (console.shorebird.dev) and service the patch-check requests (api.shorebird.dev) but all of the storage for your account would be controlled under your own S3 bucket which you would provide a Shorebird service account access to.

I would be interested to hear from others if such a solution would or would not solve the desire for "on prem" for their businesses. I'd be happy to discuss in more detail if there is serious interest.

@celvinren
Copy link

I recently wrote up a design doc about how we could implement a simple "cloud prem". The proposal there would be that we support providing ones own S3 bucket (via any provider which supports the S3 protocol). Shorebird would still host the UI (console.shorebird.dev) and service the patch-check requests (api.shorebird.dev) but all of the storage for your account would be controlled under your own S3 bucket which you would provide a Shorebird service account access to.

I would be interested to hear from others if such a solution would or would not solve the desire for "on prem" for their businesses. I'd be happy to discuss in more detail if there is serious interest.

Good to hear this, but some of the industries, like my company, we only allow to use Azure and Amazon cloud for security and privacy issue. If we want to use other services, we need to get approval and very hard. We cannot use firebase because google cloud is not allowed in our company. I think same as some industries like bank or fintech companies.

This is the reason why we need self host. If go through console.shorebird.dev, it might be still a blocker. If we could run on docker or amazon cloud app something like that, that would be good.

@eseidel
Copy link
Contributor Author

eseidel commented Jul 4, 2024

@celvinren If we were to offer a centrally-hosted (not-self-hosted), on Azure/Amazon instead of Google Cloud would that be sufficient? Or self-hosting everything the only allowed option in your case?

We've had lots of people ask for "self hosting" but it's not yet at all clear what a "sufficient" solution would look like in order for us to evaluate costs of implementing/maintaining such would be.

@onlyamessenger
Copy link

@eseidel What about a centrally hosted docker image that enterprise users can run on their own metal? Or would that give up too much "secret sauce"?

@Medformatik
Copy link

Not only for Enterprise customers. Regarding the GDPR, it is simply best to be able to self-host everything yourself. This may not be in line with the current trend, but I would still be very happy about this option. Also when it comes to data sovereignty and control.

@eseidel
Copy link
Contributor Author

eseidel commented Jul 8, 2024

Oh, we don't have any secret sauce in our infra 🤣 It's mostly a cost-to-implement/maintenance concern of having to worry about both centrally hosted infra, as well as supporting customers running (possibly older) copies.

@lwj1994
Copy link

lwj1994 commented Jul 14, 2024

I recently wrote up a design doc about how we could implement a simple "cloud prem". The proposal there would be that we support providing ones own S3 bucket (via any provider which supports the S3 protocol). Shorebird would still host the UI (console.shorebird.dev) and service the patch-check requests (api.shorebird.dev) but all of the storage for your account would be controlled under your own S3 bucket which you would provide a Shorebird service account access to.

I would be interested to hear from others if such a solution would or would not solve the desire for "on prem" for their businesses. I'd be happy to discuss in more detail if there is serious interest.

Good idea,i need it

@eseidel
Copy link
Contributor Author

eseidel commented Jul 17, 2024

I've had extensive discussions with the team, and while we recognize a desire for some form of self-hosting, we do not have any plans to add such in the near future.

Two main concerns:

  1. Affording the complexity. Supporting additional configurations (potentially lagging ones) for copies of our infrastructure is more than we're able to afford at this time.
  2. We're focused on wide adoption. Right now I've asked the team to focus on issues which apply to thousands of customers over ones which apply to only a few. So far self-hosting requests have been (and I expect to continue to be) a minority of our customer requests.

When I've asked around to other founders about when they implemented self-hosting, most have not or some who have, have regretted the choice (the contracts are nice money, but the complexity is high). The consensus of my (limited) survey was it was best to stick with a centrally hosted solution for a long time (certainly when as small as we are). I don't know if that's good advice, but it was the advice I was able to find.

I recognize that my response here is unlikely to be what folks were hoping to hear. I expect we will re-visit self-hosting in the future, but that future is likely at least many months from now. As such, I plan to update our documentation (including this bug) to make clear that we have no plans to support self hosting at this time.

Thank you all for your understanding and continued support and patience while we build out Shorebird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests