Posts Tagged ‘AWS’
[DevoxxUK2026] From Fleeticide To Recovery: When Your Auto-Scaling Policy Becomes Your Worst Enemy
Lecturer
Stephen Galbraith is a Staff Engineer at Capital One with a focus on Site Reliability Engineering. With over two decades of experience in software development, including Java, financial systems, and cloud-native architectures, he brings practical insights from production environments into resilient system design.
Abstract
Stephen Galbraith examines the precarious dynamics of auto-scaling in containerized environments, particularly when policies intended to enhance availability inadvertently trigger cascading failures. Through a real-world case study involving Spring Boot services on AWS ECS Fargate, the presentation dissects observability shortcomings, introduces software bottleneck monitoring, and advocates for architectural patterns that ensure graceful elasticity.
The Perils of Auto-Scaling and the Phenomenon of Fleeticide
Horizontal scaling promises seamless adaptation to demand, yet in practice, misconfigurations can precipitate “fleeticide”—the rapid termination of an entire task fleet due to cascading overload. In one documented incident, a service experienced sudden latency spikes despite stable CPU and memory metrics. Health checks began failing under load, prompting AWS to remove tasks from service. Remaining instances absorbed redirected traffic, exceeding their capacity and perpetuating the cycle until traffic subsided.
This failure stemmed not from fundamental infrastructure limitations but from unmonitored software constraints within the application. Tomcat thread pools saturated, preventing timely health check responses. The auto-scaling policy, calibrated solely on CPU and memory, failed to detect these internal bottlenecks, transforming a protective mechanism into the primary cause of outage.
Observability Beyond CPU and Memory: Identifying Software Bottlenecks
Traditional monitoring overlooks critical internal resources. Stephen emphasizes the necessity of tracking thread pools, HTTP connection pools, JDBC connections, and other library-level constraints. These “hidden” metrics often govern actual capacity more directly than aggregate CPU utilization.
In the Spring Boot demonstration, default configurations for ForkJoinPool and Apache HttpClient pools imposed strict limits. Under increasing load, these pools saturated independently of CPU or memory, causing queueing and degraded performance. By exposing utilization percentages for each bottleneck via JMX and Micrometer, teams gain visibility into true headroom.
A composite “combined utilization” metric, dimensioned by service name, aggregates these signals. Exported to CloudWatch, it enables alarms and scaling policies responsive to application-specific constraints rather than generic infrastructure signals. This approach reveals anomalies, such as regional database slowdowns impacting one availability zone disproportionately, allowing proactive scaling before customer impact.
Architectural Patterns for Resilient Elasticity and Recovery
Effective scaling requires distinguishing between healthy but resource-constrained services and genuinely unhealthy ones. Health checks merit elevated priority, potentially isolated on separate servlets to avoid contention with customer traffic. Configuration should favor rapid recovery while preventing premature termination during transient saturation.
Little’s Law and Kingman’s approximation provide theoretical foundations for pool sizing, yet production demands empirical validation and conservative buffers. Rather than maximizing individual resources, teams should scale out preemptively, leveraging compute abundance to maintain service levels.
The presentation advocates baking scaling awareness into development workflows. Developers must identify potential bottlenecks during design, instrument them proactively, and incorporate scaling considerations into code reviews. This cultural shift prevents “works on my machine” scenarios from escalating into fleet-wide incidents.
Shadow testing, canary deployments, and comprehensive chaos engineering further validate policies under realistic conditions. When failures occur, post-incident analysis extends beyond root cause to evaluate whether monitoring captured the precipitating constraints.
Conclusion
Stephen Galbraith demonstrates that auto-scaling success hinges on comprehensive observability encompassing software-level bottlenecks alongside traditional metrics. By treating internal resource pools with the same rigor as CPU and memory, organizations can prevent fleeticide and achieve genuine elasticity. The battle-tested checklist includes instrumenting key constraints, implementing composite utilization metrics, configuring intelligent health checks, and fostering scaling-aware development practices. Ultimately, resilient systems emerge not from perfect prediction but from robust detection and graceful response to the inevitable variability of production environments.
Links:
[AWSReInvent2025] Revolutionizing Audi’s Welding Inspection System through AI
Lecturer
Vina Kovvagillis is a Customer Solutions Manager at AWS, where she leads strategic cloud initiatives and serves as the Alliance Manager for the Digital Production Platform (DPP). With a background in complex digital transformations, Vina works at the intersection of manufacturing and cloud technology. Matias Maya is a Manufacturing Planning Expert at Audi AG, bringing over two decades of automotive experience, including 15 years specialized in manufacturing quality and process optimization at Audi. Fabrizio Manfredi is a Principal Cloud Architect at AWS, specializing in large-scale industrial IoT and machine learning deployments. Together, they have spearheaded the development of a groundbreaking AI-driven quality control system that has redefined welding inspection standards across the Volkswagen Group.
Abstract
In modern automotive manufacturing, the integrity of weld points is paramount to vehicle safety and structural longevity. Historically, inspecting these welds has been a labor-intensive, manual process relying on ultrasound technology, which allows for only a fraction of total weld points to be verified. This article details Audi’s transition to an AI-powered welding inspection system, developed in collaboration with AWS. Leveraging Amazon SageMaker, AWS Nitro Enclaves, and a robust industrial IoT backbone, the system now analyzes 1.5 million weld points per shift—a staggering increase from the 5,000 points previously inspected manually. The discussion explores the architectural challenges of extracting data from the shop floor, the implementation of site-specific AI model retraining, and the strategic scaling of this technology across multiple Volkswagen Group sites, including Audi Ingolstadt and Audi Brussels.
Traditional Quality Control and the Imperative for Transformation
For decades, the “gold standard” for welding inspection in the automotive industry involved manual ultrasound testing. At Audi, this process required skilled technicians to manually check a sample of weld points on a vehicle body. Given that a single vehicle can contain thousands of weld points, it was physically impossible to inspect every point on every car. Instead, inspectors would check approximately 5,000 points per vehicle across a shift. While effective for identifying systemic issues, this sampling-based approach left a significant gap in data, as millions of weld points remained unverified.
Matias explains that the complexity of modern vehicle assembly, which involves a mix of materials like aluminum and high-strength steel, makes welding a highly sensitive process. Variations in electrical current, pressure, or electrode wear can lead to “cold welds” or other anomalies. The goal for Audi was not just to improve the speed of inspection, but to achieve 100% transparency—monitoring every single weld point in real-time. This transformation required moving away from physical sampling and toward a data-driven model where the welding process itself provides the clues for quality assessment.
Architecting the AI-Powered Inspection System
The core of Audi’s revolution is an AI system that treats welding parameters as “digital fingerprints.” Every time a welding robot makes a point, it generates a stream of data: current, voltage, pressure, and time. By training machine learning models to recognize the patterns associated with a “perfect” weld versus a defective one, Audi can predict the quality of a weld without ever touching it with an ultrasound probe.
Fabrizio outlines the multi-layered architecture required to support this vision:
- Shop Floor Connectivity: Using an MQTT-based broker and AWS IoT Core, the system captures high-frequency data from thousands of welding controllers. This data must be extracted in near real-time to provide immediate feedback to production staff.
- Edge and Cloud Integration: While the initial data processing happens close to the source to minimize latency, the heavy lifting of model training and management is centralized in the cloud. Audi utilizes Amazon SageMaker Unified Studio to manage the lifecycle of their AI models.
- Secure Execution with Nitro Enclaves: To ensure the integrity of the inspection logic and protect sensitive manufacturing IP, the inference models run within AWS Nitro Enclaves. This provide an isolated compute environment where even the system administrators cannot view the data or the model parameters during execution.
'''# Conceptual representation of a weld quality inference request'''
import boto3
def predict_weld_quality(telemetry_data):
sagemaker_runtime = boto3.client('sagemaker-runtime')
response = sagemaker_runtime.invoke_endpoint(
EndpointName='audi-weld-inspector-v2',
Body=telemetry_data,
ContentType='application/json'
)
return response['Body'].read()
Scaling the Solution: From Pilot to Global Production
One of the most significant challenges in industrial AI is “site-specific variance.” A welding robot in Ingolstadt may behave slightly differently than one in Brussels due to variations in ambient temperature, power supply stability, or even the specific brand of hardware used. Vina emphasizes that a “one-size-fits-all” model is insufficient for manufacturing excellence.
To solve this, Audi developed a scalable retraining pipeline. When the system is deployed to a new plant, it undergoes a “warm-up” phase where AI predictions are correlated with traditional ultrasound results. This data is fed back into SageMaker to fine-tune the model for that specific site’s parameters. This approach has allowed the Volkswagen Group to expand the technology rapidly. Today, the system is operational in multiple sites, including Audi Ingolstadt, Audi Brussels, and VW Emden.
The results are transformative. By monitoring 1.5 million points per shift, Audi has moved from reactive quality checks to proactive process control. If the AI detects a drift in weld quality, maintenance teams can be alerted to change an electrode or adjust a robot’s settings before a single defective part is produced. This has significantly reduced scrap rates and manual rework, leading to substantial cost savings.
Strategic Implications: Advancing through Technology
The welding inspection project is a flagship use case of Audi’s broader “Vorsprung durch Technik” (Advancement through Technology) strategy. It demonstrates how traditional manufacturing can be revitalized by integrating cloud-native technologies. Matias reflects that the success of this project has paved the way for over 450 other AI and data use cases across the Volkswagen Group’s 120+ plants.
Beyond the immediate technical benefits, the project has shifted the role of the human worker. Instead of performing repetitive, physically taxing manual inspections, production staff now act as “orchestrators” of the AI system, focusing their expertise on addressing the anomalies flagged by the machine. This synergy between human intuition and machine precision is the hallmark of the Fourth Industrial Revolution (Industry 4.0).
In conclusion, Audi’s journey with AWS shows that the path to manufacturing excellence lies in data transparency and scalable AI. By turning every weld point into a data point, Audi is not just building cars; they are building an intelligent, self-optimizing production ecosystem that sets a new benchmark for the global automotive industry.
Links:
[AWSReInvent2025] Building at Global Scale: The Engineering Principles of AWS Expansion
Lecturer
AWS Infrastructure Engineering Leadership comprises a cohort of senior principal engineers and software architects dedicated to the physical and logical expansion of the world’s most comprehensive cloud platform. This team is responsible for the transition from manual infrastructure provisioning to fully automated, software-driven regional deployments. Their expertise lies in distributed systems at planetary scale, resilient architectural patterns, and the “static stability” model used to ensure service availability during environmental shifts. While individual names are often synonymous with specific service launches, the collective leadership represents decades of experience in high-availability computing and global logistics automation.
Abstract
The rapid expansion of global cloud infrastructure requires a sophisticated departure from traditional data center management. This article analyzes the evolution of Amazon Web Services (AWS) regional expansion, moving from manual, human-centric processes to an automated, software-engineered methodology. We explore the architectural design patterns that facilitate this growth, focusing specifically on the concept of “static stability” and the implementation of cell-based architectures. The discussion examines the operational culture required to manage projects spanning multiple years and geographies, emphasizing the “escalation culture” that aligns technical challenges with leadership oversight. By investigating the engineering frameworks and testing protocols utilized during region builds, this paper highlights how AWS maintains high security and reliability standards while accelerating the pace of global distribution.
The Evolution of Regional Proliferation: From Manual to Automated
In the nascent stages of cloud computing, the deployment of a new geographic region was a bespoke, labor-intensive endeavor. It involved manual configuration of networking equipment, custom scripts for server provisioning, and human-led verification of security protocols. However, as the demand for localized data residency and lower latency increased, this “artisanal” approach became a bottleneck. The methodology shifted toward “Infrastructure as Code” (IaC) at an unprecedented scale, where an entire region—consisting of multiple Availability Zones (AZs), transit gateways, and thousands of services—is treated as a single, deployable software artifact.
This transition necessitated a fundamental change in testing frameworks. Engineering teams now utilize “digital twins” of regional environments to simulate the deployment process before physical hardware is even unboxed. These simulations verify that the logical dependencies between foundational services—such as Amazon EC2, Amazon S3, and Amazon DynamoDB—are met in the correct sequence. The goal is to create a “blueprint” that can be stamped out across the globe, ensuring that a region in Zurich behaves identically to one in Melbourne, despite differences in local hardware generations or physical constraints.
Static Stability and the Physics of Resilience
A cornerstone of AWS’s global scaling strategy is the principle of “static stability.” In highly distributed systems, the most dangerous moments occur during transitions—scaling up, scaling down, or failing over. A statically stable system is designed to handle failure without needing to change its state or configuration in real-time. For instance, if a network link between two Availability Zones fails, the system should already have the capacity and routing logic in place to ignore the failure, rather than triggering a complex re-convergence protocol that might introduce new bugs.
This architectural pattern is deeply rooted in the “Amazon Builder’s Library” philosophies. By over-provisioning certain critical paths and using “cell-based architectures,” engineers can isolate failures within a small subset of the infrastructure. A “cell” is a complete, independent instance of a service. If a cell fails, it does not impact the rest of the region. Scaling, therefore, becomes a matter of adding more cells rather than making a single cell larger. This modularity is essential for global expansion, as it allows AWS to increase capacity incrementally without increasing the “blast radius” of potential incidents.
// Conceptual illustration of a Cell-Based Deployment Configuration
region_config:
name: "eu-central-2"
architecture: "cell-based"
cells:
- cell_id: "cell-01"
az_distribution: ["az-a", "az-b", "az-c"]
capacity_multiplier: 1.0
- cell_id: "cell-02"
az_distribution: ["az-a", "az-b", "az-c"]
capacity_multiplier: 1.0
static_stability:
overprovision_ratio: 0.2
heartbeat_interval_ms: 500
The Human Element: Escalation Culture and Strategic Alignment
While software automates the deployment, the complexity of global builds requires a robust human operational framework. AWS employs a “healthy escalation culture” as a primary tool for risk management. In many organizations, escalation is viewed as a failure of the local team. At AWS, it is treated as a mechanism for rapid alignment. When an engineer identifies a systemic friction point—such as a recurring delay in hardware delivery or a software bug that prevents regional parity—the culture dictates that leadership must be informed immediately.
This culture ensures that the “builders” (engineers) and the “leaders” (executives) are synchronized on the path forward. Given that regional builds can span years, maintaining this alignment is critical to meeting customer commitments. The escalation process is not about assigning blame; it is about resource allocation and priority shifting. This transparency allows for the prioritization of fixes that have the highest impact on global reliability, ensuring that lessons learned during a build in the United States are immediately applied to a build in Asia.
Future Horizons: Maintaining Reliability at Hyperscale
As AWS continues to expand into ever more diverse geographic and regulatory environments, the engineering challenges evolve. The focus is shifting toward “zero-touch” operations, where the system can self-heal and self-optimize based on real-time telemetry from the global fleet. The integration of advanced AI models into the infrastructure management layer promises to further reduce the time required to bring new regions online while enhancing the predictive maintenance of physical hardware.
Ultimately, the engineering of AWS expansion is a testament to the power of standardized design patterns and rigorous operational discipline. By treating infrastructure as a living software system and prioritizing static stability, AWS has created a framework that allows for massive scale without a corresponding increase in complexity or risk. This methodology provides a blueprint for any organization seeking to build resilient, globally distributed systems that can withstand the unpredictable nature of the physical world.
Links:
[AWSReInvent2025] How Netflix Connects Product Experiments to its AWS Bill
Lecturer
Chris Jantz is a Senior Data Scientist at Netflix, where he has spent over twelve years spearheading initiatives in data science, experimentation, and infrastructure optimization. His work focuses on leveraging large-scale data to drive product innovation while maintaining operational efficiency. Tushar Rao is a Senior Data Engineer at Netflix, specializing in building robust data pipelines and cloud infrastructure that bridge the gap between engineering metrics and business value. Together, Chris and Tushar have developed frameworks that allow one of the world’s largest streaming services to treat cloud costs not as a back-office concern, but as a critical design constraint for product development.
Abstract
In the highly competitive landscape of digital streaming, Netflix relies on a culture of continuous A/B testing to refine its user interface, recommendation algorithms, and content delivery. However, a significant challenge arises when a “winning” experiment—one that improves member engagement—inadvertently triggers a massive increase in cloud infrastructure costs that may outweigh its business value. This article explores the innovative framework developed by Netflix to connect product experiments directly to their AWS bill. By integrating granular infrastructure telemetry with experimental metadata, the organization has shifted from reactive cost management to a proactive model where cost is a primary design constraint. The discussion covers the methodology for identifying experimental impacts on cloud systems, the translation of technical metrics into financial projections, and the democratization of this data to empower decentralized decision-making across engineering teams.
The Culture of Continuous Experimentation and its Financial Shadow
Netflix has long been celebrated for its decentralized, “freedom and responsibility” culture, which empowers individual product teams to innovate rapidly. At the heart of this innovation is a sophisticated A/B testing platform that handles thousands of concurrent experiments. Every change, from the color of a “Play” button to the complexity of a machine learning model for artwork personalization, is subjected to rigorous testing to measure its impact on member retention and satisfaction. While this methodology has been instrumental in Netflix’s global success, it historically operated in a silo separated from the infrastructure costs required to support these changes.
Chris explains that when a product team launches a new feature, they typically focus on “North Star” metrics such as streaming hours or subscription renewals. However, every new feature exerts pressure on the underlying AWS infrastructure. A more accurate recommendation model might require higher compute power (Amazon EC2), or a high-fidelity UI component might increase data transfer costs across the Content Delivery Network (CDN). Without a direct link between the experiment and the AWS bill, the organization often discovered the financial implications of a successful test only after it had been rolled out globally, leading to unexpected surges in infrastructure spend. This “financial shadow” created a disconnect where a product win could potentially result in a net loss for the business.
Bridging the Gap: A Framework for Granular Cost Attribution
To address this challenge, Tushar and the engineering team developed a multi-layered framework designed to attribute infrastructure costs to specific experimental variants. The technical hurdle was significant: standard AWS billing data provides costs at the account or service level, but it does not naturally distinguish between traffic generated by “Cell A” (the control group) and “Cell B” (the experimental group) of an A/B test.
The methodology involves several key stages:
- Metadata Injection: Every request within the Netflix ecosystem is tagged with experimental metadata. This ensures that as a user interacts with the service, the logs generated by various microservices—whether they are calling a database, a cache, or a compute cluster—carry the identity of the specific test cell.
- Telemetry Aggregation: Using Amazon EMR and Apache Spark, Netflix aggregates these logs at massive scale. They correlate the experimental tags with resource utilization metrics, such as CPU cycles, memory usage, and I/O operations.
- Cost Translation: The team applies the specific AWS pricing models (Reserved Instances, Savings Plans, and On-Demand rates) to the utilization data. This allows them to calculate a “delta cost”—the difference in infrastructure spend between the control and the experimental groups.
{
"experiment_id": "exp_ui_revamp_2025",
"cell": "variant_b_high_res",
"metrics": {
"compute_utilization_ms": 4500,
"data_transfer_gb": 0.015,
"database_queries": 12
},
"projected_cost_per_user_annually": 0.12
}
By quantifying these metrics, Chris notes that teams can now see exactly how much an experimental change “costs” per member. This level of granularity transforms an abstract infrastructure bill into a tangible product metric.
From Reactive to Proactive: Cost as a Design Constraint
The ultimate goal of this framework is to move away from “policing” cloud spend and toward a culture where cost awareness is baked into the design process. Tushar emphasizes that once the data is available, it must be democratized. Netflix integrates these cost projections directly into its internal experimentation dashboard. When a product manager views the results of a test, they see not only the increase in user engagement but also the projected annual impact on the AWS bill if the feature is rolled out to the entire 280+ million member base.
This transparency allows for more nuanced trade-offs. For example, a new feature might increase engagement by 0.5% but also increase infrastructure costs by $10 million annually. Conversely, an engineering optimization might reduce engagement by a statistically insignificant amount while saving $20 million. In the past, the latter might have been viewed as a failure; today, it is recognized as a strategic efficiency gain.
Furthermore, this framework enables “early-warning” systems. If an experiment in its initial rollout phase (e.g., to 1% of users) shows a disproportionate spike in costs, the system can alert the owners before the test scales further. This proactive approach prevents the “surprise bill” phenomenon and encourages engineers to optimize their code and architecture during the development phase rather than as a post-hoc fix.
Conclusion: Balancing Innovation and Efficiency at Scale
The integration of product experiments with AWS billing represents a maturation of the DevOps and FinOps philosophies at Netflix. By treating cost as a primary design constraint, the company has successfully balanced its relentless drive for innovation with the economic realities of operating at extreme scale. Chris concludes that the value of this system lies not just in saving money, but in enabling smarter, faster decisions. When teams understand the full “all-in” cost of their decisions, they are empowered to build better, more efficient products that deliver maximum value to both the member and the business. This framework serves as a blueprint for any large-scale enterprise seeking to align its engineering velocity with its financial objectives in a cloud-native world.
Links:
[AWSReInvent2025] The Physics of Scaling: Advanced Methodologies for Large-Scale AI Training on AWS
Lecturer
Tomori is a Senior Specialist Solutions Architect at Amazon Web Services (AWS), specializing in high-performance computing (HPC) and distributed machine learning. Tomori’s research and professional focus center on the “physics” of training—optimizing the interaction between silicon, networking fabrics, and software frameworks to enable the training of models with trillions of parameters.
Abstract
Training state-of-the-art AI models has become a monumental engineering challenge that requires the precise orchestration of massive compute clusters. This article explores the technical foundations of training high-performing AI models at scale using AWS’s purpose-built infrastructure. It provides an in-depth analysis of Amazon SageMaker HyperPod and its role in distributed training, covering essential techniques such as data and model parallelism. The discussion highlights the shift from managed APIs to Kubernetes-based orchestration (EKS) and Slurm for high-performance job scheduling. Key innovations in automated model tuning, observability through Prometheus and Grafana, and efficient checkpoint management are detailed, showing how these strategies can reduce training time by up to 40% while optimizing costs for the next generation of foundation models.
Scaling Challenges in the Era of Foundation Models
The shift toward foundation models has fundamentally changed the requirements for AI training infrastructure. When a model’s memory footprint exceeds the capacity of a single GPU, developers must move beyond simple training scripts to sophisticated distributed systems. The challenges are three-fold: compute intensity, memory constraints, and networking bottlenecks.
At scale, the “efficiency of the cluster” becomes the primary metric. Organizations must navigate the trade-offs between different types of parallelism—Data Parallelism, where the dataset is split across nodes, and Model Parallelism (including Pipeline and Tensor parallelism), where the model itself is distributed. AWS addresses these challenges by providing a specialized infrastructure layer, specifically through P5 instances powered by NVIDIA H100 GPUs and high-bandwidth Elastic Fabric Adapter (EFA) networking. This hardware foundation is critical for maintaining the high-speed communication necessary for synchronization during the backward pass of training.
Orchestration Choice: Kubernetes vs. Slurm
A critical decision for any organization training at scale is the choice of orchestrator. AWS offers two primary paths for managing SageMaker HyperPod clusters, each catering to different operational philosophies.
- Kubernetes (Amazon EKS): This is often the preferred choice for organizations that have adopted a cloud-native DevOps culture. Kubernetes provides a robust API for managing containers, and when integrated with SageMaker HyperPod, it allows for the orchestration of ML training jobs alongside other microservices. This path benefits from a rich ecosystem of observability tools like Prometheus and Grafana.
- Slurm: Traditionally used in high-performance computing (HPC) environments, Slurm is a highly efficient job scheduler designed for massive, tightly coupled workloads. Organizations coming from research backgrounds or those requiring the absolute lowest overhead often choose Slurm.
Regardless of the orchestrator, SageMaker HyperPod provides the underlying “resiliency layer,” which includes automated node health monitoring and the ability to replace failing instances without human intervention. This ensures that the long-running training “epochs” are not disrupted by hardware variability.
Parallelism Strategies and Performance Optimization
Achieving a 40% reduction in training time requires more than just more GPUs; it requires optimized parallelism strategies. The discussion centers on three primary methodologies:
- Data Parallelism: The most common approach, where each GPU processes a different batch of data and gradients are synchronized.
- Tensor Parallelism: Splitting individual layers across multiple GPUs to handle extremely wide layers.
- Pipeline Parallelism: Dividing the model into stages and processing them in a “pipeline” fashion to maximize GPU utilization.
SageMaker’s distributed training libraries automate much of this complexity. By injecting “sharding” logic into the training script, these libraries allow developers to scale their models with minimal code changes. Furthermore, the use of automated model tuning—which systematically explores the hyperparameter space—ensures that the resulting model reaches its peak performance without manual “trial and error.”
Code Sample: Configuring Model Parallelism in SageMaker
from sagemaker.pytorch import PyTorch
'''
Configuration for SageMaker Model Parallelism (SMP)
'''
smp_options = {
"enabled": True,
"parameters": {
"pipeline_parallel_degree": 2,
"tensor_parallel_degree": 4,
"optimize": "speed",
"ddp": True
}
}
'''
Training job configuration using HyperPod
'''
estimator = PyTorch(
entry_point='train_llm.py',
instance_type='ml.p5.48xlarge',
instance_count=16, # Scaling to 128 GPUs
distribution={"smdistributed": {"modelparallel": smp_options}},
role=sagemaker.get_execution_role(),
framework_version='2.1'
)
estimator.fit()
Observability and Fault Tolerance
In a cluster of hundreds of GPUs, “observability” is not a luxury—it is a requirement. Tomori emphasizes the importance of a centralized observability stack using Prometheus and Grafana. These tools allow engineers to monitor GPU utilization, memory pressure, and network throughput in real time. If a node begins to underperform or “throttles” due to heat, the observability stack provides the alerts necessary for proactive management.
Coupled with observability is the concept of efficient checkpoint management. By utilizing high-performance storage like Amazon FSx for Lustre, SageMaker HyperPod can save model “weights” and optimizer states rapidly. In the event of a failure, the system can reload the most recent checkpoint and resume training within minutes. This “resilient training” loop is what enables the massive foundation models of today to be trained in weeks rather than months.
Conclusion
Training high-performing AI models at scale is as much an infrastructure challenge as it is an algorithmic one. Through the integration of SageMaker HyperPod, optimized parallelism libraries, and robust orchestration via EKS or Slurm, AWS has created an environment where “the physics of scaling” can be mastered. By reducing training times and automating resiliency, these tools empower organizations to push the boundaries of what is possible, turning the promise of trillion-parameter models into a repeatable, cost-effective reality.
Links:
[AWSReInvent2025] Governing the Intelligent Enterprise: Orchestrating and Securing AI Agents with Boomi Agentstudio
Lecturer
Chris Hollik is the General Manager of AI and Platform at Boomi. A veteran in the integration and automation space, Chris has been a driving force behind Boomi’s expansion into the AI agent market. He is a proponent of “agentic workflows,” arguing that the true ROI of AI comes not from individual chatbots, but from integrated, governed processes that span multiple enterprise systems.
Thomas Benjamin serves as the Senior Vice President of Engineering at Boomi. Thomas leads the technical development of Boomi’s AI-first platform, including the Agentstudio and Agent Control Tower. His focus is on architecting high-availability, multi-tenant systems that integrate with leading AI services like Amazon Bedrock to provide enterprise-grade security and observability for autonomous agents.
Abstract
The rapid proliferation of AI agents within the enterprise—a phenomenon known as “agent sprawl”—presents a significant challenge for modern IT organizations. As departments independently deploy agents from various vendors (e.g., Salesforce, Microsoft, OpenAI), the need for a centralized governance and orchestration layer becomes paramount. This article explores the Boomi Agentstudio and its integration with Amazon Bedrock, demonstrating how organizations can build and manage “agentic workflows.” These workflows connect multiple business systems—such as SAP, Oracle, and Salesforce—to execute complex tasks like manual journal entry reconciliation or regulatory compliance in pharma. Key to this strategy is the Boomi Agent Control Tower, which provides a unified interface for discovering, governing, and auditing agents in a multi-vendor environment, ensuring that the promise of hyperproductivity is matched by rigorous operational control.
The Imperative for AI Agent Governance
The “agentic revolution” is no longer a future concept; it is happening today at extreme scale. Boomi already has over 12,000 agents in production, with that number growing rapidly as organizations seek to unlock “hyperproductivity.” However, this rapid adoption has led to a critical problem: agent sprawl. Organizations find themselves in a multi-agent world where different departments use disparate tools from Anthropic, OpenAI, ServiceNow, and others.
Without a platform, this fragmented approach is unsustainable. An MIT study recently suggested that the potential for “shadow AI”—where agents operate outside the view of IT—could lead to significant security, compliance, and cost issues. For high-stakes industries like finance or pharmaceuticals, where auditors require immutable audit trails, the “black box” nature of ungoverned agents is a non-starter. The core question for the enterprise is: How do we become “enterprise class” in our AI strategy while still innovating at speed?
Boomi Agentstudio: Orchestrating the Multi-Agent Ecosystem
Boomi Agentstudio addresses these challenges by providing a dedicated environment for building and orchestrating AI agents. It is not merely a tool for creating single agents, but a platform for designing complex, multi-system workflows. Integrated with Amazon Bedrock and Q Business, Agentstudio allows users to leverage the best-of-breed foundation models while grounding them in the specific business context of their organization.
One of the platform’s unique strengths is its ability to stitch together master data from multiple applications—such as Salesforce, ServiceNow, Shopify, and SAP—to provide agents with the information they need to execute. This “connectivity tissue” ensures that an agent isn’t just generating text, but is actually performing actions like updating a downstream schema or moving data in a specific serialization format to prevent integration failure.
The system is built on open standards, being Open Telemetry compliant and contributing to protocols like the Model Context Protocol (MCP) and Agent-to-Agent (A2A). This openness ensures that as the AI landscape evolves, the Boomi platform remains compatible with any OTEL-compliant observability platform.
The Technical Foundation: Integration and Automation for AI
The effectiveness of an AI agent is fundamentally limited by the systems it can access and the data it can interpret. This is why Boomi’s heritage in Integration Platform as a Service (iPaaS) is so relevant. Integration provides the “common language” for systems to talk to each other, but it is automation that makes those processes work successfully at scale.
Boomi leverages a range of AWS services to operate at “four nines” (99.99%) of availability, including Amazon ECS, EKS, Fargate, and SQS. This infrastructure allows the platform to handle the intense computational and data-movement demands of real-time AI agents. For example, when a command is issued from the Control Tower to stop an agent, it is passed through SQS to a Lambda function that interacts directly with the Amazon Bedrock agent running in the customer’s VPC. This level of deep architectural integration ensures real-time feedback and control.
Code Sample: Agent Governance Call (Pseudo-code for Control Tower API)
{
"command": "SUSPEND_AGENT",
"agent_id": "FINANCE_RECON_AGENT_01",
"reason": "Regulatory Audit in Progress",
"governance_policy": {
"stop_method": "GRACEFUL",
"notify_admin": true,
"log_level": "VERBOSE",
"audit_persistence": "S3_IMMUTABLE_LOG"
},
"target_environment": {
"cloud_provider": "AWS",
"service": "Amazon Bedrock",
"vpc_endpoint": "vpce-0a1b2c3d4e5f6g7h8"
}
}
Agent Control Tower: Ensuring Auditability and Compliance
The Agent Control Tower is the “brain” of the Boomi AI ecosystem. It allows IT leaders to discover every agent running in their organization, regardless of the vendor or framework (such as LangGraph). It serves as a centralized policy enforcement point where security and operational rules are applied.
Key features of the Control Tower include:
- Discovery and Inventory: Seeing the “sprawl” in real time and bringing shadow agents under management.
- Operational Control: The ability to start, stop, or pause agents from a single dashboard.
- Immutable Audit Trails: Capturing every reasoning step and action taken by an agent. This is crucial for demonstrating to auditors how a specific financial decision or pharmaceutical report was generated.
- ROI Dashboarding: Tracking the performance and value delivery of agents to justify investment and prioritize further innovation.
Real-World Applications: From Finance to Pharma
The practical application of governed agents is vast. In the pharmaceutical industry, Boomi agents are used to manage complex regulatory workflows, ensuring that every step of a drug-approval process is documented and compliant. In finance, agents automate the “order to cash” or “hire to retire” processes, examining thousands of records in seconds to find discrepancies that would take a human days to uncover.
By providing a platform that handles the “boring” but essential tasks of governance, security, and integration, Boomi enables organizations to focus on the “interesting” part: innovating at speed. This approach ensures that AI is not just a experimental toy, but a reliable, enterprise-grade component of the modern business fabric.
Conclusion
As enterprises move from AI experimentation to full-scale production, the focus must shift from the capabilities of individual models to the governance of entire agentic ecosystems. The Boomi Agentstudio, supported by the scalability of AWS and the robust control of the Agent Control Tower, provides the necessary framework for this transition. By centralizing management in a multi-vendor world, Boomi ensures that organizations can harness the power of AI while maintaining the security and auditability required by the modern regulatory landscape.
Links:
[AWSReInvent2025] From Legacy EC2 to Modern EKS: The Tipalti Transformation to Windows Containers
Lecturer
Aiden is a Senior Solutions Architect at AWS, focusing on the modernization of Windows workloads and high-availability container strategies. He has extensive experience helping fintech enterprises transition away from legacy virtualization models. Maya Morv Freeman is an AWS Technical Account Manager who serves as a primary advisor to Tipalti on cloud governance and architectural excellence. Denny Teller is the Lead DevOps Architect at Tipalti, where he oversees the global infrastructure for the company’s payment automation platform. Denny is a pioneer in implementing GitOps and containerization for complex, regulated Windows environments.
Abstract
For many growing enterprises, legacy Windows applications are “constrained” by the scaling limitations and high operational overhead associated with traditional virtual machines. This article examines Tipalti’s successful migration from a monolithic Amazon EC2-based architecture to a highly scalable, containerized solution on Amazon Elastic Kubernetes Service (EKS). The methodology focuses on the implementation of Windows Containers, which allowed Tipalti to achieve a 50% performance improvement while enabling the adoption of advanced auto-scaling and GitOps workflows. The analysis explores the technical challenges of managing process-heavy Windows workloads, the integration of custom logging and monitoring solutions, and the shift toward an immutable infrastructure model. This transformation has provided Tipalti with a resilient foundation for continuous modernization in the competitive fintech market.
The Evolution of Compute: Overcoming the Limitations of Virtualization
The history of enterprise Windows computing has long been defined by an inefficient “one app per server” model, which often led to significant hardware waste and high management costs. While the introduction of hypervisors and virtual machines improved hardware utilization, these systems still carried the heavy overhead of running multiple full operating system instances for every application. Tipalti recognized that to support their rapid global expansion, they needed to move beyond the constraints of traditional Amazon EC2 instances.
The transition to Windows Containers represents the next critical phase in this evolution. Unlike virtual machines, containers share the host’s kernel, which drastically reduces the resource footprint and allows for much higher density on underlying hardware. This efficiency is paired with improved portability, ensuring that the application environment remains identical from a developer’s local machine to the production EKS cluster. For a fintech company like Tipalti, the most vital benefit of this shift is agility; containers can be spun up or down in seconds, allowing the infrastructure to respond instantly to the volatile traffic patterns inherent in global payment processing.
Methodology: Modernizing the Fintech Infrastructure
Tipalti’s transformation followed a rigorous technical roadmap that sought to move their infrastructure from a “legacy” state of manual server management to a “modern” state of automated orchestration. A central component of this strategy was the use of Amazon EKS for Windows, which allowed the team to manage both Linux and Windows workloads through a unified Kubernetes control plane. This eliminated the need for separate management tools and simplified the overall operational landscape.
The implementation methodology addressed several specific Windows-related challenges. Because many of Tipalti’s legacy applications were not originally designed for the ephemeral nature of containers, the team had to implement sophisticated process management techniques. Furthermore, the adoption of GitOps workflows ensured that the entire infrastructure could be managed as code. In this model, every change to the environment is tracked in a version control system and automatically deployed to the cluster, providing a clear audit trail and reducing the risk of human error. To ensure complete visibility, the team also developed custom logging and monitoring solutions tailored to the telemetry requirements of Windows containers, ensuring that the DevOps team could maintain high availability even during rapid deployment cycles.
Technical Analysis of Performance and Scalability Gains
The move to a containerized EKS environment delivered immediate and measurable technical advantages for Tipalti. One of the most significant outcomes was a documented 50% performance improvement for core payment processing services. This gain was achieved through more efficient resource allocation and the ability to leverage Kubernetes’ native auto-scaling capabilities, which ensure that compute power is always perfectly matched to the current workload.
Operational simplicity also improved as the team moved away from the administrative burden of patching and maintaining hundreds of individual EC2 instances. By using container images, Tipalti shifted toward an immutable infrastructure model, where updates are performed by replacing containers rather than modifying them in place. This has resulted in better “bin-packing,” where more applications are packed onto fewer EC2 nodes, leading to substantial cost savings without compromising on throughput or reliability. A technical hurdle overcome during this process involved managing legacy Windows behaviors that expected persistent file systems; this was resolved by integrating modern Container Storage Interface (CSI) drivers that provide persistent storage to ephemeral containers.
Consequences: Establishing a Foundation for Continuous Innovation
For Tipalti, the successful implementation of Windows containers was not viewed as a final destination but rather as the essential foundation for continuous modernization. By adopting Kubernetes, the organization has unlocked several strategic advantages. They are now able to implement the most modern DevOps practices and tools, which are natively designed for containerized ecosystems. This has significantly accelerated their release cycles and improved the overall quality of their software.
Furthermore, the new infrastructure is inherently more resilient. The automated health checks and self-healing properties of Amazon EKS ensure that the global payment system remains available 24/7, even in the event of hardware failure. Most importantly, the platform is now “future-ready.” Having a containerized environment makes it far easier to integrate advanced cloud-native services, such as AI-driven fraud detection or serverless functions, which would have been prohibitively difficult to implement in the previous VM-based architecture. Tipalti’s journey demonstrates that modernizing the compute layer is the primary enabler for broader business innovation.
Conclusion
The journey of Tipalti from Amazon EC2 to Amazon EKS provides a definitive roadmap for any enterprise seeking to modernize legacy Windows applications. By embracing the efficiency of Windows containers and the power of Kubernetes orchestration, Tipalti has transformed a traditionally rigid system into a high-performance engine for global fintech growth. Their experience highlights that successful modernization requires a combination of strategic technical decisions, a commitment to DevOps excellence, and a focus on long-term scalability. This transformation proves that even the most “constrained” legacy applications can be revitalized to meet the demands of the modern digital economy.
Links:
[AWSReInvent2025] Control Humanoid Robots and Drones with Voice and Agentic AI
Lecturer
Hang Celia is a developer advocate at Amazon Web Services (AWS) based in Hong Kong, specializing in AI and robotics integrations. Saras Wang is a senior AWS Hero from Hong Kong, actively contributing to social media platforms and community discussions on cloud technologies.
Abstract
This article investigates the integration of voice control with agentic AI for managing humanoid robots, robot dogs, and drones, drawing from a collaborative project with the Hong Kong Institute of Information Technology (HKIIT). It examines the architecture for low-latency command processing, intent recognition, and responsive behaviors, while analyzing methodologies for handling continuous speech and multi-robot coordination, along with their broader implications for real-world applications.
Overview of Agentic AI and Its Future Predictions
Agentic AI marks a significant advancement in the field of artificial intelligence, shifting from passive response systems to proactive entities capable of independent planning, decision-making, and execution of complex tasks in dynamic settings. Hang Celia sets the stage by drawing on insights from leading investment analyses, which project a profound impact on various industries. For example, Goldman Sachs anticipates that by 2027, agentic AI could automate as much as 25% of routine work activities, thereby reshaping labor markets and boosting productivity across sectors. Similarly, McKinsey’s projections suggest that by 2030, this technology might account for 30% of current work hours, highlighting its potential to revolutionize operational efficiencies, especially in areas demanding real-time adaptability such as automated systems and robotics.
Building on these forecasts, agentic AI extends beyond traditional large language models by incorporating advanced capabilities like logical reasoning, external tool integration, and iterative problem-solving over multiple stages. Hang illustrates this evolution through practical demonstrations, where an agent might receive a natural language command, break it down into actionable components, query external resources via APIs, and refine its approach based on ongoing feedback. This stands in stark contrast to earlier AI paradigms, which were largely reactive and limited to single-turn interactions, and instead positions agentic systems as versatile facilitators for sophisticated human-machine collaborations, particularly in controlling physical devices like robots.
The underlying methodology for deploying agentic AI in such contexts relies heavily on cloud-based services, with AWS offerings like Amazon Bedrock providing the orchestration layer that enables seamless access to knowledge repositories and function executions. This not only facilitates rapid prototyping but also ensures that the systems can scale to handle diverse inputs and outputs. Consequently, the implications are far-reaching, as agentic AI holds the promise of making advanced robotic controls more intuitive and widespread, extending their utility from specialized research environments to everyday applications in homes, offices, and industrial facilities.
Architecture for Voice-Controlled Robotics
The architectural design of the voice-controlled robotics system is engineered to support seamless and natural interactions, combining speech processing, natural language comprehension, and agentic execution to achieve responses with minimal delay and maximal accuracy. Saras Wang provides a detailed walkthrough of the system’s structure, which harnesses a suite of AWS services to transform spoken commands into precise directives for a variety of robots, including humanoids, quadruped models, and aerial drones. At its core, the setup begins with Amazon Transcribe, which converts audio streams into text in real time, enabling the system to interpret ongoing conversations without requiring artificial pauses or structured phrasing.
From there, the processed text feeds into Amazon Bedrock, where intent detection occurs, identifying the user’s objectives and mapping them to specific robot functions. This integration allows for flexible handling of commands, such as directing a humanoid to perform a gesture while simultaneously instructing a drone to adjust its position. Saras emphasizes the importance of WebSockets in maintaining bidirectional communication channels, which facilitate not only command issuance but also feedback loops from the robots, ensuring that the system can adapt to changing conditions or confirm task completions.
In terms of methodology, the approach prioritizes optimization for diverse environments, incorporating noise-reduction algorithms to filter out background interference and edge computing elements to minimize latency in transmission. Challenges like varying accents or ambiguous phrasing are addressed through machine learning models trained on extensive datasets, which refine recognition over time. Overall, this architecture enhances usability by making robotic control as intuitive as everyday speech, while its modular design supports expansions to new device types or additional functionalities without overhauling the core framework.
Multi-Robot Coordination and Parallel Execution
Coordinating actions across multiple robots introduces layers of complexity in terms of synchronization and resource allocation, yet the project demonstrates effective solutions through strategic function calling and API optimizations that enable simultaneous operations. Hang elaborates on how agentic AI can trigger parallel invocations, allowing a single voice command to engage several devices without sequential bottlenecks. For instance, a directive to have all robots rotate could be decomposed, with the agent assigning unique tasks to each unit—perhaps turning one left, another right, and a third forward—while ensuring no conflicts in shared spaces.
Saras offers practical code insights to illustrate this parallelism:
import concurrent.futures
def control_robot(robot_id, action):
'''# API call to robot'''
response = robot_api.execute(robot_id, action)
return response
with concurrent.futures.ThreadPoolExecutor() as executor:
future1 = executor.submit(control_robot, 'robot1', 'turn_left')
future2 = executor.submit(control_robot, 'robot2', 'move_forward')
results = [future1.result(), future2.result()]
This code leverages threading to execute commands concurrently, significantly reducing overall response times. The methodology involves designing robot APIs to support asynchronous calls, with AWS Lambda or similar services handling orchestration to distribute loads evenly. In real-world contexts, this prevents overloads during high-demand scenarios, such as coordinated search operations with drones and ground robots.
The implications for scalability are substantial, as this framework can extend to fleets of dozens or hundreds of units, applicable in logistics warehouses or disaster response teams. By prioritizing parallel processing, the system not only improves efficiency but also enhances reliability, as failures in one robot do not halt the entire operation.
Challenges, Innovations, and Real-World Implications
While the fusion of voice interfaces with agentic AI offers immense promise, it also surfaces obstacles like debugging intricate integrations and managing network dependencies, which the project overcomes through iterative innovations and tool leveraging. Saras reflects on initial hurdles: early attempts avoided frameworks for perceived simplicity, but this led to unresolved issues in error handling and scalability. Transitioning to structured frameworks, such as AWS CLI for API conversions, resolved these, underscoring the importance of utilizing pre-existing solutions to address common pitfalls without reinventing foundational elements.
Innovations include adapting request-response APIs to streaming formats for continuous dialogues, facilitated by Amazon Q’s automation capabilities. Hang notes experiments with digital humans, where APIs process multilingual documentation—such as simplified Chinese sources—via AI-driven implementations, broadening accessibility.
Broader real-world implications span from educational tools, where students command robots intuitively, to assistive technologies for the elderly, enhancing independence. Future enhancements might include office automation, where voice directives control devices seamlessly, transforming how humans interact with intelligent systems in daily life.
Conclusion
The HKIIT-AWS collaboration vividly demonstrates how agentic AI and voice control can elevate robotics to new levels of practicality and engagement. By tackling coordination challenges and harnessing AWS infrastructure, it establishes a foundation for innovative applications that bridge the gap between human intent and machine action.
Links:
- https://www.youtube.com/watch?v=ZKqV1Ok-2-c
[AWSReInvent2025] Optimizing AWS Costs: Developer-Centric Tools and Methodologies
Lecturer
Kenneth Walsh is a Senior Technical Evangelist at AWS, specializing in cloud financial management (FinOps) and developer productivity. With a background in software engineering and systems architecture, Kenneth focuses on empowering developers to treat “cost as a first-class citizen” in the software development lifecycle. Stacy McOwan is an AWS Developer Advocate who bridges the gap between high-level architectural decisions and day-to-day coding practices. Stacy is a frequent speaker on serverless efficiency and the application of AI to infrastructure management. Together, they provide a pragmatic guide for developers to identify inefficiencies and automate cost optimization using native AWS tools.
Abstract
For the modern cloud developer, the responsibility for system performance and reliability has expanded to include cost efficiency. As cloud environments scale, manual cost management becomes unsustainable, necessitating the adoption of automated, developer-led optimization practices. This article examines the tools and techniques available on AWS to reduce cloud spend without compromising performance. We delve into the use of Amazon Q Developer for AI-powered architectural recommendations and the Kiro CLI for identifying “low-hanging fruit” in resource utilization. The discussion highlights the transition from reactive cost analysis to a “cost-aware” development culture, where optimization is integrated into the CI/CD pipeline. Through the lens of compute, serverless, and observability, this article provides a blueprint for building fiscally responsible applications that maximize the value of every cloud dollar.
The Shift Toward Cost-Aware Development
Historically, cost management was the domain of the finance department or the infrastructure team. However, in a cloud-native world, the code written by a developer directly impacts the AWS bill. A poorly optimized database query or an oversized Lambda function can lead to significant unnecessary expenditure. Kenneth introduces the concept of “cost as a design constraint,” similar to security or latency. When developers are empowered with the right data, they can make informed trade-offs early in the design phase.
Stacy notes that the primary barrier to optimization is often “visibility and friction.” If finding an expensive resource requires navigating dozens of dashboards, it won’t happen. The goal is to bring cost data into the developer’s natural environment—the IDE and the command line. By making optimization a “feature” of the development process, organizations can foster a culture where efficiency is celebrated and waste is proactively eliminated.
AI-Driven Optimization with Amazon Q Developer
One of the most significant innovations in cloud management is the integration of Generative AI into the optimization workflow. Amazon Q Developer serves as a specialized AI assistant that can analyze a developer’s infrastructure and suggest specific, actionable changes. Kenneth demonstrates how Amazon Q can be used to “right-size” instances by analyzing historical CPU and memory usage patterns.
Beyond simple resource sizing, Amazon Q can provide architectural guidance. For example, it might suggest moving a synchronous process to an asynchronous, event-driven model using Amazon SQS to reduce the “idle time” of compute resources. This level of insight allows developers to not just “pay less for what they have” but to “build better systems that cost less by design.”
'''# Example of using AWS SDK to query for cost-optimization recommendations'''
import boto3
client = boto3.client('support')
def get_cost_recommendations():
response = client.describe_trusted_advisor_check_summaries(
checkIds=['eW927uS9S'] # Example ID for Cost Optimization checks
)
for summary in response['summaries']:
print(f"Check: {summary['name']}, Potential Savings: {summary['hasFindings']}")
get_cost_recommendations()
The Kiro CLI: Automating the Identification of Waste
While AI provides high-level guidance, developers often need tactical tools to find specific instances of waste. The Kiro CLI (Cloud Intelligence Reports) is an open-source tool that allows developers to run “cost audits” directly from their terminal. Stacy explains that Kiro can identify “orphaned” resources—such as unattached EBS volumes, old snapshots, or elastic IPs that are not associated with an instance—which are often the biggest contributors to “invisible” cloud spend.
The power of Kiro lies in its ability to be integrated into automation. By running Kiro as part of a weekly “clean-up” script or as a pre-deployment check, teams can ensure that their environments don’t accumulate technical and financial debt over time. Kenneth emphasizes that “low-hanging fruit” optimization—cleaning up what you aren’t using—should be the first step for any organization looking to reduce its cloud bill.
Serverless and Observability: Efficiency in Action
Serverless technologies like AWS Lambda are inherently cost-efficient because they follow a “pay-for-value” model. However, Stacy warns that even serverless can be wasteful if misconfigured. “Lambda Power Tuning” is a methodology where developers test different memory configurations to find the optimal balance between execution speed and cost. Since Lambda charges based on GB-seconds, doubling the memory can sometimes reduce the cost if it cuts the execution time by more than half.
Observability is another area where costs can spiral. Logging everything at “DEBUG” level in production creates massive CloudWatch bills. The lecturers advocate for “intelligent logging,” where detailed logs are only captured during incidents or for a small percentage of transactions. By using Amazon CloudWatch Logs Insights to analyze logging patterns, developers can identify which log groups are generating the most cost and adjust their retention policies accordingly.
Conclusion: Building a Sustainable Cloud Practice
Cost optimization is not a one-time event; it is a continuous practice that requires the right tools, data, and mindset. Kenneth and Stacy conclude that by leveraging AI assistants like Amazon Q and automation tools like the Kiro CLI, developers can take ownership of their cloud spend without it becoming a burden. The ultimate goal is to build applications that are not just technically sound but also economically sustainable. When cost optimization becomes an integral part of the developer workflow, the focus shifts from “cutting costs” to “optimizing value,” enabling the organization to reinvest those savings into further innovation and growth.
Links:
[AWSReInvent2025] The Next Frontier in Financial Systems: Architecting Transformer-based Foundation Models for Real-Time Payments
Lecturer
Sudeep Kalindi is a Principal Solution Architect at Amazon Web Services (AWS), where he focuses on building scalable AI and machine learning solutions for the global financial services industry. With a deep expertise in high-frequency transaction systems and cloud infrastructure, Sudeep advises major financial institutions on modernizing their fraud detection and personalization engines using advanced neural network architectures.
Pahal Patangia is the Global Head of Business for the Payments Industry at NVIDIA. He has spent nearly five years at NVIDIA accelerating the adoption of AI and accelerated computing within the payments ecosystem. Pahal works closely with banks, fintechs, and payment processors to deploy large-scale foundation models that transform transactional data into real-time business value.
Abstract
As digital transactions explode in volume and complexity, traditional rule-based and machine learning models are reaching their limits in combating sophisticated fraud and providing personalized customer experiences. This article examines the emergence of transformer-based foundation models as the “next frontier” for financial systems. Unlike prior models that treated transactions as isolated events, transformers excel at capturing long-term dependencies and sequential patterns in tabular transactional data. The discussion details the technical advantages of “attention” mechanisms in finance, the role of NVIDIA’s accelerated computing in training these massive models, and the deployment strategies on AWS that enable real-time inference. By integrating tabular foundation models with Graph Neural Networks (GNNs), financial institutions can achieve unprecedented accuracy in fraud detection and customer behavioral analysis.
The Evolution of Payment Systems: Beyond Rule-Based Models
The world of digital transactions has undergone a massive expansion, with billions of events flowing through systems daily via credit cards, QR codes, contactless payments, and cross-border transfers. This explosion in volume has been matched by an increase in the complexity of financial crime. Fraudsters now leverage generative AI and chatbots to simulate synthetic identities and execute complex, multi-stage attacks.
Historically, payment systems relied on rules-based engines or traditional machine learning models (such as Gradient Boosted Trees) that analyzed data in a “flat” or non-sequential manner. While effective for basic anomalies, these systems often fail to resolve the deep contextual history of a customer. They may miss the subtle shift in behavior that signals a compromised account because they lack the “memory” to connect transactions across long periods. The industry’s challenge is to find a middle way: leveraging the cutting-edge innovation of deep learning while maintaining the explainability and governance required by global financial regulators.
Transformers for Tabular and Sequential Financial Data
The primary innovation discussed is the application of the transformer architecture—originally designed for Natural Language Processing (NLP)—to tabular financial data. Transformers introduce the “attention” mechanism, which allows a model to weigh the importance of different parts of a transaction sequence differently.
In a financial context, this means the model can distinguish between a user’s stable, long-term habits and their recent, potentially anomalous interests. For instance, if a customer who has lived in the same city for ten years suddenly makes a high-value purchase in a foreign country, a transformer can analyze the sequence leading up to that event—looking for “warm-up” transactions or patterns indicative of travel—rather than just flagging the high dollar amount.
Key technical advantages include:
- Contextual Understanding: Transformers treat the entire transaction history of an entity (customer, merchant, or card) as a sequence, similar to a sentence in a language model.
- Solving Vanishing Gradients: Unlike Recurrent Neural Networks (RNNs), transformers can capture long-range dependencies without the performance degradation typically associated with long sequences.
- Multi-Modal Integration: They can blend different data “worlds”—such as event logs, clickstream data, and structured transaction records—into a single global embedding that provides a 360-degree view of an entity.
NVIDIA Accelerated Computing in Financial AI Factories
The training and deployment of these large-scale foundation models require immense computational power, a concept referred to as the “AI Factory.” NVIDIA’s accelerated computing platform is the engine behind these factories, providing the necessary throughput for processing millions of transactions in real time.
NVIDIA’s contribution extends beyond hardware (GPUs like the H100 and Blackwell) to specialized software frameworks. For example, the use of the NVIDIA AI Enterprise suite on AWS allows for efficient tuning and scaling of these models. Furthermore, the integration of Graph Neural Networks (GNNs) with transformers allows systems to not only understand the sequence of transactions but also the relationships between different entities (e.g., shared IP addresses or common merchants among fraudulent accounts). This combined approach enables “pattern mining” at a scale previously thought impossible.
Code Sample: Conceptual Transformer Layer for Transaction Sequences
import torch
import torch.nn as nn
class TransactionTransformer(nn.Module):
def __init__(self, input_dim, embed_dim, num_heads, num_layers):
super(TransactionTransformer, self).__init__()
'''Project tabular transaction features into an embedding space'''
self.embedding = nn.Linear(input_dim, embed_dim)
'''Transformer Encoder Layer to capture sequential dependencies'''
encoder_layer = nn.TransformerEncoderLayer(d_model=embed_dim, nhead=num_heads)
self.transformer = nn.TransformerEncoder(encoder_layer, num_layers=num_layers)
'''Output layer for fraud classification (binary: 0 or 1)'''
self.classifier = nn.Linear(embed_dim, 1)
def forward(self, x):
'''# x shape: [batch_size, sequence_length, input_dim]'''
x = self.embedding(x)
x = x.permute(1, 0, 2) # Transformer expects [seq_len, batch, embed]
output = self.transformer(x)
logits = self.classifier(output[-1]) # Use the last transaction's context
return torch.sigmoid(logits)
print("Financial Transformer initialized for sequential analysis.")
Real-Time Fraud Detection and Personalized Banking
The ultimate goal of deploying these models on AWS is to move from reactive fraud detection to proactive prevention and hyper-personalization. By leveraging Amazon SageMaker, financial institutions can run “target experiments” and deploy models into a secure, scalable production environment.
The business impact is multifaceted:
- Reduced False Positives: By understanding context, models can reduce the number of legitimate transactions being declined, improving customer satisfaction.
- Authorization and Routing Optimization: Real-time insights allow for smarter routing of transactions through payment networks, reducing costs and increasing success rates.
- Hyper-Personalization: Beyond fraud, these models understand customer intent, allowing banks to offer relevant products and services at the precise moment of need.
While it is still early in the adoption cycle, initial experiments show performance improvements in the range of 1% to 2% in fraud detection accuracy—a seemingly small number that translates into billions of dollars in saved revenue across the global economy.
Conclusion
The intersection of transformer architectures, NVIDIA’s accelerated computing, and AWS’s scalable infrastructure is redefining what is possible in financial services. By treating transaction data as a language to be understood rather than a set of rows to be filtered, the industry is building a more secure and personalized future for global payments. As these “global embeddings” continue to evolve, they will ultimately provide a comprehensive context for every customer, product, and entity in the financial ecosystem.