Elasticsearch domain should enable encryption

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Description

Implement encryption at rest for your Amazon Elasticsearch (ES) domain with the AWS KMS service.

Rationale

Implementing encryption at rest protects your domain from unauthorized access and ensures security and compliance requirements are met.

Remediation

From the console

Follow the Enabling Encryption of Data at Rest docs to learn how to implement encryption for your domain.

From the command line

  1. Run describe-elasticsearch-domain with your ES domain to return configuration metadata.

    aws es describe-elasticsearch-domain
        --domain-name your-es-domain
    
  2. Run create-elasticsearch-domain with your domain name and encryption-at-rest-options. Use the metadata returned in the previous step to create and relaunch your ES domain to enable at-rest encryption.

    aws es create-elasticsearch-domain
        --domain-name your-es-domain
        ...
        --encryption-at-rest-options Enabled=true,KmsKeyId="abcdabcd-aaaa-bbbb-cccc-abcdabcdabcd"
    
PREVIEWING: esther/docs-9478-fix-split-after-example