Download PDF

Deployment Efficiency and Data Security for the Cloud

Publication date: 2021-11-18

Author:

Heydari Beni, Emad
Joosen, Wouter ; Lagaisse, Bert

Abstract:

Software service providers increasingly adopt the cloud computing paradigm because it provides on-demand access to a nearly unlimited pool of resources. This typically entails outsourcing their computation and data to the cloud through the deployment of their software services, storing business-sensitive data, and streamlining their processes on the cloud. Two of the core challenges that the industry faces concern with (i) how to achieve outsourced computation in an efficient and manageable manner through agile and optimised deployments, and (ii) how to protect sensitive data in untrusted environments, in particular the public cloud, and yet pragmatically preserve business functionalities. To optimise the deployments, cloud providers have been improving the computing infrastructure, e.g. by introducing container orchestration frameworks to improve the automation and agility of software deployments. Moreover, at the higher layers, software service providers have been migrating complex and compute-intensive software systems, such as engineering workflows, to the cloud to gain efficiency. To preserve the utility of protected data in the cloud, researchers have proposed many cryptographic techniques for search and computing on encrypted data. However, software practitioners are confronted with several challenges. First, the elastic scaling of computing resources such as containers causes non-negligible delays, known as cold start, which prohibits agile and swift large-scale deployment of software services. This concern often appears in serverless computing, and in general auto-scaling systems, for applications with deadline-based service-level objectives (SLOs). There are many techniques for low-latency instantiation of resources at various layers of the infrastructure. However, the existing approaches for Kubernetes, the de facto standard in container orchestration, are still unable to fully mitigate the cold start problem. Second, distributed and compute-intensive applications, in particular engineering workflows, require tailor-made and repeatable deployments to decrease execution time in the cloud. The execution of this class of applications might take days, but the right composition of cloud resources can potentially reduce the completion time to minutes. However, it is not trivial for engineering domain experts to decide upfront the amount and type of the required cloud resources and make cost-effective decisions for future iterations of their deployments. Third, the cryptographic techniques for search and computing on encrypted data on the cloud are diverse in terms of security, performance, and query expressiveness. Moreover, the underlying concepts and implementation details of these schemes are often complicated for application developers. Next to the error-prone process of choosing a scheme, integration of these data protection techniques into heterogeneous and polyglot software, e.g. microservice architectures, is a non-trivial task for security experts. Lastly, the ability to plug in cryptographic schemes in this scope is an important aspect since new cryptographic constructions with new properties are being presented frequently. These issues require a certain degree of cryptographic agility. The goal of this dissertation is to address the above-mentioned challenges in order to facilitate the process of outsourcing computation to the cloud via efficient deployments, and pragmatically store data on the cloud using advanced protections. To achieve this, our contributions are threefold: (i) we present and evaluate three approaches to reduce the cold start latency during elastic scaling of containers in Kubernetes. To achieve this, we present various techniques such as library sharing, pre-creating networking resources, and employing imperative configuration management unlike the existing declarative configuration mechanism of Kubernetes. (ii) We present InfraComposer, a policy-driven middleware that automates smart and adaptive workflow deployment in the cloud, leveraging domain-specific knowledge about the tools involved in the workflows. It further re-composes the deployment plans based on the scaling policies and the execution history towards more efficient and faster executions. And lastly (iii) we present DataBlinder, a distributed data-access middleware that encapsulates the complexity of the protection tactics to enable search and computing on encrypted data. It enables software service providers to securely and in a configurable manner outsource sensitive as well as non-sensitive data to the cloud. The middleware architecture is extensible to allow security experts to incorporate new tactics as well as provide security policies, and enables the developers to select the required protection level through certain abstractions. The contributions are based on several application cases in the domains of aeronautics, finance, and healthcare. We have validated and evaluated our results. This thesis shows how we effectively address the above-mentioned challenges. Lastly, the dissertation outlines future directions to go beyond the limitations of the presented achievements.