Skip to content

AWS Lambda and CloudFormation code for loading CDC data from Relational databases to Amazon Kinesis using Database Migration Service.

License

Notifications You must be signed in to change notification settings

vikmn/aws-dms-cdc-sample

 
 

Repository files navigation

AWS Dms Cdc Sample

AWS Lambda and CloudFormation code for loading CDC data from Relational databases to Amazon Kinesis using Database Migration Service.

License Summary

This sample code is made available under a modified MIT license. See the LICENSE file. Install-Module -Name AWSPowerShell -AllowClobber Get-AWSCredential -ListProfileDetail Remove-AWSCredentialProfile

Set-AWSCredential -AccessKey AKIAIIEUXAGTTTNN3NGA -SecretKey nzpLAY7blaysysysBFnzSypMVZFSfhA -StoreAS powershellProfile Initialize-AWSDefaultConfiguration -ProfileName powershellProfile New-CFNStack -StackName CDCExperimental -TemplateBody (Get-Content -Path .\CDCCloudformation.yml -Raw) -ProfileName powershellProfile -MasterUserPassword a12345 Remove-CFNStack -StackName CDCExperimental Update-CFNStack -StackName CDCExperimental -TemplateBody (Get-Content -Path .\CDCCloudformation.yml -Raw) -ProfileName powershellProfile -Capability CAPABILITY_NAMED_IAM

New-IAMRole -RoleName dms-vpc-role -AssumeRolePolicyDocument (Get-Content -raw .\dmsAssumeRolePolicy.json) Register-IAMRolePolicy -RoleName dms-vpc-role -PolicyArn arn:aws:iam::aws:policy/service-role/AmazonDMSVPCManagementRole

docker rm aws-sam docker image build --tag vikmn/aws-sam . docker run -i -t --name aws-sam -v c:\code\aws-dms-cdc-sample\lambda-functions:c:\functions vikmn/aws-sam

About

AWS Lambda and CloudFormation code for loading CDC data from Relational databases to Amazon Kinesis using Database Migration Service.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 91.1%
  • Dockerfile 8.9%