Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have some issues with finding the source code of Amazon EC2 compatible kernels. There is a tutorial in Amazon EC2 documentation of how to run instances with custom kernels, but those must be from the Amazon EC2 compatible kernels. It is hard to find sources for the Amazon EC2 kernels though, according to this conversation: https://groups.google.com/forum/#!topic/ec2debian/OKDnCZQikEc

The following post explains how to compile a kernel from source and register it to EC2, but this kernel must be an Amazon EC2 compatible kernel, and the provided links to download it are broken: http://alestic.com/2008/05/kernel-modules-2-6-21

I need to have the kernel from source in order to compile the OrangeFS kernel module.

So do you think that there is a place to find the source of an Amazon EC2 kernel?

Many thanks, Dimos

share|improve this question
    
Why not build it as a module? –  Ignacio Vazquez-Abrams Jul 3 '13 at 20:15
    
To build the kernel as a module? How am I supposed to build it if I don't have its source? –  Dimos Jul 3 '13 at 20:37
    
You don't need the kernel's source, only its -devel package. –  Ignacio Vazquez-Abrams Jul 3 '13 at 20:39
    
I don't think you can build OrangeFS kernel module when having just the -devel package: orangefs.org/documentation/releases/current/doc/… –  Dimos Jul 3 '13 at 20:45
1  
The articles you reference (and which I wrote) are obsolete. The standard today is to run an AKI that uses PV (paravirtualization). The end result is that the kernel in your AMI boot disk is the true kernel that is run on the instance. This means you can build and use your own kernel on EC2. You should use the latest kernel source provided by your distro (Ubuntu, Amazon Linux, CentOS, Debian, etc.). Note that there might be a special EC2 or cloud variation. –  Eric Hammond Jul 3 '13 at 21:03

1 Answer 1

Orangefs also available through the amazon marketplace https://aws.amazon.com/marketplace/seller-profile?id=f34f2eeb-dcc6-4e41-90e1-92fbd146db9f

it supports an automated deployment via cloud formation templates, easier than dealing with compiling the source.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.