cs.SEAug 24, 2026

Automated Synthesis of Cloud Emulators

Authors: Archit Bhatnagar, Zhenning Yang, Sarah McClure, Yiming Qiu, Sylvia Ratnasamy, Ang Chen

Organizations: University of Michigan · University of California, Berkeley · The University of Hong Kong

Abstract

DevOps programming (e.g., using CLI/API scripts or IaC frameworks) is key to cloud infrastructure management. Unlike traditional programming tasks, DevOps program testing needs provisioning and execution against actual cloud resources, which is often time-consuming, unsafe, and costly. Cloud emulators have gained popularity for easing DevOps program testing; they are generally API-level mocks that can execute DevOps programs in a local environment. Still, building these emulators remains challenging: developers must manually interpret extensive cloud documentation and handcraft logic for each service, API, and their interaction. This does not scale to the complexity of the cloud, which is further a moving target as the services and APIs evolve. CloudEmu is an automated approach that constructs emulators based on cloud documentation via neurosymbolic code synthesis. The key idea is to combine LLMs' general strengths in documentation understanding and code generation with cloud-specific symbolic abstractions that suppress hallucinations and enforce precision at scale, while using the real cloud as an oracle for automated testing, repair, and alignment. Our evaluation shows the effectiveness of CloudEmu on major cloud provider (AWS and GCP) services in both coverage and accuracy. CloudEmu outperforms the existing leading tool LocalStack, which was manually developed by a large team of engineers over a decade.

Figures & tables

Explore similar work

CardsList
  1. Interactive Clarification for Cloud Infrastructure-as-Code Synthesis

    Apr 1, 2026Zhenning Yang, Kaden Gruizenga, Tongyuan Miao +4LLM-Based Program SynthesisCloud Computing

  2. FixItFlow: Automated Troubleshooting Guide Generation from Cloud Incidents

    May 3, 2026Srihari Unnikrishnan, Jaskaran Singh Walia, Drishti Goel +1Text Generation