{"id":22890,"date":"2017-04-06T13:49:13","date_gmt":"2017-04-06T13:49:13","guid":{"rendered":"https:\/\/www.whizlabs.com\/?p=22890"},"modified":"2024-05-22T09:18:06","modified_gmt":"2024-05-22T03:48:06","slug":"aws-cloudformation","status":"publish","type":"post","link":"https:\/\/www.whizlabs.com\/blog\/aws-cloudformation\/","title":{"rendered":"AWS Certification : How to Create and Use AWS CloudFormation Templates?"},"content":{"rendered":"<p><span>Are you preparing for <a href=\"https:\/\/www.whizlabs.com\/aws-developer-associate\/\">AWS Certified Developer Associate certification exam<\/a>? In this space, we are writing series of articles on topics which are covered in the developer associate certification exam. In this article, we are explaining one of the important concept AWS CloudFormation. You would expect lot of questions from this topic for developer associate exam. You can subscribe to us for receiving the further updates on this topic.<\/span><\/p>\n<p><span>Developer Associate certification exam is the most easiest exam in the associate level, it is good idea to start your certification from this exam. Also we would recommend you to pass the solutions architect certification exam which covers the concepts of all the services offered in AWS.<\/span><\/p>\n<ul>\n<li>TRY NOW :<strong><a href=\"https:\/\/www.whizlabs.com\/aws-developer-associate\/free-test\/\">10 Free Practice Questions for Developer Associate Exam<\/a><\/strong><\/li>\n<li>OFFER :<strong><a href=\"https:\/\/www.whizlabs.com\/aws-developer-associate\/practice-tests\/\">420 Practice Questions for Developer Associate Exam (50% Discount)<\/a><\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #ea7e02;color:#ea7e02\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #ea7e02;color:#ea7e02\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.whizlabs.com\/blog\/aws-cloudformation\/#Developer_Associate_Syllabus\" >Developer Associate Syllabus<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.whizlabs.com\/blog\/aws-cloudformation\/#Amazon_CloudFormation\" >Amazon CloudFormation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.whizlabs.com\/blog\/aws-cloudformation\/#Structure_of_a_CloudFormation_Template\" >Structure of a CloudFormation Template<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.whizlabs.com\/blog\/aws-cloudformation\/#Basic_CloudFormation_Template\" >Basic CloudFormation Template<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.whizlabs.com\/blog\/aws-cloudformation\/#_CloudFormation_Functions\" >\u00a0CloudFormation Functions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.whizlabs.com\/blog\/aws-cloudformation\/#Final_Points_to_Remember_About_CloudFormation\" >Final Points to Remember About CloudFormation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.whizlabs.com\/blog\/aws-cloudformation\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Developer_Associate_Syllabus\"><\/span>Developer Associate Syllabus<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Here is the snapshot of <a href=\"https:\/\/awstrainingandcertification.s3.amazonaws.com\/production\/AWS_certified_developer_associate_blueprint.pdf\" target=\"_blank\" rel=\"external noopener noreferrer nofollow\">blueprint for developer associate<\/a> is covered in the developer associate exam.<\/p>\n<h2><\/h2>\n<h2><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/aws-developer-associate-blueprint-1.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/aws-developer-associate-blueprint-1.png\" alt=\"aws-developer-associate-blueprint\" width=\"710\" height=\"675\" class=\"aligncenter size-full wp-image-23277\" \/><\/a><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"Amazon_CloudFormation\"><\/span><b>Amazon CloudFormation<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Amazon Cloudformation helps developers and other IT professional to design templates that can be used to create aws resources. It\u2019s like infrastructure as code. AWS Cloudformation includes the following features<\/p>\n<ol>\n<li>Its simple to use. It has a web interface which allows one to easily manage and work with aws resources.<\/li>\n<li>It supports the creation of a wide range of aws resources, right from EC2 resources to Elastic Load Balancer.<\/li>\n<li>You can create templates which is infrastructure as code. These templates can be re-used to create resources for multiple environments.<\/li>\n<li>One can customize the template and creation of resources via parameters.<\/li>\n<li>There is a Visual editor which allows one to have a visual representation of resources. One can then drag and drop resources and create the template accordingly.<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Structure_of_a_CloudFormation_Template\"><\/span><b>Structure of a CloudFormation Template<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A cloudformation template has the following structure<\/p>\n<pre>{\r\n\t\"AWSTemplateFormatVersion\" : \"version date\",\r\n\t\"Description\" : \"JSON string\",\r\n\t\"Metadata\" : \r\n\t{\r\n\t\ttemplate metadata\r\n\t},\r\n\t\"Parameters\" : \r\n\t{\r\n\t\tset of parameters\r\n\t},\r\n\t\"Mappings\" : \r\n\t{\r\n\t    set of mappings\r\n\t},\r\n\t\"Conditions\" : \r\n\t{\r\n\t    set of conditions\r\n\t},\r\n\t\"Transform\" : \r\n\t{\r\n\t    set of transforms\r\n\t},\r\n\t\"Resources\" : \r\n\t{\r\n\t    set of resources\r\n\t},\r\n\t\"Outputs\" : \r\n\t{\r\n\t\tset of outputs\r\n\t}\r\n}\r\n<\/pre>\n<p>The description of the different section of the template are given below<\/p>\n<ul>\n<li>Format Version &#8211; This specifies the AWS CloudFormation template version that the template conforms to.<\/li>\n<li>Description &#8211; A text string that describes the template.<\/li>\n<li>Metadata &#8211; Objects that provide additional information about the template.<\/li>\n<li>Parameters &#8211; Specifies values that you can pass in to your template at runtime.<\/li>\n<li>Mappings &#8211; A mapping of keys and associated values that you can use to specify conditional parameter values, similar to a lookup table. You can match a key to a corresponding value by using the Fn::FindInMap intrinsic function in the Resources and Outputs section.<\/li>\n<li>Conditions &#8211; Defines conditions that control whether certain resources are created or whether certain resource properties are assigned a value during stack creation or update.<\/li>\n<li>Transform &#8211; For serverless applications (also referred to as Lambda-based applications), specifies the version of the AWS Serverless Application Model (AWS SAM) to use.<\/li>\n<li>Resources &#8211; Specifies the stack resources and their properties, such as an Amazon Elastic Compute Cloud instance or an Amazon Simple Storage Service bucket.<\/li>\n<li>Outputs &#8211; Describes the values that are returned whenever you view your stack&#8217;s properties.<\/li>\n<\/ul>\n<p>One of the key aspects for the Developer exam is to know how to setup cloudformation templates. So let\u2019s look at the basic ways to create cloudformation templates<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Basic_CloudFormation_Template\"><\/span><b>Basic CloudFormation Template<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In this example, we will look at how to automate the creation of an EC2 instance from a particular AMI ID<\/p>\n<ul>\n<li>Creating a template &#8211; Log into your AWS Console. You will see CloudFormation under the Management tools section.<\/li>\n<li><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/1-2.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/1-2.png\" alt=\"Management tools\" width=\"240\" height=\"232\" class=\"aligncenter wp-image-22915 size-full\" \/><\/a>\u00a0Click on Cloudformation. In the next screen click on Design template. This will allow you to create a custom template for cloudformation.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/2-3.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/2-3.png\" alt=\"AWS Cloudformation- Template\" width=\"608\" height=\"248\" class=\"aligncenter wp-image-22917 size-full\" \/><\/a><\/p>\n<ul>\n<li>The template designer will show up. You have the option to either create the template via the designer or to create it via the JSON editor.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/3-2.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/3-2.png\" alt=\"AWS Cloudformation- Template designer\" width=\"1065\" height=\"533\" class=\"aligncenter wp-image-22918 size-full\" \/><\/a><\/p>\n<ul>\n<li>As an AWS Developer, you need to know the JSON structure for cloudformation templates. So let\u2019s add the following code to the template designer.<\/li>\n<\/ul>\n<pre>{\r\n\"Resources\" : {\r\n   \"MyEC2Instance\" : {\r\n       \"Type\" : \"AWS::EC2::Instance\",\r\n           \"Properties\" : {\"ImageId\" : \"ami-e5a51786\"}\r\n         }\r\n     }\r\n}\r\n<\/pre>\n<p>The resources section tells the cloudformation template that we want to work with an aws resource.<\/p>\n<ul>\n<li>Next we are defining a variable for our resource which is called MyEC2Instance<\/li>\n<li>Next we want the type of resource to be a AWS::EC2::Instance<\/li>\n<li>And finally we want our instance to be of the image id ami-e5a51786. Note that this image id is in the Singapore region. It is also an AMI for a windows instance.<\/li>\n<\/ul>\n<p>You can add the code to the template section.<\/p>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/4-1.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/4-1.png\" alt=\"AWS Cloudformation- code\" width=\"1086\" height=\"208\" class=\"aligncenter wp-image-22919 size-full\" \/><\/a><\/p>\n<p>Once done , you can click on the Validate template option in the left hand corner. \u00a0It\u2019s the icon with the tick mark.<\/p>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/5-1.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/5-1.png\" alt=\"AWS Cloudformation- Validate Template\" width=\"309\" height=\"76\" class=\"aligncenter wp-image-22920 size-full\" \/><\/a><\/p>\n<ul>\n<li>Next click on the cloud like button to create a stack from the code<\/li>\n<\/ul>\n<figure id=\"attachment_22921\" aria-describedby=\"caption-attachment-22921\" style=\"width: 299px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/6-1.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/6-1.png\" alt=\"AWS Cloudformation- Create Stack\" width=\"299\" height=\"82\" class=\"size-full wp-image-22921\" \/><\/a><figcaption id=\"caption-attachment-22921\" class=\"wp-caption-text\">AWS Cloudformation- Create Stack<\/figcaption><\/figure>\n<ul>\n<li>\u00a0In the next screen, you can accept the default settings and click on the next button.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/7-1.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/7-1.png\" alt=\"AWS Cloudformation- Template\" width=\"1067\" height=\"552\" class=\"aligncenter wp-image-22922 size-full\" \/><\/a><\/p>\n<ul>\n<li>Next you just need to give a name for the stack and click on the Next button.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/8-1.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/8-1.png\" alt=\"AWS Cloudformation - Stack Name\" width=\"1099\" height=\"268\" class=\"aligncenter wp-image-22923 size-full\" \/><\/a><\/p>\n<p>In the next screen you have the ability to add a role or a tag. For now you can leave the default settings as it is and click on the Next button.<\/p>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/9-1.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/9-1.png\" alt=\"AWS Cloudformation - Add Role\" width=\"1077\" height=\"589\" class=\"aligncenter wp-image-22924 size-full\" \/><\/a><\/p>\n<ul>\n<li>In the final screen, you can click on the Create button<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/10-1.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/10-1.png\" alt=\"AWS Cloudformation - Create\" width=\"1102\" height=\"619\" class=\"aligncenter wp-image-22925 size-full\" \/><\/a><\/p>\n<ul>\n<li>If you now go to your EC2 dashboard, you will see one instance now running. This has been created by the Cloudformation template.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/111.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/111.png\" alt=\"AWS Cloudformation - Running Instance\" width=\"796\" height=\"31\" class=\"aligncenter wp-image-22926 size-full\" \/><\/a><\/p>\n<ul>\n<li>And now if you go back to the cloudformation template , you will see that the status is complete.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/12-1.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/12-1.png\" alt=\"AWS Cloudformation - Status Completion \" width=\"979\" height=\"277\" class=\"aligncenter wp-image-22927 size-full\" \/><\/a><\/p>\n<p>Note: &#8211; If any resource creation in the template fails, the entire template is rolled back.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"_CloudFormation_Functions\"><\/span><b>\u00a0CloudFormation Functions<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Cloudformation has support for functions known as intrinsic functions. Some of the key functions are given below<\/p>\n<ul>\n<li>Fn::FindInMap &#8211; The intrinsic function Fn::FindInMap returns the value corresponding to keys in a two-level map that is declared in the Mappings section.<\/li>\n<li>Fn::GetAtt &#8211; The Fn::GetAtt intrinsic function returns the value of an attribute from a resource in the template.<\/li>\n<li>Fn::GetAZs &#8211; The intrinsic function Fn::GetAZs returns an array that lists Availability Zones for a specified region.<\/li>\n<li>Fn::Join &#8211; The intrinsic function Fn::Join appends a set of values into a single value, separated by the specified delimiter. If a delimiter is the empty string, the set of values are concatenated with no delimiter.<\/li>\n<\/ul>\n<p>Let\u2019s look at an example of using a function<\/p>\n<ul>\n<li>Again let\u2019s create a cloudformation stack, but this time let\u2019s add the below code<\/li>\n<\/ul>\n<pre>{\r\n   \"Resources\": {\r\n      \"MyEC2Instance\": {\r\n          \"Type\": \"AWS::EC2::Instance\",\r\n              \"Properties\": {\r\n                 \"ImageId\": \"ami-e5a51786\"\r\n               }\r\n           }\r\n      },\r\n   \"Outputs\": {\r\n       \"Availability\": {\r\n           \"Description\": \"The Instance ID\",\r\n            \"Value\":\r\n       { \"Fn::GetAtt\" : [ \"MyEC2Instance\", \"AvailabilityZone\" ]}\r\n      }\r\n   }\r\n}\r\n<\/pre>\n<p>Now in the above stack, we are using the Fn::GetAtt function to get the AvailabilityZone as an output in which the resource is created.<\/p>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/13.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/13.png\" alt=\"AWS Cloudformation - Fn:GetAtt\" width=\"1088\" height=\"224\" class=\"aligncenter wp-image-22928 size-full\" \/><\/a><\/p>\n<ul>\n<li>\u00a0Now create a stack based on the above template with the same settings, but this time you can give a\u00a0 different name for the stack.<\/li>\n<\/ul>\n<p>Now when the template creation is done, and you see the output tab, you will see the AZ as an output in which the EC2 instance is created.<\/p>\n<p><a href=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/14.png\"><img decoding=\"async\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/05\/14.png\" alt=\"AWS Cloudformation - Output\" width=\"1102\" height=\"366\" class=\"aligncenter wp-image-22929 size-full\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Final_Points_to_Remember_About_CloudFormation\"><\/span><b>Final Points to Remember About CloudFormation<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Cloudfromation has a web interface which allows one to easily manage and work with aws resources.<\/li>\n<li>It supports the creation of a wide range of aws resources, right from EC2 resources to Elastic Load Balancer.<\/li>\n<li>You can create templates which is infrastructure as code. These templates can be re-used to create resources for multiple environments.<\/li>\n<li>If any resource creation in the template fails, the entire template is rolled back.<\/li>\n<li>Cloudformation has the support for functions known as intrinsic functions. Some of them are given below\n<ul>\n<li>Fn::FindInMap<\/li>\n<li>Fn::GetAtt<\/li>\n<li>Fn::GetAZs<\/li>\n<li>Fn::Join<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Don\u2019t MISS IT :<\/strong>\u00a0<strong><a href=\"https:\/\/www.whizlabs.com\/aws-developer-associate\/\">420 Practice Questions for Developer Associate Exam (50% Discount)<\/a><\/strong><\/li>\n<\/ul>\n<p><span>In this article we have explained about how to create and use AWS CloudFormation Templates. This is one of the most important service offered by Amazon Web Services (AWS) that will help the developers to model the templates for their AWS resources . You would expect lot of questions from this topic in your certification exam.\u00a0<\/span><\/p>\n<p><strong>If you are preparing for the AWS certifications exam and looking for any help, please send us a mail or call to our customer support team.\u00a0<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you preparing for AWS Certified Developer Associate certification exam? In this space, we are writing series of articles on topics which are covered in the developer associate certification exam. In this article, we are explaining one of the important concept AWS CloudFormation. You would expect lot of questions from this topic for developer associate exam. You can subscribe to us for receiving the further updates on this topic. Developer Associate certification exam is the most easiest exam in the associate level, it is good idea to start your certification from this exam. Also we would recommend you to pass [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":96345,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4],"tags":[259],"class_list":["post-22890","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aws-certifications","tag-aws-developer-associate"],"uagb_featured_image_src":{"full":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation.jpg",725,282,false],"thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation-150x150.jpg",150,150,true],"medium":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation-300x117.jpg",300,117,true],"medium_large":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation.jpg",725,282,false],"large":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation.jpg",725,282,false],"1536x1536":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation.jpg",725,282,false],"2048x2048":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation.jpg",725,282,false],"profile_24":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation.jpg",24,9,false],"profile_48":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation.jpg",48,19,false],"profile_96":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation.jpg",96,37,false],"profile_150":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation.jpg",150,58,false],"profile_300":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation.jpg",300,117,false],"tptn_thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation-250x250.jpg",250,250,true],"web-stories-poster-portrait":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation-640x282.jpg",640,282,true],"web-stories-publisher-logo":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation-96x96.jpg",96,96,true],"web-stories-thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2017\/04\/aws-cloudformation-150x58.jpg",150,58,true]},"uagb_author_info":{"display_name":"Pavan Gumaste","author_link":"https:\/\/www.whizlabs.com\/blog\/author\/pavan\/"},"uagb_comment_info":2,"uagb_excerpt":"Are you preparing for AWS Certified Developer Associate certification exam? In this space, we are writing series of articles on topics which are covered in the developer associate certification exam. In this article, we are explaining one of the important concept AWS CloudFormation. You would expect lot of questions from this topic for developer associate&hellip;","_links":{"self":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/22890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/comments?post=22890"}],"version-history":[{"count":7,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/22890\/revisions"}],"predecessor-version":[{"id":96371,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/22890\/revisions\/96371"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/media\/96345"}],"wp:attachment":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/media?parent=22890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/categories?post=22890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/tags?post=22890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}