Serverless confidential containers: challenges and opportunities
File(s)CoCo_Knative.pdf (760.5 KB)
Accepted version
Author(s)
Segarra, Carlos
Feldman-Fitzthum, Tobin
Buono, Daniele
Pietzuch, Peter
Type
Conference Paper
Abstract
Serverless computing allows users to execute pieces of code (so called functions) on-demand in the cloud without having to provision any hardware resources. However, by executing in the cloud and delegating control over hardware resources, the integrity of the execution and the confidentiality of function code and data are at the mercy of the cloud provider and serverless runtime. Confidential computing aims to remove trust from the cloud provider by executing applications inside hardware enclaves. In spite of the increasing adoption of confidential computing, designing a confidential serverless runtime with moderate performance overhead remains an open challenge.
In this short article we present our experience porting the Knative serverless runtime to a confidential setting using Confidential Containers (CoCo), a technology that allows the execution of unmodified (encrypted) container images inside confidential VMs (cVMs). Our results show that cVMs are not ready to execute container-based serverless functions. Starting a serverless function in a CoCo from an encrypted container image with attestation takes up to 17 seconds. Starting 16 serverless functions concurrently takes more than three minutes, 20× slower than its non-confidential counterpart. We analyze the main sources of overhead, and outline the research challenges to bridge the gap between confidential and serverless computing.
In this short article we present our experience porting the Knative serverless runtime to a confidential setting using Confidential Containers (CoCo), a technology that allows the execution of unmodified (encrypted) container images inside confidential VMs (cVMs). Our results show that cVMs are not ready to execute container-based serverless functions. Starting a serverless function in a CoCo from an encrypted container image with attestation takes up to 17 seconds. Starting 16 serverless functions concurrently takes more than three minutes, 20× slower than its non-confidential counterpart. We analyze the main sources of overhead, and outline the research challenges to bridge the gap between confidential and serverless computing.
Date Issued
2024-04-22
Date Acceptance
2024-04-01
Citation
Proceedings of the 2nd Workshop on SErverless Systems, Applications and MEthodologies, 2024, pp.32-40
ISBN
9798400705458
Publisher
ACM
Start Page
32
End Page
40
Journal / Book Title
Proceedings of the 2nd Workshop on SErverless Systems, Applications and MEthodologies
Copyright Statement
Copyright ©2024 ACM. This is the author’s accepted manuscript made available under a CC-BY licence in accordance with Imperial’s Research Publications Open Access policy (www.imperial.ac.uk/oa-policy)
License URL
Identifier
http://dx.doi.org/10.1145/3642977.3652097
Source
SESAME '24: 2nd Workshop on SErverless Systems, Applications and MEthodologies
Publication Status
Published
Start Date
2024-04-22
Coverage Spatial
Athens, Greece
Date Publish Online
2024-04-22