似乎找不到运行 Cloudformation 模板的代码片段 在 Ubuntu 14.10 上并连接到托管 Chef 。
我能够下载并运行 cfn-init“AWS::CloudFormation::Init”。另外,我还有organization-validator.pem 文件和client.pem 文件。
我根据Amazon linux找到了这个例子作为指南,但不太确定如何将其转换到 Ubuntu。想法?
最佳答案
这超出了单个答案的范围,但我在https://github.com/coderanger/brix有一个例子。 。 packer/
子目录展示了如何构建 AMI 以与 EC2 一起使用(尽管您可能希望更改 https://github.com/coderanger/brix/blob/master/packer/client.rb#L3 和相关 key )。 https://github.com/coderanger/brix/blob/master/templates/base.py#L224-L249显示启动配置,它是一个自定义的 DSL,但希望它仍然可读。
关于ubuntu - 连接到托管 Chef 的 Cloudformation 片段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28057476/