Adding instance to elasticsearch security group
installing aws plugin
adding elasticsearch role