You cannot directly paste the archived file into Redshift according to Guy's comments.
Assuming this is not a one-time task, I would suggest using AWS Data Pipeline to do this job. See an example of copying data between S3 buckets. Modify the example to unzip and then gzip your data, not just copy it.
Use ShellCommandActivity to execute a shell script that does this work. I would suggest that this script can call Java if you select and apply AMI as your EC2 resource (YMMV).
Data Pipeline is highly efficient for this type of work because it automatically starts and shuts down the EC2 resource, and you donโt have to worry about finding a new instance name in your scripts.
source share