Manifest File Reference
A manifest file is a file that is required for importing an OUTSCALE Machine Image (OMI) from an OUTSCALE Object Storage (OOS) bucket. For more information, see Copying an OMI Across Regions.
A manifest file can be created in two ways:
-
Automatically: When you export an OMI to a bucket via Cockpit or the CreateImageExportTask API method, the manifest file and all the necessary snapshots are automatically created directly in the bucket.
-
Manually: You can also manually write the manifest file corresponding to the OMI, and then manually upload this file and all necessary snapshots to the bucket, but this requires more steps.
Once the manifest file exists in the bucket, the OMI can be imported.
To manually write a manifest file, you need to create a JSON file following this structure:
{
"Version": 1,
"Image": {
"Name": "image-example",
"Description": "",
"Architecture": "x86_64",
"Type": "machine",
"ProductTypes": [
"0001"
],
"Public": false,
"Snapshots": [
{
"DeleteOnTermination": false,
"Device": "/dev/sda1",
"Filename": "snap-11111111-aaaaaaaa.qcow2.gz",
"Iops": null,
"PreSignedUrl": "https://oos.eu-west-2.outscale.com/<BUCKET>/snap-11111111-aaaaaaaa.qcow2.gz?<...>",
"Size": 10737418240,
"VolumeType": "standard"
},
{
"DeleteOnTermination": false,
"Device": "/dev/sda2",
"Filename": "snap-22222222-aaaaaaaa.qcow2.gz",
"Iops": null,
"PreSignedUrl": "https://oos.eu-west-2.outscale.com/<BUCKET>/snap-22222222-aaaaaaaa.qcow2.gz?<...>",
"Size": 21474836480,
"VolumeType": "standard"
}
]
}
}
This file contains the following attributes:
Attribute | Required | Description | ||
---|---|---|---|---|
|
Yes |
The version of the manifest file format (always |
||
|
Yes |
Information about the OMI you want to export. |
||
|
No |
The name of the OMI.
|
||
|
No |
A description for the OMI.
|
||
|
No |
The architecture of the OMI ( |
||
|
No |
The type of OMI (always |
||
|
Yes |
The product codes associated with the OMI. |
||
|
No |
Whether the OMI is public or private. |
||
|
Yes |
Information about the snapshots associated with the OMI. |
||
|
No |
If |
||
|
Yes |
The device name for the volume. For a root device, you must use |
||
|
Yes |
The name of the snapshot file on the bucket. |
||
|
No |
The number of I/O operations per second (IOPS) (only for |
||
|
Yes |
The pre-signed URL of the snapshot file. For more information, see Creating a Pre-Signed URL. |
||
|
Yes |
The size of the uncompressed snapshot, in bytes. |
||
|
No |
The type of the volume ( |
Related Pages