You can build your own kernel on Amazon EC2, so long as you pick the appropriate PV Grub kernel image.
Types of pv-grub kernel
There are two types of pv-grub kernel image:
hd0 – for boot disk images that are unpartitioned (as most on the cloud are)
hd00 – for boot disk images that are partitioned (as most physical servers are)
pv-grub looks for /boot/grub/menu.lst on the first partition of the hard drive. If you have just one partition for the whole root device, you’ll use the hd0 pv-grub kernel aki, and the configuration file will be located at /boot/grub/menu.lst.
# Sample /boot/grub/menu.lst for hd0
kernel /boot/kernel-3.2.1-gentoo-r2 root=/dev/xvda1 rootfstype=ext4
If you partitioned the root device, you need to use the hd00 pv-grub aki, the boot partition needs to be the first one on the device, and the configuration file will be /boot/boot/grub/menu.lst. This is because it is looking for /boot/grub/menu.lst in the first partition, which is /boot.
# Sample /boot/boot/grub/menu.lst for hd00
kernel /boot/kernel-3.2.1-gentoo-r2 root=/dev/xvda2 rootfstype=ext4
Supported File Systems
The following file systems are supported for the partition with /boot: