如何public访问Elastic vpc端点

How to public access of Elastic vpc endpoint

我已经在 AWS 中使用 Dev Testing(t2 small)

创建了弹性服务

详情如下

VPCvpc-7620c30b
Security Groups
sg-7e9b1759
IAM RoleAWSServiceRoleForAmazonElasticsearchService
AZs and Subnets
us-east-1e: subnet-2f100a11

如何从外部访问我的 VPC 端点https://vpc-xxx.us-east-1.es.amazonaws.com

Kibana 如下:https://vpc-xx.us-east-1.es.amazonaws.com/_plugin/kibana/

我不在 运行 Ec2 实例上

无法从 VPC 外部直接访问 VPC 端点。

如果您想允许这样做,您将需要在您的 VPC 中使用一个可以连接到 VPC 端点的代理实例,然后通过 EC2 实例代理所有请求以访问该端点。

可获得更多信息 here

来自docs

To access the default installation of Kibana for a domain that resides within a VPC, users must have access to the VPC. This process varies by network configuration, but likely involves connecting to a VPN or managed network or using a proxy server.

最近的AWS博客已经详细解释了一种设置代理服务器的方法post:

该说明也可以修改为不使用 Congnito。

额外的链接,与其他链接,可能更容易设置 ssh 隧道: