Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Elasticsearch on Heroku

I've just finished watching both Railscasts' episodes on Elasticsearch. I've also went ahead and implemented it into my rails application (3.1) and everything is working great. How I want to deploy my app to Heroku but I'm unsure how to get Elasticsearch working on Heroku (specifically on a cedar stack).

Any help would be greatly appreciated!

like image 359
Kyle Decot Avatar asked Dec 14 '11 14:12

Kyle Decot


2 Answers

Heroku now supports ElasticSearch with the Bonsai add on. https://devcenter.heroku.com/articles/bonsai

like image 104
Scott Avatar answered Oct 12 '22 14:10

Scott


You can very easily [and freely ;-)] roll your own ElasticSearch server on Amazon EC2, and just connect to it with your app. This is what we're doing, and it's working nicely...

http://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/

like image 39
Ryan Long Avatar answered Oct 12 '22 15:10

Ryan Long