One of the greatest benefits of templates and AWS CloudFormation is the ability to create a set of resources that work together to create an application or solution.

The name used for a resource within the template is a logical name. When AWS CloudFormation creates the resource, it generates a physical name that is based on the combination of the logical name, the stack name, and a unique ID.