-
Notifications
You must be signed in to change notification settings - Fork 131
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
Cloud support #14
Comments
I'd vote for Red Hat OpenShift, as they provide a time-unlimited free-of-charge paas, with support of en eclipse plugin to directly deploy a repository to their cloud. Full support for java, tomcat, jboss, postgresql etc. I myself have deployed some demo applications successfully to openshift. When it cames to paid services, Jelastic would be my preferred one. |
I think Heroku should be considered too. It was pretty easy to configure a vaadin4spring application in it. |
Would you like to share your experiences? Anything that could be changed in the add-on to make it even easier? |
In fact I don't think anything have to be changed in the add-on, since with spring-boot it's very easy to start the application on an embedded application server. All I had to do was to create 2 files on the root folder of my project. File Procfile (to start embedded server on Heroku's designed port): File system.properties (to enable java 7 compiling): It was just a test application, so it's not very complex, but it worked like a charm. One think that I can think that might help sometime in the future is to add support for storing the session data in memcached. There's a project here in Github that does that: https://github.com/nhurion/hello-vaadin-heroku. |
Thanks for the tip! But first, we need to get session data serialization to work with this add-on (currently it does not). It's planned in a future release, but I can't really say when it will happen. |
Why not start with spring-cloud ? |
Personally, I don't really care which cloud providers we are going to support. The more, the better! :-) |
spring-cloud fits for multiple providers. Vaadin based Micro UIs using spring-cloud is something I personally would like to see. Why I showed up actually, to see how/if it would work. |
I've never used spring-cloud myself, so if anybody is interesting to give it a go, then go ahead. Report any problems here, or try to fix them yourself. :-) One potential problem with cloud deployment could be that the session is currently not serializable (see #154). |
I don't know anything about spring-session. Could that help? Something about spring-cloud is it relies more on oauth/tokens. Ideally every service is stateless. Should mention the service-bus "RabbitMQ" etc for passing information around in the backend. |
Currently I'm working with spring-boot, spring-cloud and vaadin4spring on a Cloud-Foundry environment. Seems everything is working except the session serialization problem #154 by using spring-session to store the sessions into a Redis server. |
Which cloud environments are we going to support out-of-the-box?
The text was updated successfully, but these errors were encountered: