Using Console
Using CLI
ClusterStatus
and CreateTime
values. Look for clusters that have not been used for an extended period and are in the available
status.Step 3: Terminate the idle Redshift clusters to save costs and resources. Run the following command in AWS CLI to delete the identified idle cluster:<cluster-identifier>
with the actual identifier of the idle cluster you want to terminate.Step 4: Confirm the termination of the cluster by listing all the Redshift clusters again:Using Python
terminate_idle_redshift_clusters.py
) and import the necessary libraries:
describe_clusters
method to list all Redshift clusters: