1
00:00:00,000 --> 00:00:09,800
In this video, you will learn about file formats for VMs and cloud.

2
00:00:09,800 --> 00:00:14,640
So for working with VMs and cloud instances, different file formats have been introduced

3
00:00:14,640 --> 00:00:20,160
to guarantee that settings can be stored efficiently and also there is some interoperability every

4
00:00:20,160 --> 00:00:21,840
now and then.

5
00:00:21,840 --> 00:00:26,360
The file formats may support compression and include metadata that describes the virtual

6
00:00:26,360 --> 00:00:29,000
machine or cloud instance.

7
00:00:29,000 --> 00:00:33,759
And to work with VMs between different platforms, it may be needed to convert the format before

8
00:00:33,759 --> 00:00:37,200
the VM can be imported in the new platform.

9
00:00:37,200 --> 00:00:43,119
A useful utility in that context is QEMU Image Convert, that's a generic tool that you can

10
00:00:43,119 --> 00:00:45,200
use for image conversion.

11
00:00:45,200 --> 00:00:52,959
Like for instance QEMU Image Convert –f QCOW2, so that identifies the format as QCOW2.

12
00:00:52,959 --> 00:00:56,500
And –o VMDK defines the output format.

13
00:00:56,500 --> 00:01:01,080
And then you have the name of the original disk and the name of the target disk.

14
00:01:01,080 --> 00:01:05,779
Now there are different file formats available, where VMDK is the standard virtual disk format

15
00:01:05,779 --> 00:01:07,180
in VMware.

16
00:01:07,180 --> 00:01:09,300
It is widely used and well supported.

17
00:01:09,300 --> 00:01:15,779
VHD and VHDX is what you find as the default format in Hyper-V and Azure environments.

18
00:01:15,779 --> 00:01:22,739
QCOW2 is the default format in open source QEMU, KVM and OpenStack.

19
00:01:22,739 --> 00:01:27,339
ROL and IMAGE are ROL formats that have not been compressed and that don't contain metadata

20
00:01:27,339 --> 00:01:28,339
typically.

21
00:01:28,339 --> 00:01:34,339
VDI is what you find in Oracle VirtualBox and AMI is a bundle of files that represents

22
00:01:34,339 --> 00:01:36,980
an instance in Amazon EC2.

