AWS-ES-ElasticSearch-Public-Service-Domain
Severity: High
Description: This control ensures that AWS Elasticsearch Service domains are not publicly accessible. AWS Elasticsearch Service domains that are within VPC have an additional layer of security as all traffic remains secure within the AWS Cloud.
Remediation Steps:
Perform following to remove public assess from ES Service domains:
Login to the AWS Management Console at https://console.aws.amazon.com.
Navigate to ES console.
Step 1: Migrate data from one ES to another ES in AWS
Register the same manual snapshot repository on both source and destination by referringhttps://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains-snapshots.html#es-managedomains-snapshot-registerdirectory.Â
Take a manual snapshot of the source Elasticsearch domain by referring https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains-snapshots.html#es-managedomains-snapshot-create.Â
Restore the snapshot to the destination domain by referring https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains-snapshots.html#es-managedomains-snapshot-restore.Â
Step 2:Create new Elasticsearch Service domain
Navigate to ES console.
Click Create a new domain button.
Fill in appropriate settings for the new Elasticsearch Service domain.Â
In the Network configuration section ensure to select VPC access (Recommended) option.
Important:
Network configuration for the Elasticsearch Service domain can't be changed after the domain is created. To change the Network configuration of the domain create a new domain within VPC and migrate old domain data to a new domain.
Reference:
Blue Hexagon Proprietary