Skip to main navigation Skip to search Skip to main content

SURE: Secure Unikernels Make Serverless Computing Rapid and Efficient

  • Federico Parola
  • , Shixiong Qi
  • , Anvaya B. Narappa
  • , K. K. Ramakrishnan
  • , Fulvio Risso

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

12 Scopus citations

Abstract

Current serverless platforms introduce non-trivial overheads when chaining and orchestrating loosely-coupled microservices. Containerized function runtimes are also constrained by insufficient isolation and excessive startup time. This motivates our exploration of a more efficient, secure, and rapid serverless design. We describe SURE, a unikernel-based serverless framework for fast function startup, equipped with a high-performance and secure data plane. SURE's data plane supports distributed zero-copy communication via the seamless interaction between zero-copy protocol stack (Z-stack) and local shared memory processing. To establish a lightweight service mesh, SURE uses library-based sidecars instead of individual userspace sidecars. We leverage Intel's Memory Protection Keys (MPK) as a lightweight capability to ensure safe access to the shared memory data plane. It also isolates the Trusted Computing Base (TCB) components in SURE's function runtime (e.g., library-based sidecar, scheduler, etc) from untrusted user code, while preserving the efficient single-address-space nature of unikernels. In particular, SURE prevents unintended privilege escalation involving MPK with an enhanced TCB. These combined efforts create a more secure and robust data plane while improving throughput up to 79X over Knative, a representative open-source serverless platform.

Original languageEnglish
Title of host publicationSoCC 2024 - Proceedings of the 2024 ACM Symposium on Cloud Computing
Pages668-688
Number of pages21
ISBN (Electronic)9798400712869
DOIs
StatePublished - Nov 20 2024
Event15th Annual ACM Symposium on Cloud Computing, SoCC 2024 - Redmond, United States
Duration: Nov 20 2024Nov 22 2024

Publication series

NameSoCC 2024 - Proceedings of the 2024 ACM Symposium on Cloud Computing

Conference

Conference15th Annual ACM Symposium on Cloud Computing, SoCC 2024
Country/TerritoryUnited States
CityRedmond
Period11/20/2411/22/24

Bibliographical note

Publisher Copyright:
© 2024 Owner/Author.

Funding

We thank the US NSF for their generous support through grants CNS-1818971, CNS-2210379. This work was also funded by: the EU (European Union) under the Italian National Recovery and Resilience Plan (NRRP) of NextGenerationEU, partnership on "Telecommunications of the Future" (PE00000001 - program "RESTART"); the Italian Ministry of Education and Research (MUR) through the PRIN project NEWTON (No. 2022ZA8T22); the Smart Networks and Services Joint Undertaking (SNS JU) under the EU's Horizon Europe research and innovation programme under Grant No. 101139067. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the EU. Neither the EU nor the granting authority can be held responsible for them. Federico Parola was also funded by TIM S.p.A. through the PhD scholarship.

FundersFunder number
Italian National Recovery and Resilience Plan
European Commission
TIM
NRRPPE00000001
National Science Foundation Arctic Social Science ProgramCNS-2210379, CNS-1818971
EU's Horizon Europe research and innovation programme101139067
Ministero dell’Istruzione, dell’Università e della Ricerca2022ZA8T22

    Keywords

    • Isolation
    • MPK
    • Serverless
    • Shared memory
    • Unikernel

    ASJC Scopus subject areas

    • Computer Science (miscellaneous)
    • Computer Networks and Communications
    • Computer Science Applications

    Fingerprint

    Dive into the research topics of 'SURE: Secure Unikernels Make Serverless Computing Rapid and Efficient'. Together they form a unique fingerprint.

    Cite this