A sample template to create an instance using cloudformation template.
- Replace ImageId and SecurityGroupIds with yours.
- Create a stack using this yaml file and observe the events.
- Goto EC2 service and check the instance.
- A sample template to use parameter variable in the resources section.
- Refer use-parameter-variable-in-cloudformation.yaml