Using cost controls to set actions for Redshift Spectrum
Amazon Redshift allows you to extend your data warehouse to a data lake by performing SQL queries directly on data on Amazon S3. You will be charged based on the number of bytes that's scanned by Redshift Spectrum, rounded up to the next megabyte, 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 such as CREATE
/ALTER
/DROP TABLE
for managing partitions and failed queries.
In this recipe, you will learn how to use cost controls when using Amazon Redshift Spectrum.
Getting ready
To complete this recipe, you will need the following:
- An IAM user with access to Amazon Redshift
- An Amazon Redshift cluster deployed in AWS Region eu-west-1
How to do it…
In this recipe, you will set up controls for Amazon Redshift Spectrum usage to prevent any accidental scans being performed by...