I can create AWS vpc, subnets, security groups, route53 in Ansible easily. But I did not find any good documents to create these same in Chef using predefined modules or plugins. Using knife EC2 plugin I can only launch aws instance but that is also not working properly.
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 ¯\\_(ツ)_/¯).
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.