{"id":3123,"date":"2019-07-04T21:51:00","date_gmt":"2019-07-04T19:51:00","guid":{"rendered":"http:\/\/miro.borodziuk.eu\/?p=3123"},"modified":"2019-09-06T22:01:28","modified_gmt":"2019-09-06T20:01:28","slug":"aws-cloudformation","status":"publish","type":"post","link":"http:\/\/miro.borodziuk.eu\/index.php\/2019\/07\/04\/aws-cloudformation\/","title":{"rendered":"AWS CloudFormation"},"content":{"rendered":"<p>CloudFormation is an <strong>Infrastructure as Code<\/strong> (IaC) product \u2014 you can create manage, and remove infrastructure using <strong>JSON<\/strong> or <strong>YAML<\/strong>.\u00a0 CloudFormation is effective if you frequently deploy the same\u00a0 infrastructure or you require guaranteed consistent configuration.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3126 aligncenter\" src=\"http:\/\/miro.borodziuk.eu\/wp-content\/uploads\/CloudFormation.jpg\" alt=\"\" width=\"597\" height=\"575\" srcset=\"http:\/\/miro.borodziuk.eu\/wp-content\/uploads\/CloudFormation.jpg 597w, http:\/\/miro.borodziuk.eu\/wp-content\/uploads\/CloudFormation-300x289.jpg 300w\" sizes=\"(max-width: 597px) 100vw, 597px\" \/><\/p>\n<p><span style=\"color: #3366ff;\">CloudFormation Fundamentals<\/span><\/p>\n<p>A CloudFor mation (CFN\/cfn) template is used to initially create a CFN stack. A stack creates, updates, and deletes physical AWS resources based on its logical resources, which are based on the contents of a template.<\/p>\n<ul>\n<li>A CFN template is written in <strong>JSON<\/strong> or <strong>YAML<\/strong>.<\/li>\n<li>A template can create up to <strong>200<\/strong> resources.<\/li>\n<li>If a <strong>stack is deleted<\/strong>, then, by default, any <strong>resources<\/strong> it has created are also <strong>deleted<\/strong>.<\/li>\n<li>A stack can be updated by uploading a <strong>new version<\/strong> of a template.<\/li>\n<li>New logical resources cause new physical resources.<\/li>\n<li>Removed logical resources cause the stack to delete physical resources.<\/li>\n<li><strong>Changed<\/strong> logical resources <strong>update<\/strong> with <strong>some disruption<\/strong> or <strong>replace<\/strong> physical resources.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CloudFormation is an Infrastructure as Code (IaC) product \u2014 you can create manage, and remove infrastructure using JSON or YAML.\u00a0 CloudFormation is effective if you frequently deploy the same\u00a0 infrastructure or you require guaranteed consistent configuration.<\/p>\n","protected":false},"author":1,"featured_media":3124,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[80],"tags":[],"_links":{"self":[{"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/posts\/3123"}],"collection":[{"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/comments?post=3123"}],"version-history":[{"count":4,"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/posts\/3123\/revisions"}],"predecessor-version":[{"id":3129,"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/posts\/3123\/revisions\/3129"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/media\/3124"}],"wp:attachment":[{"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/media?parent=3123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/categories?post=3123"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/miro.borodziuk.eu\/index.php\/wp-json\/wp\/v2\/tags?post=3123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}