AI coding tools have flooded GitHub with so much code that Microsoft is turning to its biggest cloud rival for computing capacity.
Microsoft Corp. is adding computing capacity from Amazon Web Services to handle a surge in AI-generated code on GitHub, turning to its biggest cloud rival as AI demand outstrips infrastructure supply.
"The incredible spike in agentic development that began late last year has tested our infrastructure's limits," a Microsoft spokesperson said, confirming the company is "exploring a multi-cloud strategy" to meet demand. The spokesperson declined to comment on any Amazon involvement.
GitHub commits — records of code changes that serve as a proxy for development activity — are on pace to reach 14 billion in 2026, up from 1 billion in 2025, Chief Operating Officer Kyle Daigle wrote on X in April. The platform has suffered dozens of major outages this year, prompting complaints from developers. Mitchell Hashimoto, cofounder of HashiCorp, wrote in April that GitHub was "no longer a place for serious work if it just blocks you out for hours per day, every day."
The cross-cloud arrangement highlights the severity of the AI infrastructure crunch. Microsoft has projected $190 billion in capital expenditures for calendar 2026, largely to expand data center capacity, but many projects face delays. The company must also support its own AI products and services, including Azure OpenAI and Copilot, leaving little room for GitHub's explosive growth.
The capacity squeeze is reshaping cloud alliances
The deal is notable because Microsoft and Amazon are locked in a fierce battle for cloud market share. Microsoft's Azure trails AWS in market share but has gained ground through its partnership with OpenAI. Giving an archrival more business, rather than addressing GitHub's needs through its own cloud, is likely not an ideal move for Microsoft.
However, AI-driven demand is so intense that other big tech companies are making similar accommodations. Earlier this month, SpaceX and Google disclosed a deal in which Google will pay SpaceX $920 million a month for AI compute capacity from October 2026 through June 2029. That emerged just two months after Google's own cloud business agreed to sell AI compute capacity to Anthropic.
GitHub faces competitive pressure from AI-native tools
The capacity issues come as GitHub faces growing competition from AI-powered coding tools such as Cursor and Anthropic's Claude Code. In an internal meeting late last year, a Microsoft executive spoke about needing to overhaul GitHub to compete with these rivals, according to audio reviewed by Business Insider.
Microsoft had planned to move GitHub entirely to its Azure cloud by 2027, but the surge in AI-generated code has forced a pivot. The company is now "both accelerating our move to Azure and continuing to explore a multi-cloud strategy," the spokesperson said.
For investors, the situation presents a mixed picture. Microsoft shares trade at roughly 30 times forward earnings, reflecting confidence in its AI-driven growth story. But the need to outsource capacity to AWS suggests near-term infrastructure constraints that could limit revenue growth from GitHub and other AI products. Amazon, meanwhile, benefits from the deal as AWS captures revenue from a competitor's platform, reinforcing its dominance in cloud infrastructure.
This article is for informational purposes only and does not constitute investment advice.