Tagged: ElasticSearch

Secure ElasticSearch behind Nginx using Docker on Digital Ocean

I've been a big fan of Elastic Search for a very long time. It's a great piece of software that can be used as an object database as well as a search index. I realize that's not the intention of the software but it works so I'm happy. Elastic Search doesn't have security built in so if you want to lock down your index (which is a good idea) then you'll need to run it behind a proxy. I briefly considered writing something in Go. There's a node.js proxy for Elastic Search but it hasn't been maintained in quite some time.

I want fewer moving pieces. Nginx provides basic authentication. I'm happy with that.

Digital Ocean is a new(ish) hosting company. They run on SSDs. They are pretty cheap and you can have a server running Docker in 55 seconds. I'm happy with that.

Mix all the above and you get a nice bit of software that you can be happy with after you figure out the mixing part. It goes something like this:

###Start Setup an account on Digital Oce...

Continue Reading →