【问题标题】:Mesosphere Cloud Formation Template Using Existing VPC/NAT使用现有 VPC/NAT 的 Mesosphere Cloud Formation 模板
【发布时间】:2016-04-19 02:20:43
【问题描述】:

我正在使用现有的单主 Mesosphere DCOS 云形成模板:

https://s3.amazonaws.com/downloads.mesosphere.io/dcos/stable/cloudformation/single-master.cloudformation.json

我试图弄清楚如何表明我想在已经配置了 NAT/Internet 网关的现有 VPC 中启动它。

刚接触云形成,在 Mesosphere 网站上找不到任何关于模板实际创建内容和原因的文档。此外,似乎没有完整的手动设置教程。就是这个模板。

谢谢!

【问题讨论】:

    标签: amazon-cloudformation amazon-vpc mesosphere


    【解决方案1】:

    您可以轻松更改 CF 模板,只需删除 VPC 资源,将 vpc-id 作为参数包含在内,并将对 VPC 资源的所有引用更改为指向新参数。

    以同样的方式,您可以替换模板中的子网并删除 NAT 实例。

    【讨论】:

      【解决方案2】:

      我已更改 cloudformation 脚本以在现有 VPC/NAT 中安装 mesosphere。

      https://github.com/navidurrahman/dcos-cloudformation

      如果您遇到任何问题,请告诉我

      【讨论】:

      • “ResolverDnsParam”的值应该是多少?我的堆栈创建总是失败。
      • 解析器的默认值为 169.254.169.253。这个价值从何而来?
      【解决方案3】:

      此云形成模板安装 dcos 1.3 版。我已经为最新的中间层安装编写了一个 terraform 模块。

      https://github.com/navidurrahman/terraform_mesosphere

      【讨论】:

        猜你喜欢
        • 2021-04-20
        • 1970-01-01
        • 2012-10-02
        • 2015-01-03
        • 2017-12-13
        • 1970-01-01
        • 2016-10-30
        • 2020-01-27
        • 1970-01-01
        相关资源
        最近更新 更多