Intermittent Connection Timeouts and "No Living Connections" Issues with AWS OpenSearch

Hi everyone,

We have hosted our Elasticsearch using AWS OpenSearch service with the following configuration:

  • Instance type: m5.large.search
  • EBS volume size: 150 GiB
  • Provisioned IOPS: 3000 IOPS
  • Provisioned Throughput: 400 MiB/s

Our setup includes 3 data nodes and 3 master nodes, with around 15 indices and a total of 30 shards (1 primary and 1 replica per index).

We have 14 applications connecting to the cluster using the npm Elasticsearch library (version 16.0.0). However, we are experiencing intermittent connection timeouts both from our applications and the Kibana console. During these periods, we also encounter "No living connections" errors.

Could anyone guide us on how to resolve this issue?

Thank you in advance for your help.

Regards,
Ganapathi Subramanian

OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance. See What is OpenSearch and the OpenSearch Dashboard? | Elastic for more details.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

As the bot pointed out OpenSearch is not supported here. As this relates to a specific environment in a hosted service I suspect you will need to contact AWS support, but you could also try the OpenSearch forum.

Welcome!

Adding to @Christian_Dahlqvist 's answer.

Did you look at Cloud by Elastic, also available if needed from AWS Marketplace?

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Vector Search, Security, Monitoring, Reporting, ES|QL, Canvas, Maps UI, Alerting and built-in solutions named Observability, Security and what is coming next :slight_smile: ...