ec2-register
Syntax
ec2-register
manifest
Description
Registers the Amazon Machine Image (AMI) specified in the manifest file and generates a new Amazon Machine Image (AMI) ID.
Options
Option | Description | Required |
---|---|---|
| Location and filename of the manifest file. The manifest
file must be located in Amazon S3 and must be in the
Example: | Yes |
Output
Amazon EC2 assigns and returns an AMI ID.
Amazon EC2 displays errors on stderr
.
Example
This example registers the AMI specified in the
image.manifest.xml
manifest file.
$
ec2-register mybucket/image.manifest.xml
IMAGE ami-78a54011