amazon web services - How Cloud Formation Works -
i see there lot of success stories using cloudformation, we're planning use make sure our prod/dev environments identical. heard a great place have single file, in version control, deploying multiple similar environments. i've doubt, lets if use cloudformer , create template of db instance , save git, , in next 10-15 days make couple of changes add new volumes in instance store datafiles, or delete volumes etc, now, when use template in our dev environment reflect volumes added/deleted. mean how work behind scene.
this basic way use cloudformation:
create json template describing stack. can write manually, or write code creates json you.
create 1 or more stacks based on template.
whenever want change something, edit template (always committing changes version control) , update stack(s).
you have several templates, stacks based on 1 template uses resources created stacks based on other templates. outputs , parameters coordinating this.
most importantly: should never change resources created using cloudformation in other way changing stack template , updating stack.
Comments
Post a Comment