Database Migration to Amazon Aurora with AWS DMS

AWS DMS performs full load and change data capture from an on-premises database while a containerized application transitions to Amazon Aurora.

Explore diagram

Explore on mobile. Create and edit manually or with AI on a computer.

AWS database migration diagram with an on-premises source, AWS DMS, Application Load Balancer, ECS application, and Amazon AuroraExplore diagram

AWS database migration diagram with an on-premises source, AWS DMS, Application Load Balancer, ECS application, and Amazon Aurora. Open the image to explore this ready-made diagram.

Overview

AWS Database Migration Service performs a full load from an on-premises relational database and continues change data capture into Amazon Aurora. In parallel, an Application Load Balancer and Amazon ECS service form the target application path that is validated before controlled cutover.

Components

  • Source database and AWS DMS: DMS reads the existing database, performs full load, and continues change data capture.
  • ECS application path: An ALB fronts the containerized target application in private subnets.
  • Amazon Aurora: Aurora becomes the managed relational target after validation and controlled cutover.

Migration and Cutover Flow

  1. AWS DMS copies the source dataset and continuously applies captured changes to Aurora.
  2. The target ECS application is validated against Aurora before production traffic moves.
  3. A controlled cutover redirects application users after replication lag reaches the approved threshold.

Customize First

  • Run schema conversion and application compatibility tests before starting bulk migration.
  • Size DMS replication capacity from change volume, large objects, and transformation rules.
  • Define reconciliation queries, rollback criteria, and the final source write-freeze procedure.

Related AWS guides

Use these practical explanations to compare services, failure boundaries, and operating tradeoffs before adapting the architecture.

Design rationale

Decisions that shape this architecture

1

Separate full load from continuous changes

DMS copies the existing dataset and then applies captured changes, allowing target validation while the source application continues operating.

2

Prepare the application path before cutover

The ECS service and Aurora target can be performance-tested, reconciled, and operationally reviewed before production users are redirected.

3

Make cutover an explicit controlled event

A write freeze, lag threshold, validation query set, traffic switch, and rollback point turn migration completion into a repeatable runbook rather than an assumption.

Before production

Operational checks

Complete engine, extension, datatype, collation, and schema compatibility assessment.

Monitor DMS task errors, source change volume, target latency, and replication lag.

Reconcile row counts, checksums, critical aggregates, and application behavior before cutover.

Rehearse write freeze, traffic switch, rollback, and source decommission approvals.

Scope and tradeoffs

What this diagram does not solve

DMS does not solve every schema difference

Stored procedures, extensions, engine-specific behavior, unsupported datatypes, and application queries may require conversion and code changes.

Rollback becomes harder after target writes begin

The runbook must define whether writes can return to the source, how they are reconciled, and when the old system becomes read-only or retired.

Common questions

Frequently asked questions

What is change data capture in AWS DMS?

After the initial load, DMS reads ongoing source database changes and applies them to the target so replication can continue until cutover.

Does AWS DMS convert the application schema?

DMS moves data. Schema conversion tooling and manual engineering may still be required for engine-specific objects, SQL behavior, and application compatibility.

How is migration downtime minimized?

Keep change replication running during validation, then use a short controlled write freeze to drain lag, run final checks, and redirect traffic.

Keep exploring

Explore the library
AWS web platform with Route 53, CloudFront, WAF, ALB, multi-AZ web and API fleets, zonal NAT gateways, ElastiCache, and distinct RDS primary, standby, and read replica
Web Applicationadvanced

Production-Grade Highly Available Web Platform on AWS

This reference expands the three-tier baseline with a global edge, separate scaling domains, caching, read scaling, and private egress. Secrets management, backup policies, and observability are important additions to design around the visible application path.

Explore the architecture
Amazon ECS Fargate web architecture diagram with CloudFront, WAF, a multi-AZ ALB, private Fargate tasks, RDS, and ElastiCache
Containersadvanced

Containerized Web Service with Amazon ECS and Fargate

This architecture shows the running service: a protected global edge, a Multi-AZ load balancer, private Fargate tasks, and managed data services. It is a useful starting point for teams outgrowing a single server or a function-based API; deployment, credential delivery, and monitoring can be added around that request path.

Explore the architecture
Hybrid AWS network diagram with an on-premises data center, Direct Connect, a global Direct Connect gateway, regional Transit Gateway, and application and data VPC spokes
Hybrid Networkingadvanced

Hybrid Network with AWS Transit Gateway

This hub-and-spoke network architecture separates private connectivity from VPC routing and workload placement. It gives teams a clear place to discuss route-table isolation, shared services, inspection, address planning, redundant circuits, and the boundary between network and application ownership.

Explore the architecture

Ready-made AWS diagram

Explore this AWS architecture

Open the diagram from this guide and explore how it works. Create and edit manually or with AI on a computer.

Explore diagram