Understanding CloudFormation templates is crucial for the exam. In this practical, we’ll review and run some templates to deploy AWS infrastructure.


In the widget below, we’ll perform the following steps to demonstrate our knowledge of AWS CloudFormation:

  • Create a security group using the security_group.yaml file and export the security group ID as a CloudFormation export.
  • Create an EC2 instance using the ec2_instance.yaml file. This file automatically imports the ID of the security group created above from CloudFormation exports.

Note: You need to know all the YAML CloudFormation codes used in the practical below. You may need to enter Q in the terminal if it gets stuck on long outputs.

Get hands-on with 1200+ tech skills courses.