| name | cis-aws-database-5.5 |
| description | Ensure Virtual Private Cloud (VPC) is Enabled |
| category | cis-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","database","elasticache","redis","vpc","network-security","subnets"] |
| cis_id | 5.5 |
| cis_benchmark | CIS AWS Database Services Benchmark v2.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-database-5.2"] |
| prerequisites | [] |
| severity_boost | {} |
5.5 Ensure Virtual Private Cloud (VPC) is Enabled
Description
Implementing VPC security best practices for Amazon ElastiCache involves configuring your Virtual Private Cloud (VPC) and associated resources to enhance the security of your ElastiCache clusters.
Rationale
This ensures that only authorized users can access their platforms and prevents any mistakes that can lead to a data breach due to the level of security.
Impact
N/A
Audit Procedure
Using AWS Console
-
Create or Select a VPC
- Sign in to the AWS Management Console and open the Amazon VPC console at https://console.aws.amazon.com/vpc/.
- Create a new VPC or select an existing VPC to host your ElastiCache clusters.
-
Configure Subnets
- In the VPC console, navigate to
Subnets in the left-side menu.
- Create or select the subnets within your VPC where you want to deploy your ElastiCache clusters.
- Ensure you have private subnets for your ElastiCache clusters to avoid exposing them to the public internet.
-
Define Security Groups
- In the VPC console, navigate to
Security Groups in the left-side menu.
- Create a new security group or select an existing one for your ElastiCache clusters.
- Configure inbound and outbound rules in the security group to control traffic access.
- Allow inbound access only from trusted sources or specific IP ranges required for your applications.
- Restrict outbound access to necessary destinations and protocols.
- Associate the security group with your ElastiCache clusters.
-
Configure Network Access Control Lists (ACLs)
- In the VPC console, navigate to
Network ACLs in the left-side menu.
- Create or select the network ACLs associated with the subnets used by your ElastiCache clusters.
- Configure inbound and outbound rules in the network ACLs to control traffic access.
- Define rules based on your security requirements, allowing only necessary protocols, ports, and IP ranges.
- Deny unnecessary or unwanted traffic.
- Associate the network ACLs with the subnets used by your ElastiCache clusters.
-
Configure Routing
- In the VPC console, navigate to
Route Tables in the left-side menu.
- Create or select the route table associated with the subnets used by your ElastiCache clusters.