AWS-ElastiCache-redis-clusters-using-deafault-endpoint-port
Severity: Low
Description: This control ensures that AWS ElastiCache Redis clusters are not using their default endpoint ports. Applications to access AWS ElastiCache Redis cluster, user has to set up the endpoint port. AWS ElastiCache Redis cluster by default sets this endpoint port to 6379..
Remediation Steps:
Perform following to change the port for ElastiCache cluster :
Login to the AWS Management Console at https://console.aws.amazon.com.
Step 1: Â Backup the ElastiCache redis cluster
Navigate to ElastiCache console.
In the navigation pane, choose Redis.
Choose the box to the left of the name of the Redis cluster you want to back up.
Now in actions dropdown choose backup.
Step 2: Delete the ElastiCache Redis cluster
In the navigation pane, choose Redis.
Choose the box to the left of the name of the Redis cluster you want to delete.
Now in actions dropdown choose Delete.
Step 3: Restore the Backup
In the navigation pane, choose Backups.
Select the Backup you want to restore.
Click on the restore button.
In the Restore Cluster window ensure that port is not set to 6379.
Important:
Changing default endpoint ports is only available while creating the ElastiCache Redis Cluster. To modify port, 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