Reputation: 2375
Is there a Python demo on how to use AWS-Lambda function to load file from S3 to AWS redshift without EC2?
Upvotes: 0
Views: 4133
Reputation: 269091
There is a library available to load data into Amazon Redshift using AWS Lambda functions.
See: A Zero-Administration Amazon Redshift Database Loader
Upvotes: 1
Reputation: 289
I'm not aware of a Python demo but it shouldn't be hard to build. You need to write a Lambda to connect to Redshift then execute a COPY from S3. If you want a little more automation then you could trigger it from s3:ObjectCreated. That way uploading a file automatically copies it to Redshift.
Upvotes: 0