An open API service indexing awesome lists of open source software.

https://github.com/cogini/ubuntu-from-scratch

Building Ubuntu AMIs from scratch using debootstrap
https://github.com/cogini/ubuntu-from-scratch

ami aws aws-ec2 ubuntu

Last synced: about 2 months ago
JSON representation

Building Ubuntu AMIs from scratch using debootstrap

Awesome Lists containing this project

README

          

A few years ago, before [Ubuntu Minimal](https://wiki.ubuntu.com/Minimal)
existed, I was playing around with creating small Ubuntu AMIs from scratch.
Someone on Reddit asked about doing something similar, so I am publishing my notes and
scripts.

The approach I used was to create an install in an EBS volume using
`debootstrap` (via [mkosi](https://github.com/systemd/mkosi)), then taking a
snapshot of the volume and turning it into an AMI. It did work, but these days
I would just use Ubuntu Minimal.

A much more complete working example of using the Buildroot embedded Linux distribution
to create AMIs is here: https://github.com/cogini/buildroot_ec2