https://code.launchpad.net/~mbp/launchpad/ec2-tmpfs/+merge/82355 tweaks this. It still needs some testing.