How to Boost a Custom Kernel in EC2

MSys Editorial Mar 15 - 1 min read

Audio : Listen to This Blog.

Amazon EC2 has recently released PV-GRUB loader supported kernels that allow one to boot their kernels. This PV-GRUB loader simply chain-boots the kernel provided in the associated AMI (Amazon Machine Image). This results in your instance running the kernel in the AMI instead of the kernel specified in the boot process. This is hugely helpful feature for folks who want load their own customized kernels into EC2’s virtual machines. This article talks about we successfully booted a customized (extra patches) RHEL/CENTOS 5.5 kernel on EC2:

Pre-requisites:

  • Amazon EC2 account (obviously!)
  • Knowledge of running EC2 instances/bundling EC2 images using ElasticFox or command line ec2 tools.
  • The kernel you want to build.
  • The patches you want to apply.

NOTE: You’ll might think that, wow! with the feature i can boot any damn kernel in the world. Well chances are you can but what Amazon says is that they are 100% sure certain these kernels (mentioned below) definitely boot, rest need to test their luck:

Leave a Reply

MSys Technologies has holistic experience in IoT, Machine Learning, and Artifical Intelligence. We can be your partner if you are dabbling into the Internet of Things or are looking for a solution provider with expertise in that domain.