Postgresql 使用AWS CLI创建AWS aurora postgres实例的正确参数是什么?
当--engine设置为Postgresql 使用AWS CLI创建AWS aurora postgres实例的正确参数是什么?,postgresql,amazon-web-services,amazon-aurora,Postgresql,Amazon Web Services,Amazon Aurora,当--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-use
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:
我尝试了我看到的所有记录在案的--存储类型值(标准,io1
和gp2
),它们都会生成错误:
An error occurred (StorageTypeNotSupported) when calling the CreateDBInstance operation:\n
Invalid storage type: XXX
我还没有找到一个从CLI创建aurora postgres db的示例。感谢您的建议。您不能为Aurora设置存储类型或特定的分配存储大小。Aurora自动扩展存储,并使用自己的专有存储类型。我猜——分配的存储100
可能会把它扔掉?此外,请确保您使用的是最新版本的CLI。