Cloud Defense Logo

Products

Solutions

Company

Enable Automatic Snapshots for Redshift Clusters

Checks that Amazon Redshift clusters have automated snapshots enabled, ensuring data recoverability.

RuleAmazon Redshift clusters should have automatic snapshots enabled
FrameworkAWS Foundational Security Best Practices
Severity
Medium

Rule Description:

Amazon Redshift clusters should have automatic snapshots enabled as part of AWS Foundational Security Best Practices to ensure that data is regularly backed up and can be restored in case of any disasters or data corruption.

Troubleshooting Steps:

If automatic snapshots are not enabled for the Amazon Redshift cluster, follow these steps to enable them:

  1. 1.
    Go to the Amazon Redshift console.
  2. 2.
    Select the cluster for which you want to enable automatic snapshots.
  3. 3.
    In the "Cluster snapshots" section, click on the "Modify" button.
  4. 4.
    Under "Backup and maintenance," enable the "Create snapshots" option.
  5. 5.
    Set the frequency and retention period for the automatic snapshots.
  6. 6.
    Click on the "Modify cluster" button to apply the changes.

Remediation:

To enable automatic snapshots for an Amazon Redshift cluster, follow these steps:

  1. 1.
    Open the AWS Management Console and navigate to the Amazon Redshift console.
  2. 2.
    Select the Amazon Redshift cluster for which you want to enable automatic snapshots.
  3. 3.
    Click on the "Actions" dropdown menu and select "Modify cluster".
  4. 4.
    In the "Backup" section, enable the "Automated snapshot" option.
  5. 5.
    Set the preferred frequency for snapshots (e.g., Daily, Weekly).
  6. 6.
    Set the retention period for the snapshots.
  7. 7.
    Click on the "Modify" button to apply the changes.

Relevant Code:

If you prefer to enable automatic snapshots using the AWS CLI, you can use the following command:

aws redshift modify-cluster --cluster-identifier YOUR_CLUSTER_ID --automated-snapshot-retention-period YOUR_RETENTION_PERIOD --preferred-maintenance-window YOUR_MAINTENANCE_WINDOW

Make sure to replace YOUR_CLUSTER_ID, YOUR_RETENTION_PERIOD, and YOUR_MAINTENANCE_WINDOW with the appropriate values.

By following these steps and enabling automatic snapshots for Amazon Redshift clusters, you can ensure that your data is regularly backed up and secure against any potential data loss scenarios.

Is your System Free of Underlying Vulnerabilities?
Find Out Now