Under the Deployment section on Searchkick's README file, it has instructions for deploying searchkick when using Heroku or Amazon Elasticsearch.
But since I'm rolling my own Elasticsearch server on EC2, how do I deploy it?
You simply need to use your own EC2 URL on which you have installed your ES cluster and configure it in the config/initializers/elasticsearch.rb
file like this:
ENV["ELASTICSEARCH_URL"] = "http://your.es-server.com:9200"
If you decide to set up BASIC auth then you can add your username/password to the URL as well
ENV["ELASTICSEARCH_URL"] = "http://your-username:your-password@your.es-server.com:9200"