ElasticSearch on Heroku

I've been using ElasticSearch for a while now, really cannot live without
it now when I got used. :slight_smile: So far running on EC2 but since Heroku released
support for Java (Cedar stack), I wonder if anyone had any luck getting ES
running on there? I spent an hour trying but since I'm not from the Java
world I have real trouble understand Maven - or launching ElasticSearch
without binary "properly" - enough to get it to work. It was more like an
experiment for me, so I'll just use own EC2 setup - but it would be
interesting to see if it's even possible.

Would be greatful for any details, thanks in advice.

No experience with Heroku here ... But if you need to build ES via
Maven you can have a look into:

And here is how you would start it via Java:

or you could even create a war file:
http://elasticsearch-users.115913.n3.nabble.com/Wares-Plugin-Deploying-elasticsearch-as-a-servlet-td3358703.html

Peter.

On 23 Nov., 09:50, Jonas Grimfelt gri...@gmail.com wrote:

I've been using Elasticsearch for a while now, really cannot live without
it now when I got used. :slight_smile: So far running on EC2 but since Heroku released
support for Java (Cedar stack), I wonder if anyone had any luck getting ES
running on there? I spent an hour trying but since I'm not from the Java
world I have real trouble understand Maven - or launching Elasticsearch
without binary "properly" - enough to get it to work. It was more like an
experiment for me, so I'll just use own EC2 setup - but it would be
interesting to see if it's even possible.

Would be greatful for any details, thanks in advice.

Thanks Karusell, looks like this would bring me a bit further in fact. Will
have a look at them next experimental session and get back with status if I
get anywhere with it. :slight_smile:

You still need disk space .. Heroku is a read only system.. only available are databases and a volatile tmp dir.. I don;t think it will work.

--
Peter Berkenbosch
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Wednesday, November 23, 2011( w47 ) at 1:04 PM, Jonas Grimfelt wrote:

Thanks Karusell, looks like this would bring me a bit further in fact. Will have a look at them next experimental session and get back with status if I get anywhere with it. :slight_smile:

Was thinking about using the Amazon S3 gateway.

http://www.elasticsearch.org/guide/reference/modules/gateway/s3.html

Ah.. that sounds like a really cool solution..

--
Peter Berkenbosch
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Thursday, November 24, 2011( w47 ) at 4:21 PM, Jonas Grimfelt wrote:

Was thinking about using the Amazon S3 gateway.

Elasticsearch Platform — Find real-time answers at scale | Elastic

Keep in mind that write access to S3 from an outside network (non-EC2) is
relatively very slow. I'm not sure what the direct performance issues are
on ES's S3 gateway, but there is probably some kind of performance hit or a
delay on writes.

Heroku runs EC2 so that should not be an issue if S3 region is respected.