Install discovery-ec2 plugin

HI everyone , I’m trying to install the discovery-ec2 plugin on opensaerch-1.0.0.

/bin/opensearch-plugin install -b discovery-ec2
-> Installing discovery-ec2
-> Downloading discovery-ec2 from opensearch
-> Failed installing discovery-ec2
-> Rolling back discovery-ec2
-> Rolled back discovery-ec2
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: https://artifacts.opensearch.org/releases/plugins/discovery-ec2/1.0.0/discovery-ec2-1.0.0.zip.asc
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1932)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1528)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
	at java.base/java.net.URL.openStream(URL.java:1167)
	at org.opensearch.plugins.InstallPluginCommand.urlOpenStream(InstallPluginCommand.java:482)
	at org.opensearch.plugins.InstallPluginCommand.verifySignature(InstallPluginCommand.java:622)
	at org.opensearch.plugins.InstallPluginCommand.downloadAndValidate(InstallPluginCommand.java:600)
	at org.opensearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:306)
	at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:260)
	at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:237)
	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:99)
	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140)
	at org.opensearch.cli.MultiCommand.execute(MultiCommand.java:104)
	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140)
	at org.opensearch.cli.Command.main(Command.java:103)
	at org.opensearch.plugins.PluginCli.main(PluginCli.java:60)

when i try to install it offline (with local dir) from
https://artifacts.elastic.co/downloads/elasticsearch-plugins/discovery-ec2/discovery-ec2-7.14.0.zip.

./bin/opensearch-plugin install plugins/discovery-ec2
-> Installing plugins/discovery-ec2
-> Failed installing plugins/discovery-ec2
-> Rolling back plugins/discovery-ec2
-> Rolled back plugins/discovery-ec2
A tool for managing installed opensearch plugins

Non-option arguments:
command              

Option             Description        
------             -----------        
-E <KeyValuePair>  Configure a setting
-h, --help         Show help          
-s, --silent       Show minimal output
-v, --verbose      Show verbose output
ERROR: Unknown plugin plugins/discovery-ec2

Maybe someone know the proper way to install this plugin?
thank you all !

Hi @idanl

Where does it say in the docs that discovery-ec2 is supported by OpenSearch?
Was it working for you in ODFE?

The plug-in version is 7.14.0, however OpenSearch is a fork of Elasticsearch 7.10.2.
Have you tried with older plug-in version?

HI, maybe you right, i did not tried with older version. which version do you recommend ?

This group regards security plug-in and discovery-ec2 is not the one. I’d suggest to look for more detailed information at AWS support.

However, I’ve installed dicovery-ec2 ver 7.10.2 on ODFE 1.13.2. I never used that so I couldn’t test it. But, at least installation completes and plug-in is present in the plugin list (elasticsearch-plugin list).

when i try to install discovery-ec2 ver 7.10.2 i get this error sudo /tmp/opensearch/opensearch-1.0.0/bin/opensearch-plugin install file:$(pwd)/discovery-ec2-7.10.2.zip -> Installing file:/home/centos/discovery-ec2-7.10.2.zip -> Downloading file:/home/centos/discovery-ec2-7.10.2.zip [=================================================] 100%?? -> Failed installing file:/home/centos/discovery-ec2-7.10.2.zip -> Rolling back file:/home/centos/discovery-ec2-7.10.2.zip -> Rolled back file:/home/centos/discovery-ec2-7.10.2.zip Exception in thread "main" java.lang.IllegalArgumentException: property [opensearch.version] is missing for plugin [discovery-ec2] at org.opensearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:194) at org.opensearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:797) at org.opensearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:856) at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:263) at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:237) at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:99) at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140) at org.opensearch.cli.MultiCommand.execute(MultiCommand.java:104) at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140) at org.opensearch.cli.Command.main(Command.java:103) at org.opensearch.plugins.PluginCli.main(PluginCli.java:60)