A repository of some AWS PowerShell scripts I wrote and use which you might find useful.
Please note you will need to set your execution policy to RemoteSigned
and have the latest AWS PowerShell Tools installed.
Requirements: Ensure you have the appropriate IAM permissions to make the Redshift API calls (eg. redshift:DescribeClusters)
Copy-RedshiftClusterBetweenRegions-Form.ps1
Step | Description | Comments |
---|---|---|
1 | Select Region of source Redshift Cluster | |
2 | Select source Redshift Cluster | |
3 | Enter a unique Snapshot Identifier | |
4 | Select destination Region for copied Redshift Cluster | |
5 | Select the unique Snapshot Copy Grant that is created based on your username and date & time | Snapshot copy between regions will take time |
6 | Select a VPC Security Group | |
7 | Enter a unique Redsift Cluster Identifier |
####### Please set these values ######
$Global:smtpserver = "smtp.company.org"
$Global:from ="no-reply@redshiftclustermigrator.company.com"
$Global:CompanySuffix = "@company.com"
####### Please set these values ######
Requirements: Ensure you have CloudWatch Logs IAM permissions (eg. Get-CWLLogGroups)