The company's cloud computing investments are starting to pay off.