π‘οΈ AWS ElastiCache Replication Group is not encrypted in-transitπ’
- Contextual name: π‘οΈ Replication Group is not encrypted in-transitπ’
- ID:
/ce/ca/aws/elasticache/replication-group-in-transit-encryption - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
Descriptionβ
Descriptionβ
This policy identifies AWS ElastiCache Replication Groups that are not configured to enforce encryption of data in-transit. Encryption in-transit ensures that all communication to and from the Redis cluster is protected using Transport Layer Security (TLS).
Rationaleβ
Enabling in-transit encryption protects data while it moves over the network. Without it, sensitive information exchanged between your applications and the Redis cluster could be intercepted by unauthorized parties.
Enforcing TLS mitigates the risk of eavesdropping and man-in-the-middle (MITM) attacks, ensuring both the confidentiality and integrity of your data, especially in environments where network traffic traverses untrusted networks.
Auditβ
This policy flags an AWS ElastiCache Replication Group as
INCOMPLIANTif theTransit Encryption Enabledcheckbox is set to false.The Replication Group is marked as
INAPPLICABLEif itsStatusis not available.
Remediationβ
Remediationβ
Enable In-Transit Encryption on an Existing Replication Groupβ
Enabling in-transit encryption for an existing ElastiCache replication group is a two-step process. You must first set the transit encryption mode to
preferred, which allows both encrypted and unencrypted connections. After all clients are migrated to use encrypted connections, you can then set the mode torequired, which enforces encrypted connections only.From Command Lineβ
Set transit encryption mode to
preferredThis step enables in-transit encryption and allows clients to connect using both encrypted and unencrypted connections:
aws elasticache modify-replication-group \
--replication-group-id {{replication-group-id}} \
--transit-encryption-enabled \
--transit-encryption-mode preferred \
--apply-immediatelyWait for the replication group to finish updating before proceeding to the next step.
Migrate all clients to use encrypted connections.
Set transit encryption mode to
required... see more