π AWS DAX Cluster Server-Side Encryption is not enabled π’
- Contextual name: π Cluster Server-Side Encryption is not enabled π’
- ID:
/ce/ca/aws/dax/cluster-server-side-encryption
- Located in: π AWS DAX
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- AWS Security Hub
- [[DynamoDB.3] DynamoDB Accelerator (DAX) clusters should be encrypted at rest]([DynamoDB.3] DynamoDB Accelerator (DAX) clusters should be encrypted at rest (https://docs.aws.amazon.com/securityhub/latest/userguide/dynamodb-controls.html#dynamodb-3)]
- Internal
dec-x-e9e99704
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-e9e99704 | 1 |
Logicβ
- π§ prod.logic.yaml π’
- π AWS DAX Cluster
- π AWS DAX Cluster - object.extracts.yaml
- π§ͺ test-data.json
Descriptionβ
Descriptionβ
Ensure that Amazon DynamoDB Accelerator (DAX) clusters have server-side encryption (SSE) enabled to protect data at rest.
Rationaleβ
Encrypting data at rest provides an additional layer of data protection that helps secure your data from unauthorized access to the underlying storage infrastructure. Many organizations are subject to regulatory or compliance mandates (such as HIPAA, PCI DSS, or GDPR) that require encryption of data at rest. Enabling SSE for DAX ensures alignment with these requirements and improves the overall security posture of cloud-hosted applications.
Impactβ
Server-side encryption must be enabled at the time of cluster creation and cannot be modified afterward. To migrate an existing unencrypted cluster to use encryption at rest, you must create a new encrypted cluster and update your application to connect to the new cluster endpoint.
Auditβ
This policy marks an AWS DAX Cluster as
INCOMPLIANT
ifServer-Side Encryption Status
is set to DISABLED.Cluster using dax.r3.*
Node Type
is flagged asINAPPLICABLE
, as these instance types do not support encryption at rest.
Remediationβ
Remediationβ
From Command Lineβ
Importantβ
DAX server-side encryption cannot be enabled on existing clusters. You must provision a new encrypted cluster, migrate the application, and optionally delete the old cluster.
Retrieve Existing Cluster Configurationβ
aws dax describe-clusters \
--cluster-names {{existing-cluster-name}}Create a New Encrypted DAX Clusterβ
Use the information from the previous step to create a new cluster with encryption enabled:
aws dax create-cluster \
--cluster-name {{new-cluster-name}} \
--node-type {{node-type}} \
--replication-factor {{replication-factor}} \
--iam-role-arn {{iam-role-arn}} \
--subnet-group-name {{subnet-group}} \
--sse-specification Enabled=trueUpdate Application to Use the New Clusterβ
Once the new cluster is in available status, update your application configuration to point to the new clusterβs endpoint:
aws dax describe-clusters \
--cluster-names {{new-cluster-name}} \
--query "Clusters[0].ClusterDiscoveryEndpoint.Address"
... [see more](remediation.md)