2

I have a VPC for elasticsearch nodes in AWS behind an internal load balancer. How can I access the nodes from a Heroku Ruby application.

I can't have the ES nodes as public facing.

Should I instead use a proxy to secure Elasticsearch and reach the proxy from the ruby app with some URL key? Is there a simpler way?

1 Answer 1

2

You probably want to look at a proxy Authentication mechanism. I personally would recommend using something like Squid

You can read more about its Authentication support here:

http://wiki.squid-cache.org/Features/Authentication

This is a another post that talks about a similar workflow to what you have:

HTTP Spec: Proxy-Authorization and Authorization headers

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you Rico, I did some research earlier and decided to use nginx. Appreciate the help. Voted up.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.