Diggi: A Distributed Serverless Runtime for Developing Trusted Cloud Services
Year: 2020
Type: dissertation
Abstract: Cloud computing offers the convenience of outsourcing storage and processing power to a public shared environment. Physical infrastructure is managed by the cloud provider, allowing hosted services to be deployed without any upfront investment. Cloud infrastructure may additionally manage deployment, migration, scalability, and fault tolerance, transparently from the hosted service. Serverless computing, and more specifically Functions-as-a-Service, is a natural continuation of this trend, narrowing the computational scope down to individually deployable cloud functions, which are scalable and billable on demand.\nContemporary cloud services require that sensitive data such as user identifiable information be protected from unauthorized access. However, a conventional cloud security threat models assumes that the underlying public cloud infrastructure can be trusted. Physical attacks on server hardware conducted by an unfaithful employee may compromise the entire software stack. Moreover, a compromised operating system or hypervisor may directly inspect information in less privileged execution contexts.\nDedicated hardware such as Trusted Execution Environments (TEE) mitigate such attacks by enabling privileged application containers, protected from inspection by the untrusted underlying system. Intel SGX introduces one such hardware system implementing support for hosting secure segments of code and data (enclaves) on commodity x86-64 platforms. Enclaves may be attested remotely, however the attestation evidence is limited to the enclave’s initial state. SGX is considered feature rich compared to similar TEEs, however, the threat model of SGX leads to some architectural intrinsics which may impact the runtime performance.\nThis thesis present the design and implementation of Diggi; an efficient trusted cloud function runtime implemented in SGX. Diggi enables the development of secure applications, composed of multiple persistent and accountable cloud functions which may be jointly authenticated through co-attestation. We demonstrate that the design of Diggi is practical, and additionally, that it reduces the overhead of SGX compared with standard runtime execution techniques. We further demonstrate the applicability of Diggi by implementing two pseudo- real application workloads demonstrating a database management system and a machine learning inference pipeline on top of the Diggi runtime.
Source: NVA (Nasjonalt vitenarkiv)
Author: Anders T. Gjerdrum
Language: English
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
Funder: Norges Forskningsråd
Awards: G5371140076, G5631391983, G7627459985
OpenAlex ID: W3106820068
