我可以 运行 EC2 上的 Amazon RDS 副本吗?

Can I run Amazon RDS replicas on EC2?

我正在运行建立一个社交网络,但是成本太高,我目前只有两个解决方案。

关闭它,或者降低成本。 降低成本的唯一可用方法是 运行 ec2 spot 实例上的一些 rds 副本。我已经知道风险,但这是我能做的最好的。

我会保留一些正常的 rds 实例 运行ning,这样即使 spot 实例被取消也不会影响太大。

问题是亚马逊说:

仅在从 MySQL 数据库导出数据库时才支持复制到 Amazon RDS 外部的 MySQL 运行ning 实例实例.

他们是否以某种方式控制它?它会在几个小时后停止复制吗?他们没有解释为什么,或者什么时候会停止复制...

这里的概念好像是"supported."

这个词

我们通常将 "is not supported" 解释为 "will not work" 或 "cannot be done" 或 "is prohibited" ... 但是,在这种情况下,它似乎意味着 "is not an official part of our product offering; it may work just fine, but we will not provide you with any support assistance if it does not do what you intend, or causes unexpected issues or interactions."

根据我的经验,最后一个定义在这里适用。

有趣的是,我可以告诉您,自从 MySQL 5.6 的 RDS 中引入该功能以来,我一直拥有 MySQL 运行 的 RDS 外部副本,没有发生任何事故。事实上,作为 I mentioned elsewhere,这确实有效,这是我作为高级 DBA 放弃反对我的 CIO 希望在生产系统中使用 RDS 的主要原因。

当我说 "external replicas," 时,我指的是 EC2 实例上的两个副本 运行,以及我自己公司数据中心的机器上,连接到 VPC 中的 RDS 主机。

我的解释是正确的,最接近官方文档的似乎是在 2013 年官方网络广播 Amazon RDS for MySQL: Best Practices for Performance and Data Migration 中,在大约 56:45 开始的对话中,AWS 人员发表了以下声明:

"You can keep it in a replicated state indefinitely...

"...as long as you take the responsibility to maintain the replication..."

"We are not preventing you from doing ongoing replication if that's what you want."