简体   繁体   English

AWS Elasticsearch&VPC - 从我的固定IP配置网络访问

[英]AWS Elasticsearch & VPC - configuring network access from my fixed IP

I am unable to access AWS Elasticsearch Kibana with a browser. 我无法使用浏览器访问AWS Elasticsearch Kibana。

I have set up an Elasticsearch instance within my VPC exactly as described here; 我在我的VPC中设置了一个完全如此处所述的Elasticsearch实例;

https://aws.amazon.com/blogs/aws/amazon-elasticsearch-service-now-supports-vpc/ https://aws.amazon.com/blogs/aws/amazon-elasticsearch-service-now-supports-vpc/

I used the default IAM access policy template which is basicaly all current IAM profiles (*) 我使用默认的IAM访问策略模板,该模板基本上是所有当前的IAM配置文件(*)

My EC2 webapp (xenforo forum) is happily connected and chugging away. 我的EC2 webapp(xenforo论坛)很愉快地联系在一起并且正在消失。

I would like to access my elasticsearch domain kibana endpoint via browser from my home PC. 我想通过家用电脑上的浏览器访问我的elasticsearch域kibana端点。

The security group I attached to the cluster configuration includes a rule to allow ALL TCP inbound from my home broadband fixed IP address. 我附加到群集配置的安全组包括允许从我的家庭宽带固定IP地址入站的所有TCP的规则。

I log into the AWS console, click the Kibana link from the elasticsearch domain overview and... nothing, times out. 我登录AWS控制台,点击elasticsearch域概述中的Kibana链接,然后......没有,超时。

I have read everything I can find on the matter. 我已经阅读了有关此事的所有内容。 No joy - except perhaps I should be signing my https requests as well which seems crazy complicated and my understanding is that IP access should be configurable with security groups? 没有快乐 - 除非我应该签署我的https请求,这看起来很复杂,我的理解是IP访问应该可以配置安全组吗?

Can anyone clarify? 任何人都可以澄清吗?

to access Kibana, it seems the only way is pass proper header with your requests to. 访问Kibana,似乎唯一的方法是通过正确的标头与您的请求。

We solved it by using https://github.com/abutaha/aws-es-proxy - its not niciest, but works for us. 我们使用https://github.com/abutaha/aws-es-proxy解决了它 - 它不是最好的,但对我们有用。

  • requires to have aws-cli installed 需要安装aws-cli
  • requires to do bit of setup, but works well afterwards 需要进行一些设置,但之后效果很好

hope it helps 希望能帮助到你

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM