Hello AWS Study Group VN community.
If you are working in the telecommunications industry or operating systems with a massive number of endpoints—up to millions of nodes like home routers, modems, or broadband gateways—updating configurations or performing simultaneous firmware upgrades without bottlenecking the system is always an extremely daunting challenge.
Today, I would like to share a brilliant architecture translated and detailed from the AWS Architecture Blog. It solves this ultra-large-scale problem by combining the duo of Managed Red Hat Ansible Automation Platform (AAP) on AWS and Red Hat OpenShift Service on AWS (ROSA).
The Key Point: Completely Decoupling the Control Plane and Execution Plane
Traditional management systems often bundle the control unit (UI, APIs) and the execution unit (running commands) into the same server infrastructure. When you send commands to hundreds of thousands of devices simultaneously, the sudden spike in processes exhausts all resources, often causing the management interface for engineers to hang.
With this modern architecture:
During peak times, the execution plane can comfortably scale out via IPv4/IPv6 protocols to device gateways, while your control plane remains smoothly responsive.
Top-Tier Infrastructure: Multi-Region & Stateless Design with Amazon S3
To handle the scale of millions of endpoints nationwide, the system cannot run in just one place. This architecture deploys Red Hat OpenShift Service on AWS (ROSA) across multiple AWS Regions (Multi-Region) such as us-east-1, us-west-1, us-west-2. In each region, the Worker Nodes responsible for execution are further distributed evenly across 3 Independent Availability Zones (AZ-A, AZ-B, and AZ-C) to ensure High Availability. A severed cable or a failed zone will not take down the system.
Most importantly, to keep the AAP cluster lightweight and stateless, all heavy management data is completely offloaded to Amazon Simple Storage Service (S3) Buckets. S3 acts as the storage and distribution layer for Ansible Content Collections as well as the Container Images of the Automation Execution Environments.
Real-Time Autoscaling and Cost Optimization
This is the most valuable aspect of the solution. Instead of maintaining a massive fleet of servers to prepare for upgrade days—only to leave them idle on normal days—the combination of ROSA and AWS optimizes costs perfectly using a pay-as-you-go model.
Let’s look at a realistic timeline for a scheduled upgrade:
As a result, the business only pays for the additional servers during those few tens of minutes of peak traffic, without needing to feed a system running at full capacity 24/7.
The Secret Weapon: Pushing Logs to an OLAP System to Train AI / Operations LLMs
Running millions of devices generates a colossal amount of logs. This architecture does not store logs in the traditional way, which easily causes I/O bottlenecks. All execution data, logs, and metrics from AAP are continuously pushed to a distributed OLAP (Online Analytical Processing) database, specialized for real-time analytics and log aggregation like Grafana / Grafana Loki.
Besides providing engineers with clear Dashboards for debugging, the most “valuable” point here is that this massive and clean log data source will be used as input material to train specialized AI/LLM models for operations (Operations LLM Mode). In the future, AI itself will learn from these logs to automatically detect anomalies and provide self-healing solutions for telecommunication networks.
Other Outstanding Advantages Compared to Legacy Methods
In addition to elastic scalability, this architecture completely solves the library dependency conflict problem between different device generations. Each automation script is neatly packaged into its own isolated Container Image (Execution Environment). Once finished, it cleans up after itself without leaving junk or affecting other processes.
Simultaneously, because both AAP and ROSA are Fully Managed Services coordinated by Red Hat and AWS, the entire burden of patching operating systems, configuring network layers, or maintaining infrastructure is significantly reduced for the operations team. Engineers can simply focus on writing Playbooks to configure devices.
To protect the business’s budget, you can fully establish control guardrails (Fences) such as:

