David - Musings of an SRE

Note to self: Swap and EC2

Note to self:

Create a swap partition after launching a micro-instance.

sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
sudo /sbin/mkswap /var/swap.1
sudo /sbin/swapon /var/swap.1

You’ll need it.