All Projects → aws-samples → rds-snapshot-export-to-s3-pipeline

aws-samples / rds-snapshot-export-to-s3-pipeline

Licence: MIT-0 license
RDS Snapshot Export to S3 Pipeline

Programming Languages

typescript
32286 projects
python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to rds-snapshot-export-to-s3-pipeline

document-processing-pipeline-for-regulated-industries
A boilerplate solution for processing image and PDF documents for regulated industries, with lineage and pipeline operations metadata services.
Stars: ✭ 36 (-59.09%)
Mutual labels:  amazon-web-services, cdk, aws-cdk
cdk-examples
AWS CDK Examples Repository
Stars: ✭ 49 (-44.32%)
Mutual labels:  cdk, aws-cdk
cdk-constructs
Shared constructs for AWS CDK
Stars: ✭ 34 (-61.36%)
Mutual labels:  cdk, aws-cdk
aws-cdk-github-oidc
CDK constructs to use OpenID Connect for authenticating your Github Action workflow with AWS IAM
Stars: ✭ 59 (-32.95%)
Mutual labels:  cdk, aws-cdk
Hello-AWS-Data-Services
Sample code for AWS data service and ML courses on LinkedIn Learning
Stars: ✭ 144 (+63.64%)
Mutual labels:  athena, rds
cloudpatrol
Policy as Code for the Cloud Development Kit (CDK)
Stars: ✭ 21 (-76.14%)
Mutual labels:  cdk, aws-cdk
document-understanding-solution
Example of integrating & using Amazon Textract, Amazon Comprehend, Amazon Comprehend Medical, Amazon Kendra to automate the processing of documents for use cases such as enterprise search and discovery, control and compliance, and general business process workflow.
Stars: ✭ 180 (+104.55%)
Mutual labels:  cdk, aws-cdk
aws-firewall-factory
Deploy, update, and stage your WAFs while managing them centrally via FMS.
Stars: ✭ 72 (-18.18%)
Mutual labels:  amazon-web-services, cdk
Aws Appsync Rds Aurora Sample
An AWS AppSync Serverless resolver for the Amazon Aurora relational database.
Stars: ✭ 122 (+38.64%)
Mutual labels:  rds, amazon-web-services
aws-pdf-textract-pipeline
🔍 Data pipeline for crawling PDFs from the Web and transforming their contents into structured data using AWS textract. Built with AWS CDK + TypeScript
Stars: ✭ 141 (+60.23%)
Mutual labels:  cdk, aws-cdk
node-casperjs-aws-lambda
Base scaffolding app for a casperjs/phantomjs app running on Amazon (AWS) Lambda
Stars: ✭ 52 (-40.91%)
Mutual labels:  amazon-web-services
selling-partner-sdk
Amazon Selling Partner JAVA SDK SP API
Stars: ✭ 15 (-82.95%)
Mutual labels:  amazon-web-services
dice-fairlink
JDBC Driver for read-only connections on AWS RDS Clusters
Stars: ✭ 33 (-62.5%)
Mutual labels:  rds
bl mcu sdk
bl_mcu_sdk is MCU software development kit provided by Bouffalo Lab Team for BL602/BL604, BL702/BL704/BL706, BL616/BL618, BL808 and other series of RISC-V based chips in the future.
Stars: ✭ 147 (+67.05%)
Mutual labels:  cdk
terraform-aws-rds-cluster
Terraform module to provision an RDS Aurora cluster for MySQL or Postgres
Stars: ✭ 115 (+30.68%)
Mutual labels:  rds
aws-map
Make a network graph of an AWS region
Stars: ✭ 79 (-10.23%)
Mutual labels:  rds
serverless
Serverless Erlang runtime for AWS Lambda Service
Stars: ✭ 27 (-69.32%)
Mutual labels:  aws-cdk
aws-codecommit-devops-model
AWS CodeCommit Devops Model -- a best practice to build your devops workflow based on AWS CodeCommit.
Stars: ✭ 30 (-65.91%)
Mutual labels:  aws-cdk
terraform-aws-cognito-user-pool
A Terraform module to create and manage Cognito User Pools (Simple and Secure User Sign-Up, Sign-In, and Access Control) on Amazon Web Services (AWS). https://aws.amazon.com/cognito
Stars: ✭ 46 (-47.73%)
Mutual labels:  amazon-web-services
cdk-eventbridge-socket
CDK construct that creates a WebSocket endpoint for you for any EventBridge rule you are interested in. (Built for debugging + testing )
Stars: ✭ 43 (-51.14%)
Mutual labels:  cdk

RDS Snapshot Export to S3 Pipeline

This repository creates the automation necessary to export Amazon RDS snapshots to S3 for a specific database whenever an automated snapshot is created.

Usage

  1. Install the Amazon Cloud Development Kit (CDK).
  2. Clone this repository and cd into it.
  3. Modify the arguments to the RdsSnapshotExportPipelineStack constructor in $/bin/cdk.ts according to your environment.
    • dbName: This RDS database must already exist.
    • rdsEventId: This should be RdsEventId.DB_AUTOMATED_AURORA_SNAPSHOT_CREATED for Amazon Aurora databases or RdsEventId.DB_AUTOMATED_SNAPSHOT_CREATED otherwise.
    • s3BucketName: An S3 bucket with the provided name will be created automatically for you.
  4. Execute the following:
    • npm install
    • npm run cdk bootstrap
    • npm run cdk deploy
  5. Open up your <dbName>-rds-snapshot-exporter function in the AWS Lambda console and configure a test event using the contents of $/event.json OR $/event.aurora.json as a template, depending on whether or not you're using Amazon Aurora.
    • NOTE: The example content is a subset of an SNS event notification containing the minimum valid event data necessary to successfully trigger the Lambda function's execution. You should modify the <SNAPSHOT_NAME> value within the Message key to match an existing RDS snapshot (e.g. rds:<dbName>-YYYY-MM-DD-hh-mm). You may also need to modify the MessageId if you are attempting to export the same snapshot more than once.
  6. Click the Test button to start an export.

You can check on the progress of the export in the Exports in Amazon S3 listing. When that is finished, you can use the AWS Glue Crawler that was created for you to crawl the export, then use Amazon Athena to perform queries on the exported snapshot.

Cleanup

Execute npm run cdk destroy to delete resources pertaining to this example.

You will also need to delete the following manually:

  • The S3 bucket that was created to store the snapshot exports.
  • The CDKToolkit CloudFormation Stack created by npm run cdk bootstrap.
  • The cdktoolkit-stagingbucket-<...> bucket.

Demo

Demo

License

This library is licensed under the MIT-0 License. See the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].