Amazon (AMZN) shares are surging after hours after reporting a better-than-expected second quarter and delivering on exactly what investors wanted to see.