简体   繁体   English

使用Ansible的AWS Postgres rds

[英]aws postgres rds using ansible

I am trying to deploy a postgres db on AWS RDS using ansible. 我正在尝试使用ansible在AWS RDS上部署一个postgres数据库。 However, I run into problems with the size of the database which I specify as 20 GB (the max for the free tier) 但是,我遇到了我指定为20 GB(免费层的最大值)的数据库大小的问题

"msg": "Failed to create instance: Storage size for Engine Name: postgres and Storage Type: io1 must be between 100 and 6144. Currently specified storage size is 20"

Everything works fine if I create the database manually via the dashboard. 如果我通过仪表板手动创建数据库,则一切正常。 Any reason why it does not work via the command line tools? 为什么不能通过命令行工具正常工作?

Are you using RDS Provisioned IOPS ? 您正在使用RDS配置的IOPS吗? if yes, should be iops: 100 如果是,应为iops: 100

AWS - Provisioned IOPS volumes can range in size from 100 GB to 6 TB for MySQL, MariaDB, PostgreSQL AWS-MySQL,MariaDB和PostgreSQL的预配置IOPS卷的大小范围可以从100 GB到6 TB

Ansible - iops - Specifies the number of IOPS for the instance. Ansible-iops-指定实例的IOPS数量。 Used only when command=create or command=modify. 仅在command = create或command = modify时使用。 Must be an integer greater than 1000. 必须是大于1000的整数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM