More Info:

Amazon Redshift clusters should not be using port 5439 (default port) for database access.

Risk Level

Informational

Address

Security

Compliance Standards

PCIDSS

Triage and Remediation

Remediation

To remediate the misconfiguration of Redshift clusters using default port in AWS, follow these steps using the AWS Management Console:

  1. Login to AWS Console: Go to the AWS Management Console (https://aws.amazon.com/) and log in to your account.

  2. Navigate to Amazon Redshift: Click on the “Services” dropdown menu at the top left corner, then select “Redshift” under the “Analytics” section.

  3. Select the Redshift Cluster: From the list of Redshift clusters, select the cluster that is using the default port that you want to change.

  4. Modify the Cluster: In the cluster details page, click on the “Cluster” menu on the left side, then click on the “Modify” button at the top.

  5. Change the Port: Scroll down to the “Network and security” section, locate the “Cluster port” field, and change the port number from the default port (5439) to a custom port of your choice. Make sure the new port is not being used by any other service.

  6. Apply Changes: After changing the port number, scroll down to the bottom of the page and click on the “Modify cluster” button to apply the changes.

  7. Monitor the Modification: The modification process may take a few minutes to complete. You can monitor the progress on the cluster details page.

  8. Verify the Port Change: Once the modification is completed, you can verify that the Redshift cluster is now using the custom port by checking the cluster details.

By following these steps, you have successfully remediated the misconfiguration of Redshift clusters using the default port in AWS.

Additional Reading: