BlogsUberCorporate Network Automation with Ansible

Corporate Network Automation with Ansible

Corporate Network Automation with Ansible

1
posts
2026

Uber has established a comprehensive automation strategy for its global corporate network (Corpnet) using Ansible. This initiative addresses the challenges of managing a large, diverse, and geographically distributed on-premises network infrastructure. By leveraging Ansible, Uber standardizes configuration management across thousands of devices, including switches, gateways, and firewalls, from multiple vendors. The system employs a 'Daily Nightly Enforcement' process that includes backing up existing configurations, generating desired configurations using Jinja templates based on inventory variables, and pushing these golden configurations to devices. This process ensures stability, provides a versioned record of network state, and overwrites any untracked manual adjustments, thereby reducing technical debt and guaranteeing operational readiness.

2026

How Ansible® Automation Powers the Uber Corporate Network at a Global Scale

4/30/2026

This post details Uber's implementation of Ansible for automating the configuration management of its global corporate network (Corpnet). It explains the choice of Ansible over other IaC tools due to its agentless nature and ease of use with Python and YAML. The post describes the 'Daily Nightly Enforcement' process, which involves backing up existing configurations to GitHub, generating 'golden configurations' using Jinja templates tailored to device vendors and operating systems based on an Ansible inventory, and then pushing these desired configurations to the network devices. The system manages approximately 5,000 devices across five global regions, standardizing configurations for switches, gateways, and firewalls, and handling specific use cases like local DHCP servers and VLAN management. The process also includes automated password rotation and integration with an external alerting system for failures.