I have a csv file which will be present (daily new file) in S3 bucket. From here I am trying to use AWS Glue to extract, transform & load in AWS Aurora Database. Aurora DB is designed as a normalized relational database, I have to load the csv into this relational database with information mapped between multiple tables.
Steps that I am trying: 1) Modify the python script to perform the load operation.
Wanted to know if there is any other way to achieve this load operation?
RDS Aurora provides a feature built-in where in you can load data from a CSV file residing in a S3 bucket using "LOAD DATA FROM S3 into TABLE". You need to add appropriate IAM roles, and configure it in the Aurora parameter groups.
We are using this feature for the past one year, and its working fine. You can also do the reverse as well, like unload data from a table into a S3 bucket. Can you please check the following link for more information and testing. Hope I got your question correct?
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Integrating.LoadFromS3.html
Thanks,
Yuva
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With