AWS Database Migration Service — Incremental Migration from RDS To S3

Prashant Bhatasana
DevOps Pro
Published in
4 min readSep 2, 2024

--

AWS Database Migration Service — Incremental Migration from RDS To S3

Migrating data from relational databases to cloud-based data lakes is a common task in modern data architectures. Amazon Web Services (AWS) offers a robust solution called AWS Database Migration Service (DMS) that simplifies this process. This service is particularly useful for incremental migrations, allowing you to replicate ongoing changes in your source databases to a target destination like Amazon S3.

In this article, we’ll be setting up an incremental migration from an Amazon RDS database to an S3 bucket using Terraform.

Why Use AWS DMS?

AWS DMS provides several advantages:

  • Minimal Downtime: Supports continuous data replication, which is essential for reducing downtime during migrations.
  • Versatility: Supports various source and target database engines, making it flexible for different use cases.
  • Ease of Use: Simple to set up and monitor, with a pay-as-you-go pricing model.

Architecture Overview

The migration setup involves:

  1. Source Database: An Amazon RDS instance (e.g., MySQL, PostgreSQL).
  2. Target Data Store: An Amazon S3 bucket where the data will be stored.

--

--

Prashant Bhatasana
DevOps Pro

AWS Community Builder | AWS Certified | Terraform Associate | SR. DevOps Engineer, Love to work with #AWS #GCP #Terraform #Jenkins #Kubernetes #Docker #Ansible