Amazon and Alphabet Are Each Spending At Least $200 Billion on Data Centers This Year. Here's Which Stock Outperforms Through 2028.

Source The Motley Fool

Key Points

  • Google Cloud is growing faster than Amazon Web Services.

  • Amazon Web Services accounts for the majority of Amazon's profits.

  • 10 stocks we like better than Amazon ›

Amazon (NASDAQ: AMZN) and Alphabet (NASDAQ: GOOG) (NASDAQ: GOOGL) are two of the biggest spenders in the artificial intelligence (AI) race. This year, Alphabet plans to spend about $200 billion on data center capital expenditures. Not to be outdone, Amazon plans to spend about $220 billion. Those figures may be hard to fathom, but when you see the returns on investment that these two are generating from the data center infrastructure they're building, it starts to make sense.

But which one of these makes the most sense from an investment standpoint? I think it's Amazon, and the reason why may not be obvious to many investors.

Missed AI’s "Act 1"? Act 2 Could Be 15x Bigger. Most investors think they missed the AI boat because they didn't buy Nvidia in 2005. But according to our analysts, we’re only at the end of "Act 1"—the R&D phase. "Act 2" is the global rollout. Continue »

Two investors comparing Amazon and Alphabet with the help of a tablet while standing on a balcony.

Image source: Getty Images.

Building out their cloud computing units

Amazon and Alphabet may be using some of the computing power they are acquiring for internal growth, but the majority of it will be rented out to their clients via their cloud computing platforms. Amazon Web Services (AWS) and Google Cloud have become massive parts of their respective businesses, and demand for their services has never been higher. Google Cloud's backlog reached $514 billion during the second quarter. For reference, Google Cloud's revenue was $24.8 billion in Q2. So, if Google Cloud ceased to grow its data center footprint, it would take over five years for it to churn through this backlog. Obviously, it's not standing still -- thus, the $200 billion spending bill this year -- and that will lead to substantial annual revenue growth in the near future.

AWS' backlog of $496 billion is almost as large, but its computing platform is far larger and delivered $42.2 billion in revenue during Q2, so it won't take as long for it to fully deliver on that backlog. Still, that isn't stopping Amazon from spending big on its computing capacity, as it sees demand growing. CEO Andy Jassy noted that Amazon doesn't have nearly the amount of computing capacity necessary to meet demand in 2026, and that will likely be the case in 2027. As a result, they're already seeing demand for 2028 starting to appear. That's unusual for this business, and indicates how much the cloud computing market will grow over the next few years.

AWS has a bigger influence on Amazon's bottom line

During Q2, Google Cloud grew at an 82% year-over-year clip, while AWS grew at a 37% pace. So at first glance, investors might assume Alphabet is the better stock to invest in, but that's not the full picture.

The reality is that in terms of profitability, Google Cloud is an average business unit for Alphabet. Its Q2 operating margin of 36% was only slightly higher than Alphabet's companywide margin of 34%. However, AWS' 39% operating margin was far higher than Amazon's companywide margin of 14%. In fact, AWS accounted for about 60% of Amazon's operating profits during Q2.

So, what does this mean?

