In the following example, we will create a simple stack containing one EC2 instance that will enable us to SSH into it with our chosen SSH key. We will first take a look at the template in segments and then assemble the template and look at the process of deploying the template in the management console.
Creating an EC2 instance using a template (code example)
Template analysis
The template has the typical structure that we would find in other CloudFormation templates and is written using JSON notation.
Version and description
The template starts with a version and description...