In CloudFormation, there are some basic elements that we need to understand before we can proceed with deployments. We always write templates from which we deploy stacks. Once a stack is deployed, we can create a change set and compare this change set against a deployed stack before eventually applying the changes.