Known FreeBSD contributor Colin Percival shows us how to port your operating system, particularly FreeBSD, to the Amazon EC2 cloud. An existing Amazon Web Services account will be needed. You may view the full set of instructions at his web page below.

I’ve been the maintainer of the FreeBSD/EC2 platform for about 7.5 years now, and as far as “running things in virtual machines” goes, that remains the only operating system and the only cloud which I work on. That said, from time to time I get questions from people who want to port other operating systems into EC2, and being a member of the open source community, I do my best to help them. I realized a few days ago that rather than replying to emails one by one it would be more efficient to post something publicly; so — for the benefit of the dozen or so people who want to port operating systems to run in EC2, and the curiosity of maybe a thousand more people who use EC2 but will never build AMIs themselves — here’s a rough guide to building EC2 images.


Before we can talk about building images, there are some things you need: ….

Full tutorial: