# Neon Twin: Move Dev/Test/Staging to Neon, Keep Production on RDS

DevFeed: [Neon Twin: Move Dev/Test/Staging to Neon, Keep Production on RDS](<https://devfeed.tech/articles/neon-twin-move-dev-test-staging-to-neon-keep-production-on-rds-5703.md>)

Original publisher: [Read original article](<https://neon.com/blog/optimizing-dev-environments-in-aws-rds-with-neon-postgres-part-ii-using-github-actions-to-mirror-rds-in-neon>)

Author: Brad Van Vugt

Published: 2024-07-24T15:53:45Z

Content type: tutorial

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Databases](<https://devfeed.tech/topics/databases.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Provisioning](<https://devfeed.tech/topics/provisioning.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Self-hosted](<https://devfeed.tech/topics/self-hosted.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [databases](<https://devfeed.tech/tags/databases.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [product](<https://devfeed.tech/tags/product.md>), [production](<https://devfeed.tech/tags/production.md>), [provisioning](<https://devfeed.tech/tags/provisioning.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

This article explains how to create a Neon Twin: a synchronized copy of an AWS RDS production database in Neon for development, staging, and testing. A GitHub Actions workflow runs nightly pg_dump and restore operations, while Neon features such as instant provisioning, branching, and scale to zero improve development velocity and reduce non-production costs.

## Source excerpt

As we discussed in Part I of this series, AWS RDS is great for production, but unwieldy for dev, stage, and test databases. Businesses of all kinds ship faster with their entire DB load on Neon: Instant provisioning saves time, development is smoother with branching, and scale to...