In this folder you will find plugins made for the bootstrapper.
You can run them via the --plugin
option when bootstrapping:
./build-debian-cloud ec2 --plugin plugins/admin-user
standard-packages
Adds some common packages to the AMI.unattended-upgrades
Enables unattended upgrades with aptitude. Your EC2 server will upgrade itself daily.build-metadata
Adds a build metadata output file to record the AMI and snapshot IDs for further scripting.admin-user
Creates a user named 'admin', gives it sudo rights and disables the root login.publish-ami
Grants launch permission of the new AMI to everybody.publish-snapshot
Grants everybody permission to create a volume from the snapshot for the AMI.remount
Remounts the bootstrapped volume. With this plugin you can inspect the results of the bootstrapping process without launching an instance.lvm-root-volume
Partitions the root volume with LVM. It creates 1 GB of swap then fills the rest. When booting it will create a 3rd partition if there is extra space, add it to the LVM VG and expand the volume.
The following is a list of external plugins you can use with build-debian-cloud.
-
ec2-autohostname
Create a Route 53 CNAME record via an instance tag when booting. -
ec2-minecraft
Installs Minecraft Server Manager by Marcus Whybrow. -
debian-cloud-chef
Installs Opscode Chef client using the Omnibus installer. -
debian-cloud-rightscale
Installs RightLink by RightScale.
If you have made a plugin for build-debian-cloud and would like to share it, send me a pull request or drop me an email.