Using Amazon Database Migration Service (Amazon DMS) to migrate from a relational or NoSQL database to Amazon Neptune - Amazon Neptune
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Using Amazon Database Migration Service (Amazon DMS) to migrate from a relational or NoSQL database to Amazon Neptune

Amazon Database Migration Service (Amazon DMS) is a cloud service that makes it easy to migrate relational databases, data warehouses, NoSQL databases, and other types of data stores. If you have graph data stored in one of the relational or NoSQL databases that Amazon DMS supports, Amazon DMS can help you migrate to Neptune quickly and securely, without requiring downtime from your current database. See Using Amazon Database Migration Service to load data into Amazon Neptune from a different data store for details.

The migration dataflow using Amazon DMS is as follows:

  • Create a Amazon DMS table-mapping object. This JSON object specifies which tables should be read from your source database and in what order, and how their columns are named. It can also filter the rows being copied and provide simple value transformations such as converting to lower case or rounding.

  • Create a Neptune GraphMappingConfig to specify how the data extracted from the source database should be loaded into Neptune.

  • Create an Amazon DMS replication instance in the same VPC as your Neptune DB cluster, to perform the migration.

  • Create an Amazon S3 bucket to be used as intermediary storage for staging the data being migrated.

  • Run the Amazon DMS migration task.

See Using Amazon Database Migration Service to load data into Amazon Neptune from a different data store for the details, and also Chris Smith's four-piece blog post, "Populating your graph in Amazon Neptune from a relational database using Amazon Database Migration Service (DMS):"