# Migrate Db2 z/OS to Amazon Aurora PostgreSQL using AWS DMS and gateway server

DevFeed: [Migrate Db2 z/OS to Amazon Aurora PostgreSQL using AWS DMS and gateway server](<https://devfeed.tech/articles/migrate-db2-z-os-to-amazon-aurora-postgresql-using-aws-dms-and-gateway-server-62865.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/database/migrate-db2-z-os-to-amazon-aurora-postgresql-using-aws-dms-and-gateway-server/>)

Author: Pragnesh Patel

Published: 2026-09-30T16:45:26Z

Content type: tutorial

Language: en

Sources: [AWS Database Blog](<https://devfeed.tech/sources/aws-database-blog.md>)

Topics: [AWS Database Migration Service](<https://devfeed.tech/topics/aws-database-migration-service.md>), [DSQL](<https://devfeed.tech/topics/dsql.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>)

Tags: [amazon-aurora](<https://devfeed.tech/tags/amazon-aurora.md>), [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [aws-database-migration-service](<https://devfeed.tech/tags/aws-database-migration-service.md>), [database-migration](<https://devfeed.tech/tags/database-migration.md>), [db2](<https://devfeed.tech/tags/db2.md>), [expert-400](<https://devfeed.tech/tags/expert-400.md>), [migration](<https://devfeed.tech/tags/migration.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [postgresql-compatible](<https://devfeed.tech/tags/postgresql-compatible.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [z-os](<https://devfeed.tech/tags/z-os.md>)

## AI overview

The tutorial explains how to migrate and replicate data from an on-premises IBM Db2 database on z/OS to Amazon Aurora PostgreSQL using AWS DMS and a Db2 gateway server on Amazon EC2. It covers configuring the gateway and DMS resources, performing full loads with periodic refreshes, and validating synchronization.

## Source excerpt

Learn how to use AWS DMS and a Db2 gateway server on Amazon EC2 to migrate and replicate data from an on-premises IBM Db2 database on z/OS to Amazon Aurora PostgreSQL. This post covers configuring the gateway, creating DMS resources, running a full load with periodic full-load refresh, and validating the migration.