Search code examples
elasticsearchaws-elasticsearch

How to recover aws ElasticSearch Cluster status is Red and cannot access it


My AWS ElasticSearch cluster health goes to Red and I cannot access it, and it always show

<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
</body>
</html>

Please let me know how to recover it? I've made manually backup every day but problem is whenever I access with CURL, it always return to 502 results.

curl -XGET 'https://xxxx2.es.amazonaws.com/_snapshot?pretty'

It always return 502 because my cluster goes to Red.


Solution

  • JVM memory pressure is building up due to out of space issue. And it was working when I've increased storage size and add new node as well.