The 3 a.m. problem: why I built a cloud framework that manages itself
Published in Computational Sciences
Almost everyone who runs cloud platforms has lived some version of the same night. Demand surges without warning, latency climbs, the pager goes off, and by the time an engineer has read the dashboards and added capacity, the moment has passed. The users who hit the slowdown never see the recovery. They only remember that the service failed them when it mattered.
I have spent more than nineteen years running large database and cloud platforms, and this pattern is the one I kept coming back to. The standard fix, keeping spare capacity running just in case, is wasteful: machines sit idle most of the day, drawing power and costing money, and on the worst days even the spare capacity is not enough because nobody guessed the size of the surge correctly. The other fix, adjusting capacity by hand, is simply too slow.
So the question behind my paper was a practical one: why should a human have to steer this, minute by minute? What if the cloud could manage itself?
Borrowing from the body
The framework I proposed, Cloud-SAP, takes its cue from the autonomic nervous system — the part of the body that regulates breathing and heart rate without conscious effort. An autonomic computing system does something similar: it watches itself, makes small decisions continuously, and keeps things steady while conditions change around it.
The design is layered, and the layering is the heart of the idea. At the bottom are the individual cloud providers, where the computing actually happens. In the middle, manager components watch individual applications: how busy is this service, how fast is it responding, how close is it to running out of room? At the top, a coordinator sees the whole picture across every connected cloud at once.
When demand rises for one application, the framework adds capacity there or moves work to where there is room. When demand falls, it releases the extra capacity instead of paying for it to sit idle. The goal throughout is steady quality of service — which is really just a technical way of saying the thing every user cares about: the service stays responsive.
Why "federated" is the hard part
Managing one cloud well is hard enough. Managing several as a single, coherent system is the gap this work addresses. Organizations spread work across providers for cost, for reliability, and because rules require certain data to stay in certain places. Most tools still treat each cloud as its own island. Cloud-SAP treats the federation as one system with many rooms, and keeps the doors between those rooms open.
There is a second idea woven through the framework: elasticity should be dynamic, not just automatic. It is not enough to add machines when a threshold is crossed. The framework continuously weighs how much capacity each service needs right now, how quickly that need is changing, and what it costs to respond, so that scaling decisions are proportional rather than panicked. Think of the difference between a thermostat that only switches fully on or fully off, and one that gently adjusts to hold a steady temperature.
What the paper does and does not claim
I want to be clear about what this work is. Cloud-SAP is a framework: a design, with its logic and structure set out and examined in the paper, presented at the International Conference on Responsible, Risk-aware, and Regulated AI (RRRAI 2026) and published in Advances in Intelligent Systems Research. It is not yet a production system, and I do not claim otherwise.
The natural next steps are the ones I am now working on: testing the framework at larger scale, comparing its decisions against simpler approaches such as threshold-based and predictive scaling under realistic workloads, and measuring not just latency but cost and energy per request. Good frameworks earn their keep by surviving that kind of testing, and I intend to put this one through it.
Why it matters beyond the data center
The services we depend on — banking, health care, transportation, education — now live in the cloud, and their busiest moments are often the moments we need them most. A system that stays responsive during a surge, without burning money and energy on idle capacity the rest of the time, is not just an engineering nicety. It is cheaper to run, kinder to the environment, and kinder to the engineers who would otherwise be woken at 3 a.m. to fix it by hand.
For years, keeping cloud services fast and affordable has depended on skilled people watching screens and reacting. That model does not scale. Systems that sense change and adjust themselves within clear, well-designed rules are where I believe cloud engineering is heading. Cloud-SAP is my contribution to that shift: a way for the cloud to keep its balance the way your body keeps yours — quietly, and continuously.
Reference
Sikri, N. (2026). Multi-Tier Autonomic Resource Orchestration Framework for Dynamic Service Elasticity across Federated Cloud Environments. Advances in Intelligent Systems Research, 210, 342–351. DOI: 10.2991/978-94-6239-723-1_31. Open preprint: arXiv:2612.00723 (https://arxiv.org/abs/2612.00723).