Amazon Web Services has held top share in the cloud market since the industry existed.
Google Cloud is growing revenue and operating income at a much faster pace than its larger peer.
These tech companies run other lucrative segments that investors need to incorporate in their analysis.
Investors view artificial intelligence (AI) as a major technological trend that will shape the global economy. The top AI labs, OpenAI and Anthropic, are reporting soaring revenue and token usage. This confirms that the industry still has momentum.
Further upstream, cloud computing platforms like Alphabet's (NASDAQ: GOOGL) (NASDAQ: GOOG) Google Cloud and Amazon (NASDAQ: AMZN) Web Services (AWS) have benefited financially, as their data centers and related ecosystems power consumer and enterprise AI adoption. These are two of the leading hyperscalers that sit at the center of the AI boom. And investors are putting more weight on these segments to judge how their underlying businesses are performing.
Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »
Which cloud stock is the best one to own for the next five years?
Image source: Getty Images.
Neither Alphabet nor Amazon is being cautious with their investment approaches. The Google parent plans to spend $200 billion (at the midpoint) in capital expenditures (capex) this year, which will rise meaningfully in 2027. Amazon's capex is expected to total $220 billion in 2026. This money is going toward building technical infrastructure to service the strong demand their cloud platforms are seeing.
On the Q3 2026 earnings call, Andy Jassy, Amazon's chief executive officer, said that "having the leading functionality, security, and operational performance can't help but drive customers to run their apps and store their data in AWS." It has had top market share in the cloud industry for a long time.
But its smaller rival is chipping away at its leadership position. AWS posted year-over-year revenue growth of 39% last quarter, its fastest increase in almost five years. Google Cloud has been expanding at a brisker pace, though, with sales in Q3 up 103% compared to the same period last year. In the third quarter of 2021, its revenue represented 31% of what AWS generated. That figure is now 67%, meaning it has gained substantial market share.
If it was possible to directly own the cloud segments, I'd pick Google Cloud as the better investment opportunity. Not only is revenue rising at a faster clip, but its operating income is skyrocketing as it builds a cost advantage. The backlog is massive at $561 billion, which is slightly lower than the $578 billion that AWS has.
While their cloud divisions draw a lot of the market's attention, these are giant technology enterprises that have sprawling operations in different industries. Investors assessing them with a five-year time horizon can't ignore the rest of these businesses.
The biggest question mark facing Alphabet right now might be Google Search, which historically has been its crown jewel. Revenue growth decelerated to 12% in the third quarter.
Queries rose at the fastest rate in five years, but monetization is clearly facing pressure. It's hard to predict the long-term financial impact AI will have on Google Search, but it's certainly not time to panic.
YouTube continues to dominate streaming, and Waymo is significantly ahead of Tesla when it comes to autonomous miles driven.
Amazon sits atop the retail sector. The scale it's built, paired with a massive and well-functioning logistics network, is under no threat. But growth and margins are substantially lower than cloud.
Advertising is a high-margin revenue stream. Investors might be unfamiliar with the fact that Amazon brought in almost $80 billion in annualized ad sales in the third quarter.
Cloud and AI get all the headlines. However, these other segments matter tremendously.
Despite the AI fears on Google Search, I'd argue Alphabet wins by a nose as the higher-quality company, even though Amazon is also one of the world's elite businesses. The next variable to consider is valuation. Alphabet is more attractive in this area, too.
Its shares trade 27% off their peak (as of Nov. 13), so investors can take advantage of weaker market sentiment to start a position in the company. The stock sells at a forward price-to-earnings ratio of 19.9, which is cheaper than Amazon's 24.7 multiple. Getting in at a lower valuation can add to returns.
Alphabet is the better stock to own for the next five years.
Before you buy stock in Alphabet, consider this:
The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Alphabet wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.
Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $327,620!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $959,410!*
Now, it’s worth noting Stock Advisor’s total average return is 802% — a market-crushing outperformance compared to 205% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.
See the 10 stocks »
*Stock Advisor returns as of November 17, 2026.
Neil Patel has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Alphabet, Amazon, and Tesla. The Motley Fool has a disclosure policy.