I am fairly new to AWS ecosystem, especially with the data side.
I have a project that requires me to run a query against a table in Redshift every 24hrs automatically, and perhaps remove a few columns in that query results and use RESTful API to hit some endpoints at a 3rd-party site for further checking.
I have a few questions on this.
- Is it a good usage pattern to use AWS Lambda (Python) and Redshift for such task?
- Should I choose Java vs Python vs NodeJS for AWS Lambda? Which one has a better support for querying Redshift?
- Both Lambda and Redshift would be in the same VPC, and using the same private subnets for egress NAT gateway, is this secured setup?
- Any sample code to share on this setup?
- Does AWS Lambda has a regular scheduler to trigger every 24hrs? Or is it simply based on events?
- Since application database is in DynamoDB, is it more efficient and easier to setup for AWS Lambda to query DynamoDB for similar data instead?
Thanks, Sam.