AWS released the new VPC endpoint feature for ElasticSearch:
vpc_options:
subnet_ids - (Required) List of VPC Subnet IDs for the Elasticsearch domain endpoints to be created in.
This can only accept a single subnet-id currently, was this added as a list for future development for multiple subnet-id's?
Also can an attribute be created to specify the vpc-id?
Any reason this was closed without comment? Definitely still a bug, which I just ran into. At minimum documentation really should be updated to correctly state only a single subnet is supported!
@rickrdvaughn enabling zone awareness will allow you to point to two or more subnets.
set
cluster_config {
zone_awareness_enabled = true
}
``If you enable zone awareness for your domain, Amazon ES places an endpoint into two subnets. The subnets must be in different Availability Zones in the same region. If you don't enable zone awareness, Amazon ES places an endpoint into only one subnet```
https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Most helpful comment
@rickrdvaughn enabling zone awareness will allow you to point to two or more subnets.
set
cluster_config {
zone_awareness_enabled = true
}
``If you enable zone awareness for your domain, Amazon ES places an endpoint into two subnets. The subnets must be in different Availability Zones in the same region. If you don't enable zone awareness, Amazon ES places an endpoint into only one subnet```
https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html