AWS · Migration and Transfer
AWS Database Migration Service (AWS DMS)
Migrate and continuously replicate databases to AWS with minimal downtime, between the same or different engines.
What it is and what problem it solves
AWS Database Migration Service (DMS) copies data from a source database to a target and can keep replicating ongoing changes (change data capture, CDC), so the source stays in use until you cut over. It supports homogeneous migrations (for example MySQL to RDS for MySQL) and fully heterogeneous ones (for example Oracle to Aurora PostgreSQL). For heterogeneous moves, DMS Schema Conversion (or the downloadable AWS Schema Conversion Tool) converts schemas and code to the target engine first.
DMS runs on replication instances you size, or as DMS Serverless, which scales capacity automatically.
When to use it
- Moving databases to RDS, Aurora, DynamoDB, Redshift, DocumentDB or S3 with little downtime.
- Changing database engines (with schema conversion).
- Continuous replication into a data lake or warehouse.
When to avoid it
- Whole-server migrations: Application Migration Service.
- Simple one-time dumps of small databases, where native tools may be simpler.
- Unsupported data types or features: check the source and target support first.
Cost model
What you pay for
Replication instance-hours (Single-AZ or Multi-AZ) and storage beyond the included amount, or DMS capacity units for DMS Serverless; homogeneous migrations billed hourly; plus data transfer out and cross-AZ or cross-Region traffic. Data transfer into DMS is free.
Where it is cost-efficient
Short migrations with right-sized instances, deleted after cutover.
Where costs grow
Replication instances left running after migrations, and over-sized Multi-AZ instances for test runs.
Cost controls and common surprises
Use DMS Serverless or right-size instances, and delete tasks and instances after cutover.
Prices differ by Region and change over time; see the pricing page linked under Sources.
Security
Controls the service provides
Replication instances in your VPC, encryption at rest with KMS, TLS to endpoints, and Secrets Manager for endpoint credentials.
What you configure
Use least-privilege database users for source and target, encrypt connections, and keep replication instances private.
Logging and monitoring
Task logs to CloudWatch, CloudTrail.
Related security services
Secrets Manager, KMS, VPC.
Shared responsibility
AWS runs the replication. You secure source and target databases and credentials.
Availability, backup and failure behavior
Multi-AZ replication instances fail over automatically; CDC resumes from where it stopped.
Common service combinations
Schema Conversion before heterogeneous migrations, Aurora or RDS as targets, S3 and Kinesis as targets for data lakes, Snow Family or DataSync for very large initial loads.
Business application examples
- An Oracle database moves to Aurora PostgreSQL: Schema Conversion first, then a full load plus CDC, then a cutover of minutes.
Exam cues and common confusions
- Migrate a database with minimal downtime: DMS with full load plus CDC.
- Different engines: Schema Conversion (or SCT) first, then DMS.
- Whole servers: Application Migration Service.
Related
Courses and lessons
- Migrating databases and servers: DMS, Schema Conversion, MGN and Discovery · AWS Solutions Architect – Associate (SAA-C03) · Members
Services, comparisons and patterns
- AWS Application Migration Service · Service
- Amazon RDS · Service
- Amazon Aurora · Service
- AWS Snow Family · Service
- AWS DataSync · Service
Sources
Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.