New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ec2-discovery plugin document is not accurate. #27464
Comments
cc @dadoonet |
@m15o @dadoonet
|
@NeckBeardPrince this is expected. The doc says that the endpoint should be one of those: http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region |
Document that we are using by default `ec2.us-east-1.amazonaws.com` as the EC2 endpoint if not explicitly set. Also switch to non deprecated method when building the EC2 Client. Closes elastic#27464.
Yep, this is a pretty painful experience as it is misleading. Sadly just spent a couple of hours trying to figure out why my eu-west-1 instances were not doing discovery after upgrading and came across this whilst trying to figure out how to specify a region. Definitely keen on #27924 to bring behaviour into line with the documentation. |
Until #27924 happens, let's document that it actually defaults to ec2.us-east-1.amazonaws.com. |
I split elastic#27925 in two parts: * The documentation fix (this PR) * The code fix (still in elastic#27925) Closes elastic#27464.
Pinging @elastic/es-distributed |
+1 |
Just wanted to say that i also just got bit by this one. |
Today our docs claim that the `discovery-ec2` plugin auto-detects the EC2 endpoint, but this is not the case. This fixes these docs. Closes #27464.
Today our docs claim that the `discovery-ec2` plugin auto-detects the EC2 endpoint, but this is not the case. This fixes these docs. Closes #27464.
Today our docs claim that the `discovery-ec2` plugin auto-detects the EC2 endpoint, but this is not the case. This fixes these docs. Closes #27464.
Elasticsearch version: 6.0.0
Plugins installed: ec2-discovery
Description of the problem including expected versus actual behavior:
This document is correct if the plugin uses AmazonEC2ClientBuilder to build AmazonEC2Client instance. But AmazonEC2Client is created directly, so the endpoint is set to default endpoint, "https://ec2.us-east-1.amazonaws.com."
Related #25619
The text was updated successfully, but these errors were encountered: