AWS-ElastiCache-redis-clusters-associated-with-deafault-VPC

Severity: Low

Description: This control ensures that AWS ElastiCache redis clusters are not associated with default VPC. ElastiCache is a web service that makes it easy to set up, manage, and scale a distributed in-memory data store or cache environment in the cloud. At the same time, it helps remove the complexity associated with deploying and managing a distributed environment. You can choose in which subnet group(VPC) to create the ElastiCache cluster at the time of creation.

Remediation Steps:

Perform following to change the subnet for ElastiCache cluster :

  1. Login to the AWS Management Console at https://console.aws.amazon.com.

  2. Step 1:  Backup the ElastiCache redis cluster

    1. Navigate to ElastiCache console.

    2. In the navigation pane, choose Redis.

    3. Choose the box to the left of the name of the Redis cluster you want to back up.

    4. Now in actions dropdown choose backup.

  3. Step 2: Delete the ElastiCache Redis cluster

    1. In the navigation pane, choose Redis.

    2. Choose the box to the left of the name of the Redis cluster you want to delete.

    3. Now in actions dropdown choose Delete.

  4. Step 3: Restore the Backup

    1. In the navigation pane, choose Backups.

    2. Select the Backup you want to restore.

    3. Click on the restore button.

    4. In the Restore Cluster window ensure that Choose a Subnet group is set with a subnet group not associated with default VPC.

Important:

  • Changing subnet group is only available while creating the ElastiCache Redis Cluster. To modify subnet group, first backup the ElastiCache Redis cluster and delete the misconfigured ElastiCache Redis Cluster. After this operation, restore the backup with modified port. After the restoring the cluster, application changes might be required for application to point to the new cluster endpoint.

Reference:

Blue Hexagon Proprietary