EC2 Discovery pluginedit

The EC2 discovery plugin provides a list of seed addresses to the discovery process by querying the AWS API for a list of EC2 instances matching certain criteria determined by the plugin settings.

If you are looking for a hosted solution of Elasticsearch on AWS, please visit


Version 8.16.0 of the Elastic Stack has not yet been released.

This plugin can be installed using the plugin manager:

sudo bin/elasticsearch-plugin install discovery-ec2

The plugin must be installed on every node in the cluster, and each node must be restarted after installation.

You can download this plugin for offline install from To verify the .zip file, use the SHA hash or ASC key.


The plugin can be removed with the following command:

sudo bin/elasticsearch-plugin remove discovery-ec2

The node must be stopped before removing the plugin.