问题描述
我有一个现有的 aws 基础架构,其中包含 VPC、子网、实例等.如果我以后需要再次构建相同的基础架构,有没有办法从现有基础架构创建云形成模板?请帮忙.
I have an existing aws infrastructure with VPC's, subnets, instances,etc. If I need to build the same infrastructure again in future is there any way to create a cloud formation template from the existing infrastructure? Please help.
推荐答案
在名为 CloudFormer 的 CloudFormation 模板中有可用的堆栈.您可以使用此堆栈从现有 AWS 资源创建 AWS CloudFormation 模板.但是,由于它处于 Beta 版本,因此可能并非所有资源都支持它.您可以参考文档了解有关 CloudFormer 的更多信息:
There is stack available in CloudFormation templates named CloudFormer. You can create AWS CloudFormation Templates from Existing AWS Resources by using this stack. Although, as it is in Beta version it might not be supported for all the resources. You can refer document for more information about CloudFormer:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-using-cloudformer.html
这篇关于如何从现有 AWS 环境创建云形成模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!