[英]How can I create AWS vpc, subnets, security groups in opscode chef?
I can create AWS vpc, subnets, security groups, route53 in Ansible easily. 我可以在Ansible中轻松创建AWS vpc,子网,安全组和route53。 But I did not find any good documents to create these same in Chef using predefined modules or plugins.
但是我没有找到任何好的文档来使用预定义的模块或插件在Chef中创建相同的文档。 Using knife EC2 plugin I can only launch aws instance but that is also not working properly.
使用刀EC2插件,我只能启动aws实例,但是也无法正常工作。
There is both the aws
cookbook mentioned above as well as the rathole that is chef-provisioning
(though VPC and subnet management is probably out of scope for that but I've never tried so ¯\\_(ツ)_/¯). 既有上面提到的
aws
食谱,也有chef-provisioning
的aws
菜单(尽管VPC和子网管理可能不在此范围之内,但我从未尝试过这样做)。
Overall I would highly recommend using Terraform or SparkleFormation or a similar tool for this, there just isn't as good a user experience to do hardware management through Chef compared to those tools. 总体而言,我强烈建议为此使用Terraform或SparkleFormation或类似的工具,与这些工具相比,通过Chef进行硬件管理的用户体验并不佳。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.