amazon-redshiftHow do I delete an Amazon Redshift cluster?
To delete an Amazon Redshift cluster, you must first delete any existing snapshots and then delete the cluster itself.
- Delete any existing snapshots:
aws redshift delete-cluster-snapshot --snapshot-identifier <snapshot-identifier>
The output will be a JSON response confirming the deletion of the snapshot.
- Delete the cluster itself:
aws redshift delete-cluster --cluster-identifier <cluster-identifier>
The output will be a JSON response confirming the deletion of the cluster.
Once both of these steps have been completed, the Amazon Redshift cluster will be deleted.
Helpful links
More of Amazon Redshift
- How can I handle divide by zero errors when using Amazon Redshift?
- How do I use the Amazon Redshift YEAR function?
- How can I use Amazon Redshift to store and process unstructured data?
- How can I use Amazon Redshift UNION to combine data from multiple tables?
- How do I use the NVL function in Amazon Redshift?
- How can I monitor Amazon RDS using Zabbix?
- How do I set up Amazon RDS with read replicas?
- How do I convert an Amazon Redshift timestamp to a date?
- How do I set up Amazon RDS with Multi-AZ for high availability?
- How do I use Amazon Redshift window functions?
See more codes...