{"id":633,"date":"2021-11-11T10:58:55","date_gmt":"2021-11-11T10:58:55","guid":{"rendered":"http:\/\/18.141.20.153\/?p=633"},"modified":"2025-08-20T11:18:52","modified_gmt":"2025-08-20T11:18:52","slug":"deploy-aws-resources-with-ease-using-amazon-cloudformation-templates","status":"publish","type":"post","link":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/","title":{"rendered":"How can we deploy AWS resources with ease using AWS CloudFormation templates?"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">11<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p><img src=\"https:\/\/lh6.googleusercontent.com\/7A9QIA7LAaux45CIrAad68gbkwdOIOd_uRQ-I9-nNo1R5iTxOi-uFqw9cYWOpvmAO8t4G6PuhoS8-iKQQzVV2pB67FwM16JCVBn-P8_FDjwRRKszU8PLphFzrZJTU_laW52NillF7aU1TQDHTxQ4gA\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Ever imagined how difficult it can be to manage your infrastructure on AWS with many services created? It can be pretty challenging and at times can be pretty time-consuming too. We will have to start focusing more on managing the infrastructure rather than focusing on developing applications. To solve this problem, AWS provides an amazing service &#8211; AWS CloudFormation. It simplifies the creation and management of resources on AWS all within a single stack. You can create and model your infrastructure with ease without having to perform actions manually. In this blog, we will see how we can create resources with just a few clicks via Amazon CloudFormation templates and manage all the created resources in one place.<\/p>\n\n\n\n<p>In this blog, we will cover:<\/p>\n\n\n\n<ul><li>What is AWS CloudFormation?<\/li><li>How AWS CloudFormation works?<\/li><li>Features and benefits of AWS CloudFormation<\/li><li>Why use AWS CloudFormation for Provisioning Architecture&nbsp;<\/li><li>Companies using AWS CloudFormation<\/li><li>Hands-on<\/li><li>AWS CloudFormation vs. Terraform<\/li><li>Conclusion<\/li><\/ul>\n\n\n\n<h2>What is AWS CloudFormation?<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">AWS CloudFormation is an IaC tool that helps in managing the AWS infrastructure resources by assisting in simple modeling and setting up with ease in an orderly manner. It is easier to build a CloudFormation using a template design that can be designed with respect to user preference. For example,&nbsp; a template can be defined as what the application requires like an&nbsp; <a href=\"https:\/\/www.workfall.com\/learning\/blog\/15-awsome-years-of-amazon-ec2-and-still-going-strong\/\">Amazon Elastic Compute&nbsp; Cloud (EC2) instance<\/a>.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">The major advantage is that the user needs not to assess the dependencies or complexities of the infrastructure services that are uploaded to the CloudFormation portal, with that of the application running on top. Once the template is designed, it is vetted and validated, and the CloudFormation analyses and contemplates the resources users define.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">A template and a Stack are the two important aspects of AWS CloudFormation \u2013. Together they complement each other.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/XmZLlW_uzZ0RgcgZNYXxn9m8vsqidXGTneZ9FvYiTAsjIaLDZbuKzX6pN_ZxlXXEZKaW4wQts6y6B9wrnTZGyq_0MMScRqqx9OYUcYqe9075fBUrKv-D0xxodf-CPocVThQdbU0WRniduYeJOYL4AQ\" alt=\"What is AWS CloudFormation?\"\/><\/figure>\n\n\n\n<h4><strong>AWS CloudFormation Template<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-justify\">A template is a simple text file that contains the declaration either in JavaScript Object Notation (JSON) or in a YAML Standard which can be edited using a normal text editor or even a CloudFormation editor. These templates can be managed in the source control system.<\/p>\n\n\n\n<h4><strong>AWS CloudFormation Stack<\/strong><\/h4>\n\n\n\n<p>In AWS&nbsp; CloudFormation multiple related resources are managed in a single unit called Stack. One can delete, create and update a resource in a stack. These stacks are clearly defined by the stack\u2019s template in AWS CloudFormation.<\/p>\n\n\n\n<h2>How AWS CloudFormation works?<\/h2>\n\n\n\n<ol><li>Build a template based on various requirements and save it in the system.<\/li><li>Use the AWS CloudFormation to create a stack on the template defined.<\/li><li>AWS CloudFormation then diagnoses the template design and the configuration to verify the template on dependencies and validate as well as analyze before provisioning the template for the resource.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/R6TOqOQHFt0Dsi-fLLkpaoPgpeTaHTLjzXngcjBU2IJoYELIw6BM7-FQI2PxxJ0dHEB-D-mOx_6OfRlZuypmN50Ossa-qdzeYsI5cwbGO0zkTvkepUBYa9nZAAnx2joNHn_4UZ6JkIVewH9oyxhVoQ\" alt=\"How AWS CloudFormation works?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">AWS CloudFormation gives us an easy way to model a collection of related AWS and third-party resources, provision them quickly and consistently, and manage them throughout their life cycles, by treating infrastructure as code.&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-justify\">A CloudFormation template describes our desired resources and their dependencies so we can launch and configure them together as a stack.&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-justify\">We can use a template to create, update, and delete an entire stack as a single unit, as often as we need to, instead of managing resources individually. We can manage and provision stacks across multiple AWS accounts and AWS Regions.<\/p>\n\n\n\n<h2>AWS CloudFormation Features<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/gBq1CqJ8whob4cElwr3mpEO04Wfshtw1YC9u-x4IzwUvbEISHUUM_YicsINhezOKSOvjsrcZatEku2eFIrJcV30fxCe6h1wK1xeyV1aEU4Pwn_w_0gadZOnwgx_vJmcYj9zvVZ1VK2E_Ax3OBvNs-g\" alt=\"AWS CloudFormation Features\"\/><\/figure>\n\n\n\n<p>Using AWS CloudFormation to deploy infrastructure as code gives us lots of benefits. Major benefits are:&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Automatable: <\/strong>The templates are completely reusable and can be built as well as rebuilt any number of times without any scripting.<\/p>\n\n\n\n<p><strong>All in One: <\/strong>One can model all resources in a single text file and can be used invariably anywhere.<\/p>\n\n\n\n<p><strong>All it is a Code:<\/strong> The template is just a code and can be easily maintained and version controlled as per usage.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>No Extra Charges: <\/strong>As AWS CloudFormation comes along with the AWS Resources, no extra charges have to be paid.<\/p>\n\n\n\n<h2>Benefits of AWS CloudFormation<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/2opC4hsSPU3-_R06ELIn97-FDhAlWaSOyBnuuXviqjDMeauxJRqXr1g8Sl9Qe7LdDyRPhLGJjmZQYf70Obg8jEKulmI2kW2XOGV2HD0D2Jlad9-95E3Fjy3Vrc1s1ADcx-8lt_5ui3Yi5IRShkdEDA\" alt=\"Benefits of AWS CloudFormation\"\/><\/figure>\n\n\n\n<h2>Why use AWS CloudFormation for Provisioning Architecture?<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">Managing your infrastructure as code is one of the key <a href=\"https:\/\/www.workfall.com\/learning\/blog\/amazon-devops-guru-for-serverless\/\">DevOps<\/a> practices, and AWS CloudFormation is your service on AWS to realize it. By managing your infrastructure as code, you can save time, and bring quality to your process by starting to prepare your CloudFormation templates!<\/p>\n\n\n\n<p>Here are a few reasons for using AWS CloudFormation and automating the provisioning of your infrastructure.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/_LXPYFCv3LaLZMf16K4tiUZy5LzLgbKJ328q43-IWltIFaMHZrnRyGSC31AEnK-8rkYL5nWSArgz-9r1FsS-YZAIDcOe9vxe6zZhjNnOF9_OcLK4GpH7ZQ9HFjl-VMnPUANgxMaYDfqj73y_e1rSmA\" alt=\"Why use AWS CloudFormation for Provisioning Architecture?\"\/><\/figure>\n\n\n\n<h2>Companies using AWS CloudFormation<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/J_F7MEXKYomI5v71EQNWxra5b4qs7_DeNJHQgHRMkPL4Qx4-7uDRvOWL7VSqBEo2cKzODH0CbeUp7I66WKi1D9yh9VPZ2cLI__2jeC3y_Xv_4uCntzAndjsvNEXHJ4Lbk8XCP18labZR0OMf_eWsRg\" alt=\"Companies using AWS CloudFormation\"\/><\/figure>\n\n\n\n<h2>Hands-on<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this hands-on, we will see how we can deploy the needed resources at a faster pace thereby eliminating the use of the AWS console and utilizing the Amazon CloudFormation templates. Amazon CloudFormation provides us with a lot of templates that we can use to write down the configuration or mention the resources that we need to deploy. It makes things easier for us to manage all the deployed resources all together in one place. In a case wherein we deploy multiple resources and once the work is done, we plan on deleting all the created resources but we often forget to delete some. CloudFormation simply makes use of a stack that manages all the created resources under it. Once the work is done, you can simply delete the stack and all the resources deployed within it via the template file you uploaded, will be automatically deleted.<\/p>\n\n\n\n<p>You can clone this repository to get the complete source code for this implementation:<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/workfall\/CloudFormation-AWS.git\">https:\/\/github.com\/workfall\/CloudFormation-AWS.git<\/a><\/p>\n\n\n\n<p><strong>To implement this, we will do the following:<\/strong><\/p>\n\n\n\n<ul><li>Login to your AWS account and navigate to Amazon CloudFormation to create a new stack.<\/li><li>Prepare a template in JSON or YAML format with the resources that you need to deploy.<\/li><li>Upload the template file on the CloudFormation console while creating a stack.<\/li><li>View your template in the Designer mode for the resource flow and creation clarity or to make any changes if needed.<\/li><li>Complete the configuration and create a stack.<\/li><li>Verify the creation of the stack.<\/li><li>Verify the creation of all the resources you mentioned in your template file.<\/li><li>Navigate through the different tabs on the CloudFormation stack dashboard.<\/li><li>Delete the stack and the resources deployed within via the template file you uploaded.<\/li><\/ul>\n\n\n\n<p>Sign in to your AWS Console.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/kyBSb6BRQ1dKWXcvWkz2gFtmFkQ9mTFv_CxoeCR5JY1yE3RA21bHKEwUF__77q8j0Qs2whPurFzksgyneZi-5LG0SATwfLYohGNX7fMJwQklysduOK6dfvZuGofLparV97NV4SbGVWQTzSPww48wMQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>In the search bar, search for \u2018CloudFormation\u2019 service and click on it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/QHfI5xInACgNTyFCFr7WKycWuNz75QiH3cqtPogAXUDmBBxvpZVGLT2w-dBw-PALF89z8iCL8otdELrt886JlQq-pUvKIvxUXaNhCWzIfpeJzjVPpriC06MdnUDUomshQP9-6V-EwEEb83TPsmN6rA\" alt=\"\"\/><\/figure>\n\n\n\n<p>You will be navigated to the Amazon CloudFormation Dashboard. On the dashboard, click on \u2018Create stack\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/6q-Dg1yN7rrCurJLa_ykDrH-tNy7NDL2rOhwrwfnnVrgafcrsMF3p6XD7Nn6LS0oD-xyxCrD5ar9p7HlP_0GLTVltQ8j4Cc09kMiz8e6mhUepByEiYmnC_dDr7zUOtGfATjIo71ss7xy1_Lo8opGkQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>On the \u2018Create stack\u2019 dashboard, under the \u2018Prerequisite &#8211; Prepare template\u2019 section, select \u2018Template is ready\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/oEi4jbtbfIe142SeEBFJGE1oTWoSa8bygDBEjhHoR2gXM6br8TdXVspxGugNNGTw4gQte9SWfmDEj-J-zG2MF34csaTsfEq6isPiwYJG2pwVvCRSTgb1IUn_LaiqYsmgLYnUu0HmTJOeVkxPpbpe-A\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Now, switch to an editor on your local machine. Clone the below repository to use the template.json file that we used for this hands-on.<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/workfall\/CloudFormation-AWS.git\">https:\/\/github.com\/workfall\/CloudFormation-AWS.git<\/a><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Under the \u2018Specify template\u2019 section, select the radio button next to \u2018Upload a template file\u2019, since we will be uploading template.json file to deploy resources.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/Br-mO0l7srMmuJMiMcRFrcciSFpTlgkPF5H9Q5BZZt4P8W6gXpVqoT4f4GZ7uSCu2gCrb6P08_05KmWheBpwAM0cZj-Kj72rrpTt2azxKPhhckJA84YW3AfgVLP_a3vew2fk_k2zhGewzpDGdRl4tg\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Click on \u2018Choose file\u2019 under \u2018Upload a template file\u2019 and select the template.json file from your local machine and wait for the file to be uploaded.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/sEvyrfQNH8UtPEQXHZAVX0TVojfqG6AhFJccLuFnH_XfNut5EDns-y1NINMozBEJj5Kx-FoAkNhjUtc2AqSmx93XE2JmraQVD_2W2ccpjXv058phUruo241HNe4ITp6VxbnGrmKKevI2jQew_6ctHg\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Once the file is uploaded, you can click on \u2018View in Designer\u2019 beside the uploaded file to view the resource flow or add or remove any resources.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/SrkyfeBgmGl-IAP8nqdiKdpXvrgxtlOZqYwzRiJKCN7PTYA_hzNdLwU2BeF_UH1YoMmOgHMr6sXDDPdtN4aJl8adXqwVVObDiuumxFcdl3pI8GstOjZF7HD-O-b23uf5WkzqOn7A45Iw0jntKFmb0w\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">You will view the layout plotted for the resources you will be deployed using the template.json file. For the same file, at the bottom of the screen, you will be able to view the entire template in JSON format. New resources can be added from the left navigation pane under the \u2018Resource types\u2019 section.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/KsxpQ1WltF8_1AW069kCQV19nwpSfETyq9dUIaThXcFNsOISEyUDB7mSqwmiICQZtUJOP6QmYdulxsSe90O38EHzsB9QUtQ01AQxcOMPVwAzF-pCm4Z7WRknvk_szkd8x1Hx6YD1SWAHLJ0diUbRdg\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">To view your uploaded template file in YAML format, select the radio button on the left of the YAML option and you will be able to view the new changes.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/eKzwfacfgi9nGd8NZWABJb8FjAkKEG5FkVxz1W3SUlI53NEVAoVzhk7FIQJl0_CiSgDzpOdfuNltpCJhsTlxzXx3UTLCWCWZibJzTMhVgzKKedNwecNZwYS64CqeIvfJ_98oNC9z6ZjyVDXbLKZMpQ\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Now, to view the components that are going to be deployed, click on the \u2018Components\u2019 tab at the bottom of the screen.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/ShHqM1Y5o0jNHkDnwc92MSC3pm44D5xzC9WOCjIzEXNUnx6J3G6diuQLSTYnogrvoHbojE9XBDKD9ErVydr1Jl-NOpDNwGU9qxTd1Iw7MOs6dpIaxE7Xzb7Fu_U2YRO1gSTWzAlVSwvz1xb1fsR3Uw\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">To view the same file in YAML format, click on the radio button on the left of the YAML option and you will see the file as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/4k_3-YQRV4ZyWhMgJfle32W1ocpMkMPAzMfvE5Xa0PSU5uGWAliOJyjuH2Smw01UOof_-fbkffSl_9vc64MIgtpQ06upis4ELjS5JvS3Hz99FF7N6KiLMRoPP-CGzvVySBVkYWhtQ-rupxLb8desvQ\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Now, navigate back to the \u2018Create stack\u2019 dashboard and click on Next. You will then be asked to \u2018Specify stack details\u2019 in Step 2. Enter a stack name for your stack. Under the \u2018parameters\u2019 section, under \u2018DirsToCreate\u2019 you can enter the directories you want to create in the S3 bucket that you will be deploying via the uploaded template. Under \u2018S3BucketName\u2019, enter a name for your bucket. Once done, click on \u2018Next\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/e-Byypp8Gybt-bmo2tANWlu9YWg2XZNY5pkLPTz2ANUrk-V92ceWdE6nZv6aBcNfZB5K5ofVI7760b75oVnaV8AF9VL4fpDmAYKxnBibeg9EdKbFlRS9UeaGTeguP4lBI2cFUQC8c3LBFumbBCj9jA\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p>In Step 3, under \u2018Configure stack options\u2019, add a tag for your stack and resources to be deployed.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/j6VWME9qIAfqdFhC8it9MDCltBoPdvCmIN_jlBjh4cluiQHIS9PPeV4bU1U_8kWbOygJr92xFnPIhnI7w2CxxonhxmcYEJBbEQWhJY7dpTLe8302GjDLNu9PlwKl2zJkWjj4GGMh5HHse_1pSLcrhg\" alt=\"\"\/><\/figure>\n\n\n\n<p>Scroll down to the bottom of the form and click on \u2018Next\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/DmeLusvWa4TIhUfnHJ_sppBdkwqQm5rYQox45mf0BjJwOBpELRmpgUA97y1KYdBOgIagXXQDIoq9oVe8HKI2tot1MTmTfOSkTFPENZDJsb0tvjvTdPAFedSPZ45wXFAOGBNDzzFManlkTL88WM1BGw\" alt=\"\"\/><\/figure>\n\n\n\n<p>In Step 4, review all the details for your stack.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/upR9TGHSYww0lWddrERfJ7OR9kfgQDkwAgDqPGSe66niKKgNFkJo7YOdRjlnxyYr_GyRjo8TrzIG_7Sn7w9s8HkRH1spnw2zSMiHnKsCXwiIiKdtmmKF-QsB8Xs1DaWJovVxY3D6LJBFaRf3xJOl4g\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p>Once done, scroll down to the bottom and click on \u2018Create stack\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/z7DNTBt929_Q6H8VRBRaXe6-V-LLN1BI2CM0wABfN5uKnl-qkxNF4aCFcvYkuok2UzUl5b3Sw9QiL_S5TAR4BAJx4eRBe5UAYRvKdYVYUu5sSx_BAxHqinEL91oZV-_MnNP5Z4tWy0e6B3Cpydyuig\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">It might take a few minutes for processing and deploy your stack and all the resources in it. Initially, you will see the status as \u2018Create_In_Progress\u2019 under the Events tab.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/mKWJSEMHLt_oHkl_bmh-C8U_Ms-d6DcW3vkyIFl1F8GM40cFUd5n6KAxHw4jcBoffBYGVOFCuYHG8_ocTS7r9RnI7w549zBOJSV_O2yImSX0u32-TG0QHfi1QsO5xvQSs1MKYZWq_XKF9FjOBXJHpw\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">After a few minutes, you will view all the resources along with their statuses that you mentioned in your template and which are to be deployed under the Events tab. Once the stack has been successfully created, click on the \u2018Resources\u2019 tab to view the resources deployed.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/uLTQak3ASAiizyqHC_U00q1PmTBbug4VER-HBDWvsbD4CiAmi1ylYjBKIyhcMx5fmWOGm2PAb_z2EzEZNTvohVlD90DFjHjHdA8IX26CUy00qjiLbtyFzBjOxmwCS7YQv0C4yDKAgR1eE3uC_FFwTA\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">You will view a list of all the resources you mentioned in your template.json file along with the statuses. Now, if you used the same template as we used for this blog, click on the \u2018Physical ID\u2019 of the \u2018AWSLambdaExecutionRole\u2019 logical ID.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/9gtFM2e8YLs0GTBPrA9XN3F0uCarKFyXAkpOtFQQTrVgWErZ9gjsbxX4hNxhjjJXJILPVRohzb2juHTexUP0MHhY_f1oRjpvb6CHOwaRNE61xPn_ZLBRZzpvF2X3ajoSLZmshprvm2pSe05QiyA71w\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p>You will be navigated to the IAM console of AWS. Thus, the creation of a new execution role can be verified.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/BN0Ft4lEJLwxx_-sqSdGMcJEdibn7UO4C08qEi3VDejH-efdGcBlYTm14yKk83AoL4hfsa3gWR0PulxEZ2pDFujtPdja1z5zDfsKAQsdiRlwWvoCTL-0YqMDVla0VG1Z4cqA34xFYOKeCkUZMIFBUg\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">You can view and verify the policies attached by expanding each of the policies attached by clicking on the arrow beside them.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/O8K2eOt-b22c72w5593VixEejS5vj1Vo5uOQPb_ZOV5RCKDp90ckgsgBk9j80O4fni_qlb-2DChgl6_c1m9hb07ZNtR5FfjbOSlDM6Jfbm0OYC52lmZkprBoGLsptio06M7WbRbsEs6fI7LG2BufqA\" alt=\"\"\/><\/figure>\n\n\n\n<p>Now, navigate back to the CloudFormation stack dashboard to view the other resources.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/9gtFM2e8YLs0GTBPrA9XN3F0uCarKFyXAkpOtFQQTrVgWErZ9gjsbxX4hNxhjjJXJILPVRohzb2juHTexUP0MHhY_f1oRjpvb6CHOwaRNE61xPn_ZLBRZzpvF2X3ajoSLZmshprvm2pSe05QiyA71w\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Click on the \u2018Physical ID\u2019 for the deployed Lambda function and you will be navigated to the Lambda dashboard inside the function deployed. Thus, the creation of the Lambda function can be verified.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/M0sNe3Sumql1J1jKNTQMpyzKd9C3hRAFl2E8iZsal49JzPjksAiCf-vsdG4_FUjWZWDW8WGGTfj_HvP9bISuJuWwx_TJeDZmQqYdDeZR_ZtnVOBO3NhJ0DJHiL-q-M5pbettwZHCV2sXZSO9JwyrLw\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Navigate back to the CloudFormation stack dashboard and lastly click on the deployed S3 bucket to verify its creation.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/9gtFM2e8YLs0GTBPrA9XN3F0uCarKFyXAkpOtFQQTrVgWErZ9gjsbxX4hNxhjjJXJILPVRohzb2juHTexUP0MHhY_f1oRjpvb6CHOwaRNE61xPn_ZLBRZzpvF2X3ajoSLZmshprvm2pSe05QiyA71w\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">You will be navigated to the S3 console on AWS. If you remember, we created two directories above to be created inside our S3 bucket. You can view the two directories we mentioned above in the image below in our newly created S3 bucket.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/CM2xWq0Wy4E0sDNg1N9URzku7rdrz4xYv2jmszyPdy7-_tOU7PK47QOAgpLwhvKWgZ3j9U1chSLeMUGOb5RQ1_J7CS_JQLGS7_mGr_6CqRmLjaMhPCrEiLy2o1M4ZEj9B_vbSbZYOv76I3GbY0uYaw\" alt=\"\"\/><\/figure>\n\n\n\n<p>Click on the \u2018Properties\u2019 tab and verify the Creation date for your bucket.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/gpkdidRksPubR3xegAkTFG240Pi5LjBcQ3odjhMoSr14dYjZw-SaC4Zvj60k8cIOycW0FGv9I3rQ2-0TSHDEMZ49TGWUaDq-_QxikSg3xfinf4g-Ecndx5TDc4Rm_rm-PsWjUg192uERZVn99AkJ0g\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p>Scroll down and you will see the tag you added above while creating the stack under the \u2018Tags\u2019 section.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/Osi8fY9mYd2p-6KYenYt9glRXwk76-i6QYzvFpLGsYX2fYb-E703iahugfd3DuV7HtqZ5gp6eWZk-JA17ZXt6xyGJ30taopzBVWBLNZDpS78wafiPau7I8jYS7CqZ3yHhceidHKfVHqqR8h70PUSnw\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">To view your template in designer, navigate back to the CloudFormation dashboard and click on the \u2018Template\u2019 tab. Over there, you will see an option \u2018View in Designer\u2019 so you can click on that and view the same.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/mNPm9l8rqvsbWDUPVFX3wKdNWoORwY9PEMPa-nEJPwY1quoJmxMKMbKFEncGdJz7WNcAymbS6U3UGHKC1y4fOqIvTn-pJ9tDhuGUqyr-K0WKwWqynsvWzBEDhL7q8sFOff0oWLjwBpQKVpReH4YSMg\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">To update the stack you just deployed, you can click on \u2018Update\u2019 on the stack dashboard. You will see that there are three options to do so. Based on your preference, you can select one and proceed to update your existing template following the same configuration stacks as above.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/3uDdmD1Xfukt8gNNBuneTcGFUWxySdpFbx4fM6lu2_560Pf98u399tIIDGJrrNFKZEYmCinoy34iMFvaI_BxLwqbahaiQ2fyLtW1z6gUCTBTkEloBLHk9wYV1Q-KC9GZvNRi3vs3dxPOPhoYgVb8jg\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Now, navigate back to the stack dashboard. Remember that deleting the stack, will delete all the resources you mentioned in the template that you used while creating the stack. Click on \u2018Delete\u2019 to delete the stack and the resources deployed.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/9gtFM2e8YLs0GTBPrA9XN3F0uCarKFyXAkpOtFQQTrVgWErZ9gjsbxX4hNxhjjJXJILPVRohzb2juHTexUP0MHhY_f1oRjpvb6CHOwaRNE61xPn_ZLBRZzpvF2X3ajoSLZmshprvm2pSe05QiyA71w\" alt=\"\"\/><\/figure>\n\n\n\n<p>A modal will appear to confirm the action to be performed. Click on \u2018Delete Stack\u2019 to confirm the action.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/2KmWCgefehRJURT8OP2TXToKFgSMWvT6bO4VNnEC4h1kghmnWtgEAw-CgbkKrSvC9byU2lc9Tx4XugHQoC8xHVcit_jIN1COLXfTCBGj_ke_xjs6kJaunCn-jSf_DR1zFXpd236DOuaZ_zvK-8p2YA\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">It might take a few minutes for deleting the entire stack and for deleting all the resources deployed. Initially, you will see the status for the stack under the \u2018Stack Info\u2019 tab as \u2018Delete_In_Progress\u2019 along with the other stack details.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/ne6hcmqU5pXcm6pDpBrZS48_UGkQ9ng7cS1Rd6ihQyfDj-eljwGTgS1wuBuVtjWtVE-qRFc1AH3K7_6IOkKg36q6cRF9cQaY4EJJNNj91blki6tSZZdKlrLazrvmc3Rp6RGRw00WPUD14ho3ILcMXA\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">After a few minutes, click on the \u2018Resources\u2019 tab and you will see that all the resources deployed were successfully deleted as well as the stack and the status for the same will change to \u2018Delete_Completed\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/_xKBPoPPWSYsgwk2bQ-WaBZsVfoBiPr0TTCo0iB821Y2nsW9-mDCZL3zBViXJlydNvRPYZKJroL1nHfcC0xNqwwuXuANtaPqnAKyV0X_oaWGXLHvdxR3ly2rKyv3JF2IQoTrnHJd46_CVUFKJ3nRLA\" alt=\"Amazon CloudFormation\"\/><\/figure>\n\n\n\n<h2>CloudFormation Vs. Terraform\u200d<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">The most reliable way to automate creating, updating, and deleting your cloud resources is to describe the target state of your infrastructure and use a tool to apply it to the current state of your infrastructure. In our previous blog, we discussed Terraform and in this blog, we discussed ClodFormation as an IaC tool. Both are powerful cloud infrastructure management tools.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Now, definitely questions will be in your mind like which one is better? When to use what? The answer is very simple! If you\u2019re already on AWS and using all AWS tools, CloudFormation may be more convenient. However, if you\u2019re looking for additional flexibility from a cloud-agnostic platform that integrates with AWS services, Terraform might be of greater utility for your organization. It\u2019s important to not only look at what is working currently &#8211; but what the future state of any infrastructure might be.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">There are long-term benefits with both toolsets, and the final decision may come down to simple usability and developer comfort. Whichever choice you make, using either of these, you have to be assured that AWS infrastructure is sure to increase productivity, portability, and efficiency!<\/p>\n\n\n\n<h2>Conclusion<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we explored how we can make use of AWS CloudFormation templates to create resources thereby eliminating the need of using the console to create the resources. We will discuss more AWS CloudFormation and how it can be used to ease the task of creating and managing all the created resources in just one place in our upcoming blogs. Stay tuned to keep getting all updates about our upcoming new blogs on AWS and relevant technologies.&nbsp;<\/p>\n\n\n\n<p>Meanwhile \u2026<\/p>\n\n\n\n<p><strong>Keep Exploring -&gt; Keep Learning -&gt; Keep Mastering<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">This blog is part of our effort towards building a knowledgeable and kick-ass tech community. At <a href=\"https:\/\/www.workfall.com\/\">Workfall<\/a>, we strive to provide the best tech and pay opportunities to AWS-certified talents. If you\u2019re looking to work with global clients, build kick-ass products while making big bucks doing so, give it a shot at<a href=\"https:\/\/www.workfall.com\/partner\/\"> workfall.com\/partner<\/a> today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">11<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span> Ever imagined how difficult it can be to manage your infrastructure on AWS with many services created? It can be pretty challenging and at times can be pretty time-consuming too. We will have to start focusing more on managing the infrastructure rather than focusing on developing applications. To solve this problem, AWS provides an amazing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":634,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[2],"tags":[214,3,4,216,215,6],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How can we deploy AWS resources with ease using AWS CloudFormation templates? - The Workfall Blog<\/title>\n<meta name=\"description\" content=\"AWS CloudFormation models related AWS &amp; third-party resources, provisions &amp; manages them consistently, treating infrastructure as code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How can we deploy AWS resources with ease using AWS CloudFormation templates? - The Workfall Blog\" \/>\n<meta property=\"og:description\" content=\"AWS CloudFormation models related AWS &amp; third-party resources, provisions &amp; manages them consistently, treating infrastructure as code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/\" \/>\n<meta property=\"og:site_name\" content=\"The Workfall Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/workfall\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-11T10:58:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-20T11:18:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CloudFormation.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@workfall\" \/>\n<meta name=\"twitter:site\" content=\"@workfall\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Workfall\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\",\"name\":\"Workfall - Hire #Kickass Coders On Demand\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/workfall\/\",\"https:\/\/www.linkedin.com\/company\/workfall\/\",\"https:\/\/facebook.com\/workfall\",\"https:\/\/twitter.com\/workfall\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"contentUrl\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"width\":400,\"height\":400,\"caption\":\"Workfall - Hire #Kickass Coders On Demand\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"name\":\"The Workfall Blog\",\"description\":\"#Tech #Remote #Jobs\",\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#primaryimage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CloudFormation.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CloudFormation.png\",\"width\":1200,\"height\":628,\"caption\":\"AWS CloudFormation Templates\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#webpage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/\",\"name\":\"How can we deploy AWS resources with ease using AWS CloudFormation templates? - The Workfall Blog\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#primaryimage\"},\"datePublished\":\"2021-11-11T10:58:55+00:00\",\"dateModified\":\"2025-08-20T11:18:52+00:00\",\"description\":\"AWS CloudFormation models related AWS & third-party resources, provisions & manages them consistently, treating infrastructure as code.\",\"breadcrumb\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learning.workfall.com\/learning\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How can we deploy AWS resources with ease using AWS CloudFormation templates?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#webpage\"},\"author\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\"},\"headline\":\"How can we deploy AWS resources with ease using AWS CloudFormation templates?\",\"datePublished\":\"2021-11-11T10:58:55+00:00\",\"dateModified\":\"2025-08-20T11:18:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#webpage\"},\"wordCount\":2320,\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CloudFormation.png\",\"keywords\":[\"Amazon CloudFormation\",\"AWS\",\"Cloud\",\"Cloudformation templates\",\"IaC Application\",\"workfall\"],\"articleSection\":[\"AWS Cloud Computing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\",\"name\":\"Workfall\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"caption\":\"Workfall\"},\"sameAs\":[\"https:\/\/www.workfall.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How can we deploy AWS resources with ease using AWS CloudFormation templates? - The Workfall Blog","description":"AWS CloudFormation models related AWS & third-party resources, provisions & manages them consistently, treating infrastructure as code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/","og_locale":"en_US","og_type":"article","og_title":"How can we deploy AWS resources with ease using AWS CloudFormation templates? - The Workfall Blog","og_description":"AWS CloudFormation models related AWS & third-party resources, provisions & manages them consistently, treating infrastructure as code.","og_url":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/","og_site_name":"The Workfall Blog","article_publisher":"https:\/\/facebook.com\/workfall","article_published_time":"2021-11-11T10:58:55+00:00","article_modified_time":"2025-08-20T11:18:52+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CloudFormation.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@workfall","twitter_site":"@workfall","twitter_misc":{"Written by":"Workfall","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization","name":"Workfall - Hire #Kickass Coders On Demand","url":"https:\/\/learning.workfall.com\/learning\/blog\/","sameAs":["https:\/\/www.instagram.com\/workfall\/","https:\/\/www.linkedin.com\/company\/workfall\/","https:\/\/facebook.com\/workfall","https:\/\/twitter.com\/workfall"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","contentUrl":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","width":400,"height":400,"caption":"Workfall - Hire #Kickass Coders On Demand"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website","url":"https:\/\/learning.workfall.com\/learning\/blog\/","name":"The Workfall Blog","description":"#Tech #Remote #Jobs","publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#primaryimage","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CloudFormation.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CloudFormation.png","width":1200,"height":628,"caption":"AWS CloudFormation Templates"},{"@type":"WebPage","@id":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#webpage","url":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/","name":"How can we deploy AWS resources with ease using AWS CloudFormation templates? - The Workfall Blog","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#primaryimage"},"datePublished":"2021-11-11T10:58:55+00:00","dateModified":"2025-08-20T11:18:52+00:00","description":"AWS CloudFormation models related AWS & third-party resources, provisions & manages them consistently, treating infrastructure as code.","breadcrumb":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learning.workfall.com\/learning\/blog\/"},{"@type":"ListItem","position":2,"name":"How can we deploy AWS resources with ease using AWS CloudFormation templates?"}]},{"@type":"Article","@id":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#article","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#webpage"},"author":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a"},"headline":"How can we deploy AWS resources with ease using AWS CloudFormation templates?","datePublished":"2021-11-11T10:58:55+00:00","dateModified":"2025-08-20T11:18:52+00:00","mainEntityOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#webpage"},"wordCount":2320,"publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/deploy-aws-resources-with-ease-using-amazon-cloudformation-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CloudFormation.png","keywords":["Amazon CloudFormation","AWS","Cloud","Cloudformation templates","IaC Application","workfall"],"articleSection":["AWS Cloud Computing"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a","name":"Workfall","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","caption":"Workfall"},"sameAs":["https:\/\/www.workfall.com"]}]}},"jetpack_featured_media_url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CloudFormation.png","jetpack-related-posts":[{"id":236,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-serverless-event-driven-workflow-with-aws-glue-and-amazon-eventbridge\/","url_meta":{"origin":633,"position":0},"title":"How to build a serverless event-driven workflow with AWS Glue and Amazon EventBridge?","date":"October 28, 2021","format":false,"excerpt":"AWS Glue is basically a data processing pipeline that is composed of a crawler, jobs, and triggers. This workflow converts uploaded data files into Apache Parquet format. In this blog, we will see how we can make use of the AWS Glue event-driven workflows to demonstrate the execution of the\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Build a Serverless Workflow with AWS Glue and Amazon EventBridge","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/Serverless-EventDriven-Workflow-1200-x-628-px.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":464,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-establish-and-maintain-a-scalable-network-using-amazon-managed-blockchain-part-2\/","url_meta":{"origin":633,"position":1},"title":"How to establish and maintain a scalable network using Amazon Managed Blockchain (Part 2)?","date":"November 9, 2021","format":false,"excerpt":"In our previous blog on how to establish and maintain a scalable network using Amazon Managed Blockchain (Part 1), we discussed Blockchain and Amazon Managed Blockchain. We have also discussed its components, benefits, features, pricing, customers, and how it works. In this blog, we will discuss how to use AWS\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Amazon Managed Blockchain","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/blockchain2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":302,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-manage-infrastructure-as-code-iac-with-terraform-on-aws\/","url_meta":{"origin":633,"position":2},"title":"How to manage infrastructure as code (IaC) with Terraform on AWS?","date":"November 1, 2021","format":false,"excerpt":"Most of us prefer that someone who is an expert in the installation and configuration of systems should install OS, and software and can do the required configuration in our laptops and desktops. Agreed? Through the evolution of IT infrastructure, we have depended on system administrators to configure the hardware\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"How Terraform Works","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Terraform.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":492,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-aws-copilot-to-build-release-and-operate-containerized-applications-on-ecs-and-fargate-using-a-cli-2\/","url_meta":{"origin":633,"position":3},"title":"How to set up AWS Copilot to build, release and operate containerized applications on ECS and Fargate using a CLI?","date":"November 10, 2021","format":false,"excerpt":"Are you completely drained by worrying about your infrastructure over architecture? Well, AWS Copilot supercharges your application by allowing you to set up infrastructure, build your application with many microservices, set up a pipeline to automate release and monitor the stack and application's status, and add-ons all from a single\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS Copilot - Workfall","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/copilot1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":399,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-create-and-mount-an-amazon-efs-file-system-using-amazon-ec2-launch-instance-wizard\/","url_meta":{"origin":633,"position":4},"title":"How to create and mount an Amazon EFS file system using Amazon EC2 Launch Instance Wizard?","date":"November 3, 2021","format":false,"excerpt":"Sizing, configuring, and deploying AWS resources for third-party applications, such as SAP or SQL server is always challenging for you. Are you looking for a wizard who can help you with these challenging tasks?\u00a0 AWS Launch Wizard can help you in simplifying these tasks by offering a guided way of\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"How to create and mount an Amazon EFS file system using Amazon EC2 Launch Instance Wizard","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Launch-Wizard.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1038,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-use-aws-ssm-parameter-store-in-aws-elastic-beanstalk-instances\/","url_meta":{"origin":633,"position":5},"title":"How to use AWS SSM Parameter Store in AWS Elastic Beanstalk instances?","date":"July 12, 2022","format":false,"excerpt":"Almost every developer makes use of environment variables. They are excellent for establishing parameters that alter depending on the system's surroundings. Sadly, they struggle to scale. There are methods to accomplish it, but they aren't enjoyable. Here's why AWS can replace environment variables (or at least reduce your reliance on\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS SSM Parameter Store in AWS Elastic Beanstalk instances","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2022\/07\/Cover-Images_Part2-1-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/633"}],"collection":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/comments?post=633"}],"version-history":[{"count":8,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/633\/revisions"}],"predecessor-version":[{"id":2515,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/633\/revisions\/2515"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media\/634"}],"wp:attachment":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media?parent=633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/categories?post=633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/tags?post=633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}