# Google App engine?

**URL:** <https://discuss.elastic.co/t/google-app-engine/4228>\
**Category:** Elasticsearch\
**Created:** [April 13, 2011, 9:09am UTC](https://discuss.elastic.co/t/google-app-engine/4228 "2011-04-13T09:09:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barsk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/barsk/32/13734_2.png) [@Barsk](https://discuss.elastic.co/u/Barsk)\
**Post date:** [April 13, 2011, 9:09am UTC](https://discuss.elastic.co/t/google-app-engine/4228/1 "2011-04-13T09:09:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [April 13, 2011, 10:46am UTC](https://discuss.elastic.co/t/google-app-engine/4228/2 "2011-04-13T10:46:41Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Barsk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/barsk/32/13734_2.png) [@Barsk](https://discuss.elastic.co/u/Barsk)\
**Post date:** [April 13, 2011, 12:05pm UTC](https://discuss.elastic.co/t/google-app-engine/4228/3 "2011-04-13T12:05:14Z")

</div>

```
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?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [April 13, 2011, 12:06pm UTC](https://discuss.elastic.co/t/google-app-engine/4228/4 "2011-04-13T12:06:23Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![David\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david_b/32/3239_2.png) [@David\_B](https://discuss.elastic.co/u/David_B)\
**Post date:** [April 14, 2011, 3:10pm UTC](https://discuss.elastic.co/t/google-app-engine/4228/5 "2011-04-14T15:10:55Z")

</div>

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](mailto: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?

---

<div class="post-metadata">

**Author:** ![Alberto\_Paro\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alberto_paro_2/32/1137_2.png) [@Alberto\_Paro\_2](https://discuss.elastic.co/u/Alberto_Paro_2)\
**Post date:** [April 15, 2011, 1:09pm UTC](https://discuss.elastic.co/t/google-app-engine/4228/6 "2011-04-15T13:09:48Z")

</div>

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](mailto: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?

---

<div class="post-metadata">

**Author:** ![Barsk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/barsk/32/13734_2.png) [@Barsk](https://discuss.elastic.co/u/Barsk)\
**Post date:** [April 15, 2011, 3:54pm UTC](https://discuss.elastic.co/t/google-app-engine/4228/7 "2011-04-15T15:54:39Z")

</div>

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 Banon[shay.ba...@elasticsearch.com](mailto: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?

--  
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](http://www.devo.se)

---

<div class="post-metadata">

**Author:** ![peterob](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@peterob](https://discuss.elastic.co/u/peterob)\
**Post date:** [April 19, 2011, 2:02am UTC](https://discuss.elastic.co/t/google-app-engine/4228/8 "2011-04-19T02:02:50Z")

</div>

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](mailto: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](mailto: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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:08am UTC](https://discuss.elastic.co/t/google-app-engine/4228/9 "2017-07-06T04:08:07Z")

</div>