While Google Cloud is smaller than AWS and will likely grow faster over the next few years, that expansion only marginally accelerates Alphabet's companywide growth, particularly since it's still far smaller than its other business units. On the flip side, AWS is a massive part of Amazon's business, and whenever its revenue growth accelerates, Amazon's overall profit growth accelerates even faster (assuming Amazon's commerce segment margins remain fairly steady). This means that Amazon's massive $220 billion capex bill for 2026 will have a more significant effect on the company's profits than Alphabet's $200 billion spending will have on its profits. I think that will lead to Amazon outperforming Alphabet through 2028.

Should you buy stock in Amazon right now?

Before you buy stock in Amazon, 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 Amazon 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 $344,608!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,327,222!*

Now, it’s worth noting Stock Advisor’s total average return is 904% — a market-crushing outperformance compared to 211% 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 October 27, 2026.

Keithen Drury has positions in Alphabet and Amazon. The Motley Fool has positions in and recommends Alphabet and Amazon. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Fed October Rate Decision Preview: Rate Hike Pause Has Become Consensus, How Will US Stocks, Dollar, and Gold React?The Federal Reserve will announce its October interest rate decision at 14:00 Eastern Time on October 28, and Fed Chair Warsh will hold a press conference at 14:30. Markets currently wide
Author  TradingKey
7 hours ago
The Federal Reserve will announce its October interest rate decision at 14:00 Eastern Time on October 28, and Fed Chair Warsh will hold a press conference at 14:30. Markets currently wide
placeholder
Anthropic files for a $2 trillion IPO — the $80.7 billion loss is the decoy, the $450 billion compute bill is the riskAnthropic publicly filed its S-1 on October 26, revealing $16.29 billion of first-half revenue (+1,304% year over year) and a $80.7 billion net loss — of which $72.4 billion is a non-cash convertible-note charge. The real number is the $450 billion of signed, mostly non-cancelable compute commitments. Here is what the filing says, why NVDA, ARM and MU are the tradeable read-through, and the conditions that decide whether the AI trade passes its first public valuation test.
Author  Irene Q.
12 hours ago
Anthropic publicly filed its S-1 on October 26, revealing $16.29 billion of first-half revenue (+1,304% year over year) and a $80.7 billion net loss — of which $72.4 billion is a non-cash convertible-note charge. The real number is the $450 billion of signed, mostly non-cancelable compute commitments. Here is what the filing says, why NVDA, ARM and MU are the tradeable read-through, and the conditions that decide whether the AI trade passes its first public valuation test.
placeholder
Tesla jumps 5% as Barclays puts a $450 target on the SpaceX merger — the chart was already pointing to 431Tesla closed at $391.62 on October 26, up 5.21%, after Barclays upgraded the stock to Overweight and lifted its target to $450 from $370, citing a sharp inflection in Robotaxi miles and a potential SpaceX merger. The move also completed a double bottom at $345.88 and $349.33, with a neckline at $388.56 and a measured target of $431.24. Here is what the upgrade actually says, why the chart and the analyst now point the same way, and what would break the target.
Author  Irene Q.
12 hours ago
Tesla closed at $391.62 on October 26, up 5.21%, after Barclays upgraded the stock to Overweight and lifted its target to $450 from $370, citing a sharp inflection in Robotaxi miles and a potential SpaceX merger. The move also completed a double bottom at $345.88 and $349.33, with a neckline at $388.56 and a measured target of $431.24. Here is what the upgrade actually says, why the chart and the analyst now point the same way, and what would break the target.
placeholder
Euro weakens below 1.1200 as traders brace for Fed, ECB rate decisionsThe EUR/USD pair extends the decline near 1.1170 during the early Asian trading hours on Tuesday, pressured by risk-off sentiment. Markets might turn cautious later in the day ahead of the US Federal Reserve (Fed) and European Central Bank (ECB) interest rate decisions later this week.
Author  FXStreet
16 hours ago
The EUR/USD pair extends the decline near 1.1170 during the early Asian trading hours on Tuesday, pressured by risk-off sentiment. Markets might turn cautious later in the day ahead of the US Federal Reserve (Fed) and European Central Bank (ECB) interest rate decisions later this week.
placeholder
Bitcoin Price Forecast: Drops Below $80,000 in Fifth Straight Loss, May Test $75,000 as FOMC Meeting Approaches Bitcoin falls below the $80,000 mark as the October FOMC decision approaches, threatening a further dip toward $75,000.On October 26, Bitcoin (BTC) again lost the key psychological mark o
Author  TradingKey
Yesterday 10: 10
Bitcoin falls below the $80,000 mark as the October FOMC decision approaches, threatening a further dip toward $75,000.On October 26, Bitcoin (BTC) again lost the key psychological mark o
goTop
quote