DistributedFaaS: Execution of Containerized Serverless Applications in Multi-Cloud Infrastructures Adbys Vasconcelos, Lucas Vieira, ´ Italo Batista, Rodolfo Silva and Francisco Brasileiro Departamento de Sistemas e Computac ¸˜ ao, Universidade Federal de Campina Grande, Brazil Keywords: Distributed Computing, Cloud Federation, Function-as-a-Service. Abstract: The adoption of cloud computing is continuously increasing due to the attractiveness of low costs of infrastruc- ture acquisition and maintenance, as well as having virtually infinite resources available for scaling applica- tions based on demand. Due to the increasing interest in this topic, there is a continuos search for better, more cost-effective ways to manage such infrastructures. One of the most recent steps was taken by the definition and development of Serverless computing, a.k.a. Function-as-a-Service (FaaS). FaaS is a cloud computing service model where developers can deploy functions to a cloud platform and have them executed based either on the triggering of events by other services, or by making requests directly to an HTTP(S) gateway, without having to worry about setting up the underlying infrastructure. In this paper, we propose an architecture for de- ploying FaaS platforms in hybrid clouds that can be composed by multiple cloud providers. This architecture aims at enabling privately deployed FaaS platforms to perform auto-scaling of resources (virtual machines) in a distributed infrastructure, while considering the scenario where the users of such platform are scattered around the globe. This allows the execution of requests in servers geographically located as close as possible from the client, with benefits to both the clients and the service providers. 1 INTRODUCTION Cloud Computing has become one of the pre- ferred means of hosting Information Technology ser- vices (RightScale, 2018). In the last decade, multi- ple deployment models have been proposed for such infrastructures. Initially, cloud computing was only possible via the use of services offered by big cloud providers, namely public clouds. Then, the rise of new technologies, similar to the ones used by big cloud providers, enabled the deployment of private clouds, using companies’ own infrastructures. More recently, an increasing demand for hybrid cloud de- ployments has emerged. Such kind of cloud deploy- ments integrates a number of different public and/or private providers in a single environment, creating multi-cloud infrastructures. A recent study conducted by RightScale indicates that 81% of the respondents used a multi-cloud approach (10% using multiple pri- vate clouds, 21% using multiple public clouds, and 51% using a hybrid cloud formed by public and pri- vate cloud providers). Likewise, different service models for deployment in cloud computing infrastructures have been pro- posed. Initially those models were restricted to SaaS – Software as a Service, PaaS – Platform as a Ser- vice, and IaaS – Infrastructure as a Service, but nowa- days almost anything can be provided as a service and offered by cloud computing providers. One of those service models particularly has drawn interest from a large number of researchers and cloud computing users, FaaS – Function as a Service. The main goal of a FaaS provider is to allow de- velopers to deploy functions in highly scalable and highly available infrastructures, without having to deal directly with the underlying physical and virtual infrastructure that will host and execute such func- tions. Developers who want to use the FaaS service can then focus on writing highly-specialized code that performs a single task. The result is a much shorter development cycle, due to the fact that the code base will be very small and much easier and faster to be tested in such environments. Additionally, this model also enables the application to adopt the widely used pay-per-use billing model, using a very fine-grain, based on the number of individual requests made. The FaaS service model has been made available by the big cloud providers since 2014, but it has gained a lot of interest also in the private clouds sce- nario. Because of that, multiple initiatives to provide Vasconcelos, A., Vieira, L., Batista, Í., Silva, R. and Brasileiro, F. DistributedFaaS: Execution of Containerized Serverless Applications in Multi-Cloud Infrastructures. DOI: 10.5220/0007877005950600 In Proceedings of the 9th International Conference on Cloud Computing and Services Science (CLOSER 2019), pages 595-600 ISBN: 978-989-758-365-0 Copyright c 2019 by SCITEPRESS – Science and Technology Publications, Lda. All rights reserved 595