Google App engine?

Is it possible to run an ES cluster in Google App Engine?

No, its too restricted env to run on...
On Wednesday, April 13, 2011 at 12:09 PM, Kristian Jörg wrote:

Is it possible to run an ES cluster in Google App Engine?

But running a client in Google App engine would work right? 


Then I could run the ES cluster in another cloud environment and
"talk" to that?




Shay Banon skrev 2011-04-13 12:46:
<blockquote cite="mid:4AA8C7EFC3044FE690237B5EA5E683D0@elasticsearch.com" type="cite">No, its too restricted env to run on...

On Wednesday, April 13, 2011 at 12:09 PM, Kristian Jörg wrote:

Is it possible to run an ES cluster in Google App Engine?

Yes, but you will need to write your client and talk to elasticsearch using the REST API.
On Wednesday, April 13, 2011 at 3:05 PM, Kristian Jörg wrote:

But running a client in Google App engine would work right?
Then I could run the ES cluster in another cloud environment and "talk" to that?

Shay Banon skrev 2011-04-13 12:46:

No, its too restricted env to run on...
On Wednesday, April 13, 2011 at 12:09 PM, Kristian Jörg wrote:

Is it possible to run an ES cluster in Google App Engine?

You could do this with PyES (assuming you use python App Engine) -
although urllib3 which it uses to communicate will almost certainly
not work out of the box. Also bear in mind that App Engine urlfetch
only lets you make requests to :80 and :443

On Apr 13, 1:06 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Yes, but you will need to write your client and talk to elasticsearch using the REST API.

On Wednesday, April 13, 2011 at 3:05 PM, Kristian Jörg wrote:

But running a client in Google App engine would work right?
Then I could run the ES cluster in another cloud environment and "talk" to that?

Shay Banon skrev 2011-04-13 12:46:

No, its too restricted env to run on...
On Wednesday, April 13, 2011 at 12:09 PM, Kristian Jörg wrote:

Is it possible to run an ES cluster in Google App Engine?

Urllib3 is integrated in pyes and depends only on urrlib/urllib2 that should be available in python.

But I don't know the limitation of GAE, but I think that could be easy to adding a new module in PyES that uses the urlfetch. (you need only to change the _send_request on ES class to manage it. Quite trivial). If it'll work, send me some advices and I can implement a module to manage GAE connections in pyES.

Changing the netty port to 80 can be done in ES so not problem to public ES on port 80.

Hi,
Alberto Paro

Il giorno 14/apr/2011, alle ore 17.10, David B. ha scritto:

You could do this with PyES (assuming you use python App Engine) -
although urllib3 which it uses to communicate will almost certainly
not work out of the box. Also bear in mind that App Engine urlfetch
only lets you make requests to :80 and :443

On Apr 13, 1:06 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Yes, but you will need to write your client and talk to elasticsearch using the REST API.

On Wednesday, April 13, 2011 at 3:05 PM, Kristian Jörg wrote:

But running a client in Google App engine would work right?
Then I could run the ES cluster in another cloud environment and "talk" to that?

Shay Banon skrev 2011-04-13 12:46:

No, its too restricted env to run on...
On Wednesday, April 13, 2011 at 12:09 PM, Kristian Jörg wrote:

Is it possible to run an ES cluster in Google App Engine?

Hi,

unfortunaletly my app is written in Java, so I would need a Java
solution for this...

Thanx anyways!

Alberto Paro skrev 2011-04-15 15:09:

Urllib3 is integrated in pyes and depends only on urrlib/urllib2 that should be available in python.

But I don't know the limitation of GAE, but I think that could be easy to adding a new module in PyES that uses the urlfetch. (you need only to change the _send_request on ES class to manage it. Quite trivial). If it'll work, send me some advices and I can implement a module to manage GAE connections in pyES.

Changing the netty port to 80 can be done in ES so not problem to public ES on port 80.

Hi,
Alberto Paro

Il giorno 14/apr/2011, alle ore 17.10, David B. ha scritto:

You could do this with PyES (assuming you use python App Engine) -
although urllib3 which it uses to communicate will almost certainly
not work out of the box. Also bear in mind that App Engine urlfetch
only lets you make requests to :80 and :443

On Apr 13, 1:06 pm, Shay Banonshay.ba...@elasticsearch.com wrote:

Yes, but you will need to write your client and talk to elasticsearch using the REST API.

On Wednesday, April 13, 2011 at 3:05 PM, Kristian Jörg wrote:

But running a client in Google App engine would work right?
Then I could run the ES cluster in another cloud environment and "talk" to that?
Shay Banon skrev 2011-04-13 12:46:

No, its too restricted env to run on...
On Wednesday, April 13, 2011 at 12:09 PM, Kristian Jörg wrote:

Is it possible to run an ES cluster in Google App Engine?

--
Med vänlig hälsning
Kristian Jörg

Devo IT AB
Tel: 054 - 22 14 58, 0709 - 15 83 42
E-post: kristian.jorg@devo.se
Webb: http://www.devo.se

Hello,

did you create module for GAE or its still on your todo list?

Thanks

On Apr 15, 3:09 pm, Alberto Paro alberto.p...@gmail.com wrote:

Urllib3 is integrated in pyes and depends only on urrlib/urllib2 that should be available inpython.

But I don't know the limitation of GAE, but I think that could be easy to adding a new module in PyES that uses the urlfetch. (you need only to change the _send_request on ES class to manage it. Quite trivial). If it'll work, send me some advices and I can implement a module to manage GAE connections in pyES.

Changing the netty port to 80 can be done in ES so not problem to public ES on port 80.

Hi,
Alberto Paro

Il giorno 14/apr/2011, alle ore 17.10, David B. ha scritto:

You could do this with PyES (assuming you usepythonApp Engine) -
although urllib3 which it uses to communicate will almost certainly
not work out of the box. Also bear in mind that App Engine urlfetch
only lets you make requests to :80 and :443

On Apr 13, 1:06 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Yes, but you will need to write your client and talk to elasticsearch using the REST API.

On Wednesday, April 13, 2011 at 3:05 PM, Kristian Jörg wrote:

But running a client in Google App engine would work right?
Then I could run the ES cluster in another cloud environment and "talk" to that?

Shay Banon skrev 2011-04-13 12:46:

No, its too restricted env to run on...
On Wednesday, April 13, 2011 at 12:09 PM, Kristian Jörg wrote:

Is it possible to run an ES cluster in Google App Engine?