RE: Does Liferay 7.0 CE support GAE?

John Zhang, modified 6 Years ago. New Member Posts: 2 Join Date: 4/12/19 Recent Posts
We have a requirement to migrate a Liferay 7.0 CE version to GAE environment, not sure if this is supported? Can someone please suggest if this is feasible? Thanks.
thumbnail
Christoph Rabel, modified 6 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
Assuming you mean Google App Engine with "GAE".
Well the tldr; is: I don't think so.


Maybe you could get it to work, but I don't see a point in even trying it.

An App Engine provides you with a set of services and is best suited for creating small, distributed microservices, leveraging the services provided by the environment.

Liferay portal is kinda an App Engine itself. It is an environment providing a set of services and instead of creating distributed microservices you create osgi services in the Liferay container.

I am not sure what you are trying to accomplish, but if you want to develop stuff using a microservice approach and using GAE, you are probably better off setting up Liferay as an "extra" instance somewhere and use e.g. OAUTH/JWT tokens to combine your microservices with Liferay.

We do something similar at a customer, he has a microservice environment (basically a ton of docker containers) and a Liferay server used mostly as content/document management. An Apache webserver + some single sign on magic glues everything together unter the same domain name.
Olaf Kock, modified 6 Years ago. New Member Posts: 2 Join Date: 4/12/19 Recent Posts
Thanks so much for the reply, I feel the same way, our current CMS system is bulit on Liferay, but there is this new requirement to ask us to see if it is possible to migrate to Google app engine.

We looked up the documents and found GAE may use Jetty as container, and Liferay 6.2 may support to run on Jetty, just want to see if there is any possibility for Liferay 7.0 to run on GAE. 

​​​​​​​
thumbnail
Christoph Rabel, modified 6 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
You would probably need to create your own runtime.
https://cloud.google.com/appengine/docs/flexible/custom-runtimes/

It should work in theory to create your own Liferay tomcat docker image.