AWS offers a tool called CloudFormer
that can be used to create a CloudFormation
template from an existing stack. This tool runs on a t1.micro
instance, can be started via a CloudFormation
template and provides an endpoint that you can use to interact with it (if you load that endpoint in the browser you get a nice UI, but you could also interact with that endpoint from your own code if you mimic their UI).
You can read more about CloudFormer
on:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-using-cloudformer.html
and
http://aws.amazon.com/developertools/6460180344805680
If you're only looking to create the CloudFormation
template once from your existing resources, then you won't really need to interact with the CloudFormer
tool from your code as you can just use the UI to get your initial template. Once you have the CloudFormation template, you can re-create, update or destroy the stack programmatically trough the CloudFormation .net API
: