amazon-web-services - 如何使用 Cloudformation 在 AWS Aurora 中指定 Postgres?

标签 amazon-web-services aws-cloudformation amazon-aurora

我正在尝试使用 Cloudformation 启动 Postgres 风格的 Aurora 集群,但我找不到如何在模板中指定“postgres”。有谁知道怎么做,或者 Postgres 是否受支持?

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html

最佳答案

aurora-postgresql

目前唯一支持的引擎版本是 9.6.3

更新 - 当前支持的 aurora 版本现在包括 9.6.6、9.6.8 和 9.6.9 https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html

更新 2 - 对于版本 10,当前支持的 aurora 版本包括 postgres:10.4、10.5、10.6 https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html

aws rds describe-db-engine-versions --engine aurora-postgresql
--region us-east-1 {
    "DBEngineVersions": [
        {
            "Engine": "aurora-postgresql",
            "DBParameterGroupFamily": "aurora-postgresql9.6",
            "DBEngineDescription": "Aurora (PostgreSQL)",
            "EngineVersion": "9.6.3",
            "DBEngineVersionDescription": "Aurora PostgreSQL (compatible with PostgreSQL 9.6.3)",
            "ValidUpgradeTarget": []
        }
    ] }

https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html

引擎

The name of the database engine to be used for this instance.

Not every database engine is available for every AWS Region.

Valid Values:

    aurora

    aurora-postgresql

    mariadb

    mysql

    oracle-ee

    oracle-se2

    oracle-se1

    oracle-se

    postgres

    sqlserver-ee

    sqlserver-se

    sqlserver-ex

    sqlserver-web

关于amazon-web-services - 如何使用 Cloudformation 在 AWS Aurora 中指定 Postgres?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47434644/

相关文章:

amazon-web-services - 用于在所有可用区部署 cloudwatch 的 AWS cloudformation 模板

mysql - 无法插入 Amazon RDS 数据库

amazon-web-services - RDS 控制台中缺少创建 Aurora 只读副本选项

mysql - AWS Aurora 是否受到与 MySQL 相同的限制?

android - ProguardTokenType.CRLF、ProguardTokenType.FLAG_ARG、ProguardTokenType.LINE_CMT 或 ProguardTokenType.OPEN_BRACE 预期,文件意外结束

amazon-web-services - 使用子域进行服务分段的应用程序负载均衡器

amazon-web-services - 将 aws key 从 key 管理器添加到门户 UI 配置中的 lambda 环境变量

amazon-web-services - 使用云形成的 AWS Cognito 常规属性设置

amazon-web-services - MSK 没有安全性,当创建从 IoT Core 到 Kafka 的规则操作时,它要求我选择安全性,我可以避免这种情况吗?

amazon-web-services - AWS CloudFormation YAML - 引用在同一堆栈中创建的实例的私有(private) IP 以写入配置文件