.\" This file is part of Eclat -*- nroff -*- .\" Copyright (C) 2012, 2013 Sergey Poznyakoff .\" .\" Eclat is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 3, or (at your option) .\" any later version. .\" .\" Eclat is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with Eclat. If not, see . .TH MKIMG 1 "April 20, 2013" "ECLAT" "Eclat User Reference" .SH NAME eclat mkimg, create\-image \- create an AMI image .SH SYNOPSIS \fBeclat mkimg\fR\ [\fB\-N\fR]\ [\fB\-d\fR \fIDESCR\fR]\ [\fB\-m\fR \fIDEV\fR=\fISPEC\fR]\ [\fB\-\-noreboot\fR] [\fB\-\-no\-reboot\fR]\ [\fB\-\-description\fR=\fISTRING\fR] [\fB\-\-devmap\fR=\fIDEV\fR=\fISPEC\fR] [\fB\-\-block\-device\-mapping\fR=\fIDEV\fR=\fISPEC\fR] \fINAME\fR \fIINSTANCE\-ID\fR \fBeclat mkimg\fR \fB\-\-help\fR .SH DESCRIPTION This command creates an Amazon EBS-backed AMI from an existing instance \fIINSTANCE\-ID\fR. If the instance is running it will be rebooted, unless the \fB\-N\fR (\fB\-\-noreboot\fR) option is used. .PP The \fINAME\fR argument sets the name of the new AMI. .PP Upon successful completion the ID of the newly created AMI is printed on the stdandard output. .SH OPTIONS .TP \fB\-N\fB, \fB\-\-noreboot\fR, \fB\-\-no\-reboot\fR Don't shut down the instance before creating the image. .TP \fB\-d\fR, \fB\-\-description\fR=\fISTRING\fR Set a description for the new image. .TP \fB\-m\fR, \fB\-\-devmap\fR, \fB\-\-block\-device\-mapping\fR=\fIDEV\fR=\fISPEC\fR Set block device mapping for the instances to be created from that AMI. The \fIDEV\fR part is the device name of the physical device on the instance to map. The \fISPEC\fR sets the mapping specification and can be one of: .RS 4 .TP .B none Disable the existing mapping. E.g. \fB\-m /dev/xvdb=none\fR disables the mapping for the device \fB/dev/xvdb\fR. .TP .BR ephemeral [0-3] Map an instance store volume to the device. E.g. \fB\-m /dev/xvdb=ephemeral1\fR. .TP [\fIsnapshot\-id\fR]:\ [\fIvolume\-size\fR]:\ [\fIDOT\fR]:\ [\fIstandard\fR|\fIio1\fR[:\fIiops\fR]] Specifies an EBS volume to be mapped to the device. The \fIsnapshot\-id\fR specifies the ID of the snapshot to create the volume from, \fIvolume\-size\fR gives the desired size of the volume in gigabytes. The \fIDOT\fR parameter (\fBdelete on termination\fR) specifies whether the device should be deleted after the instance is terminated. Possible values are \fBtrue\fR and \fBfalse\fR. The last parameter defines the volume type. The value \fBstandard\fR instructs Amazon to create a standard volume. This is the default. To create a provisioned IOPS volume, specify \fBio1\fR. In that case you can also supply the number of IOPS that the volume supports in the \fIiops\fR argument. For example, \fB\-m /dev/xvdf=snap-12345abc::false:io1:500\fR. .RE .TP \fB\-h\fR, \fB\-\-help\fR Display a short usage summary. .SH "SEE ALSO" .BR eclat (1), .BR eclat\-lsimg (1), .BR eclat\-deimg (1). .SH AUTHORS Sergey Poznyakoff .SH "BUG REPORTS" Report bugs to . .SH COPYRIGHT Copyright \(co 2012, 2013 Sergey Poznyakoff .br .na License GPLv3+: GNU GPL version 3 or later .br .ad This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .\" Local variables: .\" eval: (add-hook 'write-file-hooks 'time-stamp) .\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.\\-]* [0-9] \"" .\" time-stamp-format: "%:B %:d, %:y" .\" time-stamp-end: "\"" .\" time-stamp-line-limit: 20 .\" end: