【发布时间】:2021-12-17 12:01:16
【问题描述】:
我正在使用托管在 AWS 上的 Sprint 启动应用程序。应用程序数据存储在 AWS RDS 中。现在我已经设置了另一个 AWS 账户,我想从与当前 AWS 账户关联的 RDS 实例中迁移数据。
在这方面,经过这里的几个帖子,似乎,做同样的步骤如下:
1. Create a snapshot of the database in the RDS database instance associated with the current AWS account.
2. Share the snapshot with the new AWS account.
3. Import the data from this snapshot to the RDS instance associated with the new AWS account.
这种方法的一个问题是:我必须使应用程序对最终用户不可用,直到所有步骤都完成并且具有托管在新 AWS 账户中的数据库的应用程序开始运行,否则总会有还有一些 delta 有待迁移。
但是,我想将数据从现有实例迁移到新实例而不使应用程序对最终用户不可用,但我没有找到任何合适的方法来实现这一点。
有人可以帮忙吗?谢谢。
【问题讨论】:
-
如果在将 Amazon RDS 数据库实例迁移到另一个账户时担心数据库停机,请使用 AWS Data Migration Services (AWS DMS)。该服务提供数据复制,一般会造成少于 5 分钟的中断时间。
标签: amazon-web-services amazon-rds database-migration