Cloud Function Lifecycle Considerations for Portability in Function as a Service

Robin Hartauer, Johannes Manner, Guido Wirtz

2022

Abstract

Portability is an important property to assess the quality of software. In cloud environments, where functions and other services are hosted by providers with proprietary interfaces, vendor lock-in is a typical problem. In this paper, we investigated the portability situation for public Function as a Service (FaaS) offerings based on six metrics. We designed our research to address the software lifecycle of a cloud function during implementation, packaging and deployment. For a small use case, we derived a portability-optimized implementation. Via this empirical investigation and a prototypical migration from AWS Lambda to Azure Function and from AWS Lambda to Google Cloud Function respectively, we were able to reduce writing source code in the latter case by a factor of 17 measured on a Lines of Code (LOC) basis. We found that the default zip packaging option is still the favored approach at Function as a Service (FaaS) platforms. For deploying our functions to the cloud service provider, we used Infrastructure as Code (IaC) tools. For cloud function only deployments the Serverless Framework is the best option whereas Terraform supports developers for mixed deployments where cloud functions and dependent services like databases are deployed at once.

Download


Paper Citation


in Harvard Style

Hartauer R., Manner J. and Wirtz G. (2022). Cloud Function Lifecycle Considerations for Portability in Function as a Service. In Proceedings of the 12th International Conference on Cloud Computing and Services Science - Volume 1: CLOSER, ISBN 978-989-758-570-8, pages 133-140. DOI: 10.5220/0010999000003200


in Bibtex Style

@conference{closer22,
author={Robin Hartauer and Johannes Manner and Guido Wirtz},
title={Cloud Function Lifecycle Considerations for Portability in Function as a Service},
booktitle={Proceedings of the 12th International Conference on Cloud Computing and Services Science - Volume 1: CLOSER,},
year={2022},
pages={133-140},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0010999000003200},
isbn={978-989-758-570-8},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 12th International Conference on Cloud Computing and Services Science - Volume 1: CLOSER,
TI - Cloud Function Lifecycle Considerations for Portability in Function as a Service
SN - 978-989-758-570-8
AU - Hartauer R.
AU - Manner J.
AU - Wirtz G.
PY - 2022
SP - 133
EP - 140
DO - 10.5220/0010999000003200