我正在使用 RDS Postgresql 数据库实例 - v11.12(不是 Aurora),但我看不到预期的“创建 Aurora 只读副本”选项。我需要更新任何配置吗? 我检查并看到区域 us-east-1 具有与 Postgres 11.12 匹配的 Aurora 版本。但不确定为什么我看不到副本选项。 感谢任何帮助:)
最佳答案
这也发生在我身上,我没有看到我无法创建 Aurora 只读副本的明显原因,所以我尝试通过 CLI 创建它并且成功了:
创建集群
aws rds create-db-cluster
--db-cluster-identifier <new cluster name>
--db-subnet-group-name <subnet: same as original db>
--vpc-security-group-ids <security group id: like sg-12345678>
--engine aurora-postgresql
--engine-version <same as original db>
--replication-source-identifier <arn of original db: like arn:aws:rds:eu-west-1:065414729932:db:my-database>
<if encrypted>
--storage-encrypted
--kms-key-id <kms key arn, like: arn:aws:kms:eu-west-1:065514443312:key/195dff9f-0ee3-1024-b61f-3e19e4523495>
和其中的实例
aws rds create-db-instance
--db-cluster-identifier <cluster name>
--db-instance-class <desired instnace class>
--db-instance-identifier <id of new instance>
--engine aurora-postgresql
您将获得 Aurora Read Replica 集群(它将是只读的,除非您提升它)
Commands are taken from official guide "Migrating data to Amazon Aurora"
关于postgresql - 在 RDS Postgresql 数据库实例上看不到 "Create Aurora read replica"- 版本 11.12,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71600316/