The first step is to create an automation document, or use a template, which includes sequential steps and parameters that Systems Manager executes. Next, Systems Manger will run the document, allowing you to define how to launch the image, take a snapshot, tag instances, delete old images, and terminate the image