Create IAM users or roles for individuals or applications needing ElastiCache access.
Define fine-grained permissions using IAM policies to allow only necessary actions on ElastiCache resources.
Assign IAM policies to the IAM users or roles to grant access.
Implement Secure Network Access
Place your ElastiCache cluster within a Virtual Private Cloud (VPC) to control network access.
Create and configure security groups to allow access only from trusted networks or specific IP ranges.
Ensure your VPC's network ACLs (Access Control Lists) are properly configured to restrict inbound and outbound traffic.
Enable Encryption in Transit
Configure your ElastiCache cluster to use SSL/TLS encryption for client connections.
Use the --transit-encryption-enabled parameter when creating or modifying the cluster to enable encryption in transit.
Update your client applications to connect to the ElastiCache cluster using SSL/TLS.
Protect ElastiCache Credentials
Avoid sharing access keys, secret keys, or IAM user credentials between individuals.
Use IAM roles for Amazon EC2 instances or other AWS services to securely access ElastiCache without needing credentials.
Rotate your access keys regularly and disable or remove unnecessary IAM users or roles.
Enable Event Logging and Monitoring
Enable CloudWatch Logs for your ElastiCache clusters to capture logs and monitor activities.
Configure CloudWatch Alarms to be notified of any unusual or suspicious behavior.
Set up CloudTrail to log API calls made to ElastiCache for auditing and compliance purposes.
Regularly Review and Update Access Controls
Perform regular reviews of IAM policies, security groups, and network ACLs to ensure they align with your security requirements.
Remove any unnecessary or excessive privileges from IAM policies.
Stay updated with AWS security best practices and recommendations to improve access controls.
Expected Result
IAM policies are configured with least privilege access, ElastiCache clusters are in VPCs with proper security groups, encryption in transit is enabled, and logging/monitoring is active.
Remediation
Using AWS Console
Follow the same steps as the audit procedure to secure access to ElastiCache clusters.
Default Value
By default, ElastiCache clusters are accessible within the VPC they are created in, but detailed IAM policies, encryption in transit, and monitoring need to be configured.
14.6 Protect Information through Access Control Lists
x
x
x
Profile
Level 1 | Manual
1---2name: cis-aws-database-5-13description: Ensure Secure Access to ElastiCache4---56# 5.1 Ensure Secure Access to ElastiCache78## Description910Securing access to Amazon ElastiCache involves implementing appropriate authentication and authorization mechanisms.1112## Rationale1314N/A1516## Impact1718N/A1920## Audit Procedure2122### Using AWS Console23241. Use AWS Identity and Access Management (IAM)25 - Sign in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com/iam/.26 - Create IAM users or roles for individuals or applications needing ElastiCache access.27 - Define fine-grained permissions using IAM policies to allow only necessary actions on ElastiCache resources.28 - Assign IAM policies to the IAM users or roles to grant access.29302. Implement Secure Network Access31 - Place your ElastiCache cluster within a Virtual Private Cloud (VPC) to control network access.32 - Create and configure security groups to allow access only from trusted networks or specific IP ranges.33 - Ensure your VPC's network ACLs (Access Control Lists) are properly configured to restrict inbound and outbound traffic.34353. Enable Encryption in Transit36 - Configure your ElastiCache cluster to use SSL/TLS encryption for client connections.37 - Use the `--transit-encryption-enabled` parameter when creating or modifying the cluster to enable encryption in transit.38 - Update your client applications to connect to the ElastiCache cluster using SSL/TLS.39404. Protect ElastiCache Credentials41 - Avoid sharing access keys, secret keys, or IAM user credentials between individuals.42 - Use IAM roles for Amazon EC2 instances or other AWS services to securely access ElastiCache without needing credentials.43 - Rotate your access keys regularly and disable or remove unnecessary IAM users or roles.44455. Enable Event Logging and Monitoring46 - Enable CloudWatch Logs for your ElastiCache clusters to capture logs and monitor activities.47 - Configure CloudWatch Alarms to be notified of any unusual or suspicious behavior.48 - Set up CloudTrail to log API calls made to ElastiCache for auditing and compliance purposes.49506. Regularly Review and Update Access Controls51 - Perform regular reviews of IAM policies, security groups, and network ACLs to ensure they align with your security requirements.52 - Remove any unnecessary or excessive privileges from IAM policies.53 - Stay updated with AWS security best practices and recommendations to improve access controls.5455## Expected Result5657IAM policies are configured with least privilege access, ElastiCache clusters are in VPCs with proper security groups, encryption in transit is enabled, and logging/monitoring is active.5859## Remediation6061### Using AWS Console6263Follow the same steps as the audit procedure to secure access to ElastiCache clusters.6465## Default Value6667By default, ElastiCache clusters are accessible within the VPC they are created in, but detailed IAM policies, encryption in transit, and monitoring need to be configured.6869## References70711. https://aws.amazon.com/products/databases/7273## CIS Controls7475| Controls Version | Control | IG 1 | IG 2 | IG 3 |76| ---------------- | ----------------------------------------------------- | ---- | ---- | ---- |77| v8 | 3.3 Configure Data Access Control Lists | x | x | x |78| v7 | 14.6 Protect Information through Access Control Lists | x | x | x |7980## Profile8182Level 1 | Manual
Run npx skillmds@latest add cyberstrikeus/cis-aws-database-5-1 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Ensure Secure Access to ElastiCache It is listed under DevOps & Infra on SkillMD.
SkillMD's automated safety review verdict for this skill is PASS. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
cyberstrikeus (@cyberstrikeus) published this skill. Their other Agent Skills are listed on their SkillMD profile.