postgresql - 使用 AWS CLI 创建 AWS aurora postgres 实例的正确参数是什么?
问题描述
以下命令在 --engine 设置为时有效postgres
,但是当我将其更改为aurora-postgresql
(根据文档)时,我收到一个奇怪的错误:
aws rds create-db-instance \
--db-name mydb1 \
--db-instance-identifier mydb1 \
--db-instance-class db.r5.large \
--engine aurora-postgresql \
--master-username postgres \
--master-user-password XXXXX \
--availability-zone us-east-1a \
--db-subnet-group-name mydb-subnets-us-east-1 \
--allocated-storage 100
错误:
An error occurred (InvalidParameterCombination) when calling the CreateDBInstance operation:
Invalid storage type for DB engine manfred: aurora
是什么manfred:
?
我已经尝试了--storage-type
我看到的所有记录值(standard
和io1
)gp2
,它们都产生了错误:
An error occurred (StorageTypeNotSupported) when calling the CreateDBInstance operation:\n
Invalid storage type: XXX
我找不到从 CLI 创建 aurora postgres db 的单个示例。有人提出任何建议,我们将不胜感激。
解决方案
推荐阅读
- javascript - 应用新媒体规则时如何立即更新计算样式?
- python - 将变量传递给 lambda 函数
- javascript - React Native - 以编程方式关闭警报
- java - Maven 阴影插件将文件重定位到主文件夹
- mysql - 从“09 - 10 10 - 11 11 - 12”之类的字符串在mysql中解析/计数
- excel - 如何从众多元素下的div元素中提取文本?
- python - PySpark:减去两个时间戳列并以分钟为单位返回差异(使用 F.datediff 仅返回一整天)
- php - phpmyadmin 在同一查询中给出与 php 不同的结果?
- python - 找到 2 个对象的不同中心
- php - 如何运行 symfony 控制台?