Using cost controls to set actions for Redshift Spectrum
Amazon Redshift allows you to extend your data warehouse to the data lake by performing SQL queries directly on data on Amazon S3. You will be charged based on the number of bytes scanned by Redshift Spectrum, rounded up to the next MB, with a 10 MB minimum per query (https://aws.amazon.com/redshift/pricing/#Redshift_Spectrum_pricing). There are no charges for Data Definition Language (DDL) statements like CREATE/ALTER/DROP TABLE statements for managing partitions and failed queries.
In the recipe, we will set up cost controls on the Amazon Redshift spectrum usage to prevent any accidental scan by a monstrous query.
Getting ready
To complete this recipe, you will need:
- An IAM user with access to Amazon Redshift
- An Amazon Redshift cluster deployed in the eu-west-1 AWS region
How to do it…
- Navigate to the AWS Amazon Redshift console and navigate to Amazon Redshift | Clusters...