Serverless architecture is the next step in cloud architectures, where the main goal is server abstraction, which reduces the need for infrastructure maintenance, as it is left completely up to the cloud provider. The main reasons for switching to serverless architecture are a shorter time to market, less work with infrastructure and a favourable cost model. Cloud service providers offer solutions for serverless applications, which are easy to use and are already quite robust. There is also an emerging need to run such applications on private infrastructure, as this allows more control over the implementation of the architecture. This thesis includes a presentation and an evaluation of serverless architecture as well as a comparison with other architectures. The three most popular open-source serverless frameworks for running applications on private infrastructure (OpenFaaS, Kubeless and Fission) are also presented and compared to one another.