Amazonreported first-quarter earnings that crushed expectations on Thursday.The stock spiked to an all-time high, up more than 7%, on the results.Follow Amazon's stock price in real-time here.Shares of Amazon are surging, up as much as 7%, after the e-commerce giant reported first-quarter earnings that crushed expectations.Here are the key figures:Revenue:$51.04 billion versus an expected $49.96 billion.Earnings per share (GAAP):$3.27 a share versus an expected $1.26.Revenue guidance (Q2):$51 billion to $54 billion. Analysts had previously forecast sales of $52.27 billion. In the second quarter last year, the company posted $37.96 billion in sales.Operating income guidance (Q2):$1.1 billion to $1.9 billion. Amazon recorded $628 million in operating income in last year's second quarter.The stock's previous all-time high was $1,617, hit in March of this year.Amazon saw strong gains from its North American retail segment, thanks in part due to Whole Foods, which it acquired in the second half of last year. Sales from that segment rose 46% year-over-year to $30.7 billion in the quarter. The segment posted an operating profit of $1.1 billion, which was nearly double the $596 million operating profit it recorded last year.Whole Foods and Amazon's other physical stores contributed $4.3 billion in sales for the segment. Without them, Amazon's North American online sales grew by 18%.More impressively, the company's cloud businessAmazon Web Servicessaw its sales grow 49% to $5.4 billion. Yet again AWS contributed the lion's share of Amazon's profit. The cloud business had operating income of $1.4 billion in the quarter, up from $890 million a year earlier.Although AWS's sales have grown at rates of 40% or better for at least the last six quarter, its pace in the just-completed period was the fastest over that time span."AWS had the unusual advantage of a seven-year head start before facing like-minded competition, and the team has never slowed down," Amazon CEO Jeff Bezos said in a statement. "As a result, the AWS services are by far the most evolved and most functionality-rich ... That's why you're seeing this remarkable acceleration in AWS growth."Troy Wolverton contributed to this report.SEE ALSO:Amazon is worth $735 billion ' but Wall Street's betting it's more like a startup than a tech giant (AMZN)Join the conversation about this storyNOW WATCH: Wall Street's biggest bull explains why trade war fears are way overblown
Click here to read full news..