Skip to content

walterwootz/mysql-s3-datalake-migration-aws-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQL To S3 Datalake migration using AWS Lambda

This lambda function execute a complete migration from a MySQL database to an S3 bucket datalake in CSV format. Each table will be migrated in the following bucket path: /db_name/table_name/DATA.csv It migrates max 1GB table size; anyway you can increase size by attaching more memory/RAM to your lambda.

MySQL migration service to Datalake

Getting started

  • Edit config.mjs for your environment
  • Edit engine, memory, timeout settings of your lambda (see example aws_sam.yaml provided)
  • Attach policies to lambda (see example aws_sam.yaml provided)
  • Deploy lambda
  • Test with empty body
  • Set CloudWatch scheduled event

About

MySQL To S3 Datalake migration using AWS Lambda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published