I got a $5K advance on an AWS book that never even came out because they cancelled the contract after they paid the advance (a bunch of similar books came out in one month and they just didn't want to bother competing, especially since our book would be two to three months behind).