arXiv:2608.30171cs.CRAug 2026

Manuscript Offprint

arXiv:2608.30171

Reducio: Optimized Confidential Serverless Cloud Deployments for Enterprise Customers

Vikram Ramaswamy, Chuqi Zhang, Adil Ahmad

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Vikram Ramaswamy† Chuqi Zhang* Adil Ahmad†

†Arizona State University *National University of Singapore

Abstract—Serverless platforms based on Confidential Virtual Machines (CVMs) have been recently proposed to address the privacy problems with serverless functions, while achieving low latency. Unfortunately, our study indicates that to achieve these properties, existing proposals impose non-trivial requirements in terms of infrastructure changes and platform memory. REDUCIO is an alternate serverless platform design that does not require infrastructure changes and significantly reduces platform memory requirements. The platform is designed using two key components: (1) a function isolation framework inside a CVM based on kernel deprivileging features that minimize infrastructure requirements, and (2) a layer-wise caching methodology and algorithm that effectively uses a small in-memory function cache. Our evaluation indicates that REDUCIO can significantly reduce both platform requirements for deployment and function memory consumption.

I. INTRODUCTION

Serverless computing streamlines the deployment of highly-distributed applications in cloud machines (e.g., data analytics and inference [7], [19], [38], [47], [51], [54], [35], [22]), but also poses unprecedented privacy risks. In serverless computing platforms, developers provide only the code and data for individual units of application logic, called serverless functions. The cloud provider automatically manages other aspects of function execution, like memory management, compilation, and dependency management. Unfortunately, since serverless functions are entirely managed by providers, the control over sensitive information provided to these functions (e.g., patient data provided for analytics by hospitals) becomes elusive.

To regain data privacy in serverless computing, confidential serverless platforms [1] have been proposed, which leverage hardware-assisted trusted execution environments to isolate function instances from the remaining cloud machine (§III). While different iterations of such platforms have been proposed over the years [59], [64], [49], the most common current approach is to leverage Confidential Virtual Machines (CVMs), a CPU hardware technology on cloud machines that isolates guest virtual machines from the host infrastructure [10], [5], [37], [16]. This is primarily also because CVMs are widely-deployed in all modern clouds [3], [6].

Recent research [53], [57] has made notable strides to make confidential serverless platforms (based on CVMs) more practical. In particular, a notorious problem for typically short-lived serverless functions is the cold start latency—the time it takes to start executing a serverless function. This problem is exacerbated in CVMs, because they are significantly slower to start than traditional containers or virtual machines, with the additional slowdown from measuring the loaded guest environment (i.e., creating and extending a SHA-256 hash) required for future attestation by remote function users.

Despite aforementioned strides, our analysis on proposed solutions reveals three significant gaps in terms of practical cloud deployment ( §IV−B§IV-B). First, relying on monolithic kernels like Linux for function isolation inside CVMs expands the Trusted Computing Base (TCB); thus, prior work relies on minimized micro-kernel implementations or security monitors to isolate function instances. Unfortunately, the proposed approaches require complex modifications to the pre-existing cloud infrastructure. Second, to achieve efficiency, existing systems require large snapshots of functions (termed Zygotes) to be kept in memory at all times, which significantly increases the memory requirements of the platform. For instance, our evaluation on eight well-known industry-standard benchmarks [25] shows that merely 21 zygotes require ≃5.15\simeq5.15GiB of memory, while a real-world deployment would have to keep tens of thousands of diverse zygotes. Third, when Zygotes must be evicted (e.g., high memory pressure situations), proposed caching schemes like Least Recently Used (LRU) result in poor invocation latencies.

This paper presents REDUCIO, a confidential serverless platform that addresses the gaps left by prior work to build a deployment-friendly and memory-latency co-optimized solution. The platform incorporates two main approaches:

• Function isolation inside a CVM using a security monitor built on the principles of intra-kernel privilege isolation [27], a philosophically-simple monitor design that can be deployed in a self-contained manner within CVMs.

• Partial snapshot retention across different layers of the serverless function stack (e.g., language runtimes), directed by the learned invocation patterns of functions and platform memory resource availability.

Designing a platform around these approaches posed two main challenges. First, while intra-kernel monitors have been introduced for CVMs [63], they lack key features like secure Copy-on-Write fork that are essential to maintain a low startup latency for serverless functions. Second, partially caching traditional serverless containers using the file system [62] is known, but it is non-trivial to extend these ideas to in-memory functions.

We address the lack of secure Copy-on-Write (CoW) fork validation in existing intra-kernel monitors by designing new memory management unit-level checks during the kernel's fork system call and page fault handling ( §VI−A§VI-A). At a high-level, these checks require the kernel to explicitly declare its intentions to the monitor during these operations (e.g., what pages are being allocated to a process and at what mappings). If these intentions are not declared, or declared incorrectly, the monitor does not allow the process to continue and aborts both the parent and child process. These intentions are validated at key lifecycle events, including page table mapping updates, copying contents between protected pages, and at the end of the fork system call.

For partial snapshot retention and caching of function-running processes, we leverage REDUCIO's secure CoW fork. At a high-level, we maintain checkpoints during function execution (e.g., when the function has loaded required language runtime) and fork at these times to maintain partial states ( §VI−B§VI-B). Then, we implement a predictive time-series algorithm that considers factors like function arrival times, memory overheads, and startup latency from different cache levels. Using this algorithm, snapshots are retained/pre-warmed to reduce latency, or evicted to preserve memory.

We built a REDUCIO prototype for Linux kernels running on Intel TDX-based Confidential VMs (CVMs) using ≃\simeq8400 SLoC ( §\SVII). Our prototype consists of several components, including an intra-kernel security monitor implementation (built on open-source codebases [63], [58]), a partial-caching aware Library Operating System (LibOS) implementation, and a function cache coordinator that integrates with the OpenWhisk serverless platform [55]. We will open-source all our software artifacts.

Using our prototype, we evaluated REDUCIO on security, performance and memory use. In terms of security ( §VIII§VIII, we analyzed the properties that ensure correct CoW forks and prevent container sharing from leaking sensitive information. For evaluation ( §IX§IX), we selected the same set of benchmarks leveraged by prior work [53] to evaluate the system on micro-benchmarks and a macro study involving real-world function traces from the Microsoft Azure Serverless Function dataset [56]. Our results indicate the following aspects:

• REDUCIO’s function startup latency using secure CoW is comparable to prior work [53], [57], showing that our deployment-friendly monitor maintains high performance.

• REDUCIO’s partial caching and predictive caching algorithm uses 64% less memory on average compared to prior work, while retaining 19.3% of the geometric mean function performance.

References (46)