AWS CloudFormation is Amazon’s “infrastructure as code” solution, and is core to a lot of other services, especially on medium to large projects. Rather than setting up infrastructure manually, just define what you want through code (in a JSON or YAML template), and let AWS do the rest of the work for you. It’s repeatable, trackable, and can also help with cost savings.
In this hands-on tutorial, we create a new CloudFormation stack using a sample LAMP (Linux, Apache, MySQL and PHP) template provided by AWS. In the process, we’ll take a look at the designer, where we can see the exact details of what’s included in the template. And then we’ll ultimately look at the webpage that was created by deploying the stack.
Then before we end, I’ll walk you through how to delete the CloudFormation stack, which will delete all of its resources (a huge time saver as well!).
??If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
– AWS Certified Cloud Practitioner: https://academy.zerotomastery.io/a/aff_n20ghyn4/external?affcode=441520_lm7gzk-d
– AWS Certified Solutions Architect Associate: https://academy.zerotomastery.io/a/aff_464yrtnn/external?affcode=441520_lm7gzk-d
00:00 – Overviewing CloudFormation and its benefits locations
02:42 – Getting started with the CloudFormation LAMP sample template
03:26 – Exploring the CloudFormation designer
04:49 – Creating a CloudFormation stack using the LAMP sample template
05:46 – Viewing the progress of the CloudFormation stack
06:17 – Launching the web page created by CloudFormation
06:58 – Deleting a CloudFormation stack and all its resources