6

There are tons of examples to migrate data from DynamoDB to Redshift, but I couldn't find any example or documentation for migrating data from Redshift to DynamoDB. Any suggestion/example/doc for migrating data from Redshift into DynamoDB in an efficient way?

2 Answers 2

4

One solution which includes writing some code is to use RedShift's unload feature and put the query data into an s3 bucket. By doing so you can handle the Put Event for this specific bucket and either trigger a lambda function that persists data to dynamodb, or send an sqs message to a beanstalk worker which does the same action (persisting data to dynamodb)

Sign up to request clarification or add additional context in comments.

Comments

0

There are multiple ways you can migrate from Redshift to DynamoDB

You can unload the data from redshift using "UNLOAD" and save the files to s3. From s3 you can use multiple services to migrate the data.

  • You can use aws pipeline to read data from s3 and load into dynamo
  • You can use AWS Glue to read data into its dataframe and load into dynamo -> an approach i prefer
  • You can use s3 import

But you unload from redshift as a redshift json you need to convert into dynamo Json and then load into the DB

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.