Before you begin:
To create a manifest file, use a texte editor and follow this syntax:
This manifest contains the following attributes that you need to specify:
Version(optional): The version of the manifest file.
Image: Information about the OMI you want to export. This attribute requires the following elements:
Name: The name of the OMI.
This name must be unique for the account of the user importing the OMI. Otherwise, the image import task fails.
ProductTypes: The product code associated with the OMI (
Snapshots: Information about the snapshots associated with the OMI. This attribute requires the following elements for each snapshot:
Ordering: The snapshot creation order (The value of this attribute must be an integer).
VolumeType: The type of the disk volume associated with the instance (
io1). For more information, see About Volumes > Volume Types and IOPS.
PreSignedUrl: The pre-signed URL of the snapshot file, in one of the following formats: qcow2, raw, qcow2.gz, or raw.gz. For more information, see Configuring a Pre-signed URL.
Filename: The name of the snapshot file on the bucket.
CompressedSize: The real size of the snapshot file, in bytes.
true, the snapshot is deleted when the instance is terminated. if
false, it is not deleted.
Device: The device name associated with the snapshot. For more information, see About Volumes > Volume Attachment and Device Names.
The device name must be unique for each snapshot, and correspond to the ones defined by the Operating System.
Size: The virtual size of the snapshot, in bytes.
User(optional): The account ID of the user exporting the OMI. For more information, see Getting Information About Your Account and Quotas.
Description: Additional information about the OMI you want to export.
This attribute is mandatory, even if you leave it blank.
Type: The type of OMI (always
Public: Whether the OMI is public or private (always
Architecture: The architecture of the Operating System contained in the OMI (
The architecture of an official OMI is available on Cockpit or using the describe-images command. For more information, see Getting Information About Your OMIs.