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

Cloud support #14

Open
peholmst opened this issue Jan 31, 2014 · 11 comments
Open

Cloud support #14

peholmst opened this issue Jan 31, 2014 · 11 comments
Labels

Comments

@peholmst
Copy link
Owner

Which cloud environments are we going to support out-of-the-box?

@membersound
Copy link

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.

@matheusbodo
Copy link

I think Heroku should be considered too. It was pretty easy to configure a vaadin4spring application in it.

@peholmst
Copy link
Owner Author

Would you like to share your experiences? Anything that could be changed in the add-on to make it even easier?

@matheusbodo
Copy link

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):
web: java $JAVA_OPTS -Dserver.port=$PORT -jar target/artifact.war

File system.properties (to enable java 7 compiling):
java.runtime.version=1.7

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.

@peholmst
Copy link
Owner Author

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.

@gjrtimmer
Copy link
Collaborator

Why not start with spring-cloud ?

@peholmst
Copy link
Owner Author

peholmst commented Feb 3, 2015

Personally, I don't really care which cloud providers we are going to support. The more, the better! :-)

@ccit-spence
Copy link

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.

@peholmst
Copy link
Owner Author

peholmst commented Feb 3, 2015

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).

@ccit-spence
Copy link

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.

@peholmst peholmst added this to the 0.0.8.RELEASE milestone Feb 3, 2015
@michahirsch
Copy link

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.

@peholmst peholmst removed this from the 0.0.9.RELEASE milestone Jun 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants