Skip to main content


This Script is part of the Deprecated Content (Deprecated) Pack.#


Use the AWS-EC2 integration instead.

Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped.

Script Data#

Script Typepython
TagsAmazon Web Services


This script uses the following commands and scripts.

  • create-image


Argument NameDescription
instanceIdThe ID of the instance.
nameA name for the new image. There are constraints such as, 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_).
noRebootBy default, Amazon EC2 attempts to shut down and reboot the instance before creating the image. If the No Reboot option is set (give the value true). Amazon EC2 will not shut down the instance before creating the image. When this option is used, the file system integrity of the created image can't be guaranteed.
descriptionThe description for the new image.


There are no outputs for this script.