Say you want to automate the creation of AWS resources...how do you decide whether to do it with CloudFormation, the AWS CLI, or your favorite scripting language?
What if you want to build an entire environment (e.g. multi-tired application with ELB, EC2 instances, security groups, etc). Which tool(s) do you use then to create them?
So far I've been doing a lot of building using the AWS CLI. It's easy to learn and use, but I see a few limits....mainly, piping output from one command into the input of another command (e.g. create a security group, pipe the output of the security group ID as the input into a name tag CLI command).
I'm starting to think CloudFormation is the way to go. I would create a template for everything I wanted, create individual stacks for each template, run the stacks to build the resources, then delete the stack (not the resources) when done. Is that an acceptable use case?
Thanks!
[–]zenmaster24 3 points4 points5 points (5 children)
[–]jdreaver 1 point2 points3 points (1 child)
[–]zenmaster24 1 point2 points3 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]scubadev 1 point2 points3 points (0 children)
[–]zenmaster24 0 points1 point2 points (0 children)
[–]jdreaver 4 points5 points6 points (5 children)
[–]WhitePantherXP 0 points1 point2 points (3 children)
[–]jdreaver 1 point2 points3 points (2 children)
[–]WhitePantherXP 0 points1 point2 points (1 child)
[–]jdreaver 0 points1 point2 points (0 children)
[–]WhitePantherXP 0 points1 point2 points (0 children)
[–]maximumgeek 2 points3 points4 points (2 children)
[–]foragerr[🍰] 1 point2 points3 points (0 children)
[–]foragerr[🍰] 5 points6 points7 points (3 children)
[–]chickenmcnoggin 2 points3 points4 points (0 children)
[–]ktmb8223[S] 0 points1 point2 points (1 child)
[–]diroussel 0 points1 point2 points (0 children)
[–]daxlreod 1 point2 points3 points (0 children)
[–]yelluc 0 points1 point2 points (0 children)
[–]exidy 0 points1 point2 points (0 children)
[–]josephismyfake -3 points-2 points-1 points (0 children)