Checks if Amazon Redshift clusters are configured to automatically upgrade to major versions, maintaining software up-to-date.
Rule | Amazon Redshift should have automatic upgrades to major versions enabled |
Framework | AWS Foundational Security Best Practices |
Severity | ✔ Medium |
Rule Description:
Enabling automatic upgrades to major versions for Amazon Redshift is a best practice recommended by AWS Foundational Security. This ensures that your Redshift clusters are running on the latest version, which includes important security patches, bug fixes, and new features.
Troubleshooting Steps:
If automatic upgrades to major versions are not enabled for Amazon Redshift, you can follow the steps below to enable it:
Necessary Codes:
There are no specific codes required for this configuration. You will need to update the Redshift cluster settings in the AWS Management Console or using AWS CLI commands.
Step-by-Step Guide for Remediation:
AWS Management Console:
AWS CLI: You can also enable automatic upgrades using AWS CLI with the following command:
aws redshift modify-cluster --cluster-identifier <cluster-identifier> --automated-snapshot-retention-period <value> --allow-version-upgrade
Ensure to replace
<cluster-identifier>
with your Redshift cluster identifier and <value>
with the desired retention period for automated snapshots.By following the above steps, you will successfully enable automatic upgrades to major versions for Amazon Redshift clusters, in alignment with AWS Foundational Security Best Practices.