Amazon shares surged about 15% on Friday after the company reported second-quarter results that came in ahead of expectations. The sharp move reflected investor enthusiasm for a stronger-than-expected quarter from the e-commerce and cloud company.

A key driver was Amazon Web Services, whose accelerating cloud growth helped power the overall performance. AWS remains central to Amazon’s business story, and the faster pace in that unit appeared to reassure investors looking for momentum in the company’s most closely watched profit engine.

The results were described as a "home run" quarter, underscoring how broadly positive the market reaction was. With both the retail and cloud sides of the business under focus, the earnings beat suggested Amazon is continuing to benefit from demand across major parts of its operation.

The rally in Amazon stock shows how heavily the market is weighing AWS trends in addition to the company’s broader e-commerce performance. After topping second-quarter expectations, Amazon entered the next trading stretch with renewed confidence from investors.