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
- Host: GitHub
- URL: https://github.com/cogini/ubuntu-from-scratch
- Owner: cogini
- Created: 2020-11-10T05:43:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-10T06:52:57.000Z (over 5 years ago)
- Last Synced: 2025-02-18T01:45:20.325Z (over 1 year ago)
- Topics: ami, aws, aws-ec2, ubuntu
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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