Overview

Python Software Foundation on Arm infrastructure

The Python Software Foundation (PSF) faced a pivotal moment as Python’s growth placed new demands on its infrastructure. With limited staff and resources, the foundation needed a platform that could support millions of developers worldwide, while also aligning with sustainability and cost-efficiency goals.

 

By migrating to Arm-based AWS Graviton instances and adopting GitHub’s native Arm64-hosted runners, the PSF created a seamless, consistent developer experience across laptops, CI pipelines, and production environments. The result? A future-ready infrastructure that not only reduces costs and carbon emissions but also strengthens the reliability and scalability of Python for the global community.

Read Blog

Impact

Seamlessly migrated critical infrastructure to Arm with zero downtime or disruptions.

Reduced both compute costs and carbon emissions, helping the nonprofit align with sustainability goals while maintaining high performance.

End-to-end consistent environment on Arm that enhances productivity, test accuracy, and reliability across all stages of development.

“The transition was seamless. No downtime, no disruption. Just a stronger foundation for Python.”
Ee Durbin, Director of Infrastructure, Python Software Foundation
“From laptop to CI to production, it’s all Arm now. That consistency is game-changing.”
Łukasz Langa, CPython Developer-in-Residence
Two software engineers collaborating in front of computer screen with code.
Challenges Faced and Overcome

Challenge 1: Growing Infrastructure Demands in A Global Ecosystem

As Python’s popularity surged, the Python Software Foundation (PSF) began to see strain on its infrastructure. Core systems, including PyPI (Python Package Index), documentation hubs, and internal services, faced longer build times, rising cloud costs, and increasing complexity. Supporting one of the world’s largest open source developer ecosystems required infrastructure that could scale to millions of active users.

Aerial view of large solar panel field representing renewable energy technology.

Challenge 2: Cost Optimization and Sustainability Goals

As a small nonprofit with a limited engineering staff, the PSF needed a platform that was cost-effective, energy-efficient, and sustainable. At scale, Python.org serves 11 million monthly visitors, 24 million page views, and 188 million requests. Meeting these demands required infrastructure that could lower compute costs while reducing environmental impact. By modernizing on Arm-based AWS Graviton instances, the PSF achieved both efficiency and sustainability.

JavaScript programming code displayed on dark computer screen for web development.

Challenge 3: Ensuring Developer Consistency Across Environments

Millions of Python developers were already coding daily on Arm-powered Apple M1 and M2 laptops, but their CI pipelines and production systems still ran on x86 architectures. This created friction, inconsistent test results, and unnecessary debugging. Aligning development, CI, and production on a unified Arm architecture became essential to improving the contributor experience.

Abstract 3D background with flowing purple and blue lines representing digital technology.
Arm Cloud Migration

Why AWS Gravition + GitHub Arm64 Runners

Migrating to Arm-based AWS Graviton instances provided the PSF a seamless, low-risk transition path. With Kubernetes orchestration, the move was as simple as switching instance types with zero downtime or disruption to the Python community.

With the introduction of GitHub’s native Arm64 runners, the PSF achieved end-to-end consistency across laptops, CI, and cloud environments. This opened the door for broader testing coverage across platforms for Linux and Windows on Arm runners.

Additionally, with support from Arm, the PSF leveraged 500 GB bare-metal machines for deep memory and stress testing. These high-capacity systems uncovered bugs that could never be reproduced on laptops, significantly improving Python’s reliability, performance, and quality assurance.

Transparent 3D cloud icon on digital grid symbolizing cloud computing and data storage.

Migration Best Practices from the Python Software Foundation

  • Confirm compatibility early: Validate critical workloads such as PyPI, CI/CD pipelines, and test suites before shifting production to ensure a seamless cutover.
  • Leverage Kubernetes for orchestration: Treat instance type changes as routine operations by using container orchestration. Kubernetes made the PSF’s migration almost effortless.
  • Adopt end-to-end consistency across architectures: Standardizing on Arm from developer laptops to CI pipelines to production reduced friction, shortened cycles, and improved contributor productivity.

Arm Cloud Migration is our developer initiative for companies of all sizes migrating to Arm architecture in the cloud. Explore the Arm Software Ecosystem Dashboard, network with the Arm community, or contact migration experts for migration support.

Access Developer Resources Here
Join the Arm Developer Program

Arm Developer Program

The Arm Developer Program brings together developers from across the world, providing advanced tools and resources, a network of like-minded members, and live sessions from leading experts. Join today and get the support you need to build your software applications.

Join Now
Resources

Cloud Migration with Arm

Get Started with Your Migration Journey

Explore hundreds of self-serve resources, including Learning Paths, tutorials, and guides. Plus, tooling to start or continue your migration to Arm.

Developer Initiative to Expedite Migration to Arm-based Cloud Platforms

New tools, resources, and expert support to unlock the full performance, efficiency, and scalability of Arm-based infrastructure for modern workloads.

Why Developers Are Migrating to Arm

Specialized software operates behind the scenes to help ensure security, reliability, and efficiency.

Streamline Arm Adoption with GitHub Copilot and Arm64 Runners

The Arm extension for GitHub Copilot and native Arm64 runners streamline migration from x86 to Arm architecture. This automates code conversion, enables native execution, improves performance, and reduces cost and time.

Discover More Success Stories