Reputation: 7216
We currently have a Rails server running on Heroku and would like to add Elasticsearch. This would normally be very easy to set up but the problem is that it would be $150/ month to handle our 5 million+ rows of data (definitely over budget).
On AWS they have an Elasticsearch service that's a lot cheaper but our concern is that using AWS Elasticsearch with Heroku Rails could lead to latency issues. Is it possible to use an AWS service with Heroku and have them be in the same server farm? (I believe Heroku uses AWS anyways)
Upvotes: 1
Views: 334
Reputation: 200562
As documented here, Heroku US uses Amazon region us-east-1
, Amazon's Virginia region. Heroku EU uses Amazon region eu-west-1
, Amazon's Ireland region. You need to setup your ElasticSearch service on AWS in the same region as your Heroku servers in order to ensure low latency.
You can read more about AWS regions here.
Upvotes: 2