Automatically create AWS EC2 snapshots using PHP