realm-object-server icon indicating copy to clipboard operation
realm-object-server copied to clipboard

Deploy Realm Object Server to Heroku

Open wigging opened this issue 7 years ago • 24 comments

As a feature request, I would like to suggest an option to easily deploy the Realm Object Server to Heroku. I am aware of the AMI image for Amazon services but a Heroku option would be another easy option for deployment. Are there any plans to support Heroku deployment?

wigging avatar Oct 07 '16 14:10 wigging

Hello, @wigging , and thanks for submitting this feature request. We're happy to hear that you will be able to get up and running using the Amazon AMI (especially considering that you won't incur too high latency and no bandwidth charges, as long as you deploy in the same AZ). We're still considering our options with regards to Heroku integration.

What exactly would you have in mind? Would you like to see a one-click-button solution as there currently exists for 3rd party services, such as hosted Redis and friends, or would you like to have more manual control, and just want help deploying the ROS to a Heroku worker instance?

We'd love to hear what kind of use-cases you have in mind, and how exactly you would deploy the ROS in order to help us focus our development efforts.

radu-tutueanu avatar Oct 07 '16 14:10 radu-tutueanu

I would very much like to see this too. We are looking at using Realm Object Server and this is one of the concerns we have, as the rest of our infrastructure is on Heroku already. As for which is better: Self-hosting would be nice simply because then we have control over the server version, however, if you provided the ability to pick the version being run,as part of your hosted service, say current and 1+ versions back. By being similar to Heroku's Postgres in this way, it would allow Companies time to prepare for version changes.

ChrisHampel avatar Oct 07 '16 15:10 ChrisHampel

Thank you for the input, @ChrisHampel . I can see how this kind of control would be important to you and we will keep that in mind.

radu-tutueanu avatar Oct 07 '16 16:10 radu-tutueanu

@radu-tutueanu When developing iOS and Mac apps, I prefer to spend most of my time developing the app and not the server side logic. So I tend to rely on services like Heroku that will maintain the server. The one-click provision would be the ideal situation.

wigging avatar Oct 07 '16 19:10 wigging

I would love to see this happen!

jaredthecoder avatar Oct 08 '16 02:10 jaredthecoder

We, at Salesforce (and by extension Heroku), would love to see this :), or at least an API for the Realm Server Object. At the moment we can't sync data from the Realm Server Object in Amazon to anything outside realm like Heroku's Postgres. Please let me know if we can connect you with anyone.

kerbelda avatar Oct 11 '16 20:10 kerbelda

@kerbelda Adam, Director of Product, I would love to chat. Could you email me at [email protected]? I have background with Salesforce/Heroku/Heroku Connect so definitely would love to see how we could help.

bigfish24 avatar Oct 11 '16 21:10 bigfish24

+1 This something that I would love to see happen in the near future.

john-brunelle avatar Oct 14 '16 20:10 john-brunelle

+1

ghost avatar Oct 27 '16 08:10 ghost

+1

ynagarjuna2012 avatar Nov 07 '16 04:11 ynagarjuna2012

Any updates on when/if this is happening?

jschoolcraft avatar Nov 07 '16 14:11 jschoolcraft

Would love to see one-click install for Heroku!

scottfister avatar Dec 04 '16 18:12 scottfister

I have installed the RealmObject server using the commands for Ubuntu on AWS, is there a easy way? If anyone wants to share some guides on it. Anyway With Ubuntu configs I manage to have it run.

fpatelm avatar Dec 05 '16 08:12 fpatelm

@fpatelm can you share how you got it done?

sirvon avatar Dec 05 '16 18:12 sirvon

+1 Installation of Realm Object Server on Heroku is the feature that I want!

arminasr avatar Dec 07 '16 12:12 arminasr

+1

NSMyself avatar Dec 13 '16 23:12 NSMyself

How can it be installed on Heroku if Heroku doesn't persist data in dynos restart?

ArifADS avatar Dec 16 '16 14:12 ArifADS

It would presumably have to be provided as a Heroku Add-On, much like other database providers like mLab.

jpsim avatar Dec 16 '16 19:12 jpsim

@jpsim forgive me if i'm wrong, but mLab offers they own servers to store the MongoDB data. The Add On basically only creates the accounts, mongo instance, set env variables and links it to your Heroku Account.

While Realm doesn't offer they servers to store the Realm Data. But, I actually don't know if a Heroku Add-On has the ability to store persistent data in file system.

ArifADS avatar Dec 16 '16 21:12 ArifADS

Realm would have to run servers to provide a Heroku add-on.

jpsim avatar Dec 16 '16 22:12 jpsim

You can try my docker image. I am able to run it on openshift online. https://hub.docker.com/r/viksgyl/realm-object-server/

viksgyl avatar Mar 03 '17 11:03 viksgyl

Any updates on this?

PierBover avatar Jun 17 '17 01:06 PierBover

No, it is simply not possible to run ROS on Heroku. We would need to provide a cloud service that is simply sold through the Heroku marketplace as an add-on as mentioned above. This could happen but I don't have any specific dates I can share.

bigfish24 avatar Jun 30 '17 21:06 bigfish24

I would be interested in ROS as a service regardless of whether it is on Heroku or some other system. I simply don't want to maintain servers at this point and I'm willing to pay a service to do it for me. They can sweat the uptime challenges instead of me. I'll focus on my code. I love the AWS model of only charging for usage with Lambda/DynamoDB and ideally I'd love to see an offering like that from Realm.

regnatarajan avatar Jul 04 '17 06:07 regnatarajan