CreateImage

Description

Creates an Image (CMI) from the specified stopped instance.

Request Parameters

  • InstanceId - The ID of the instance
    • Type: String
    • Required: Yes
  • Name - The name of the Image
    • Type: String
    • Required: Yes
    • Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes (‘), at-signs (@), or underscores(_)
  • Description - The description of the Image
    • Type: String
    • Required: No

Response Elements

  • imageId - The ID of the newly created image
  • requestId - The ID of the request

Examples

c2-ec2 CreateImage InstanceId <instance_id> Name image_name