Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
SAP BTP, serverless runtime has been discontinued and replaced by SAP BTP, Kyma runtime. Read more about this in the blog post by karsten.strothmann.

Because of the sunset of the previous SAP BTP, serverless runtime offering, SAP BTP users will look into SAP BTP, Kyma runtime as an alternative to host their functions.

Hi, my name is Krzysztof and I' am working on the Kyma project. In this blog post, I want to help you get started with SAP BTP, Kyma runtime and point you to some useful code samples that will help you migrate common FaaS scenarios from SAP BTP, serverless runtime into SAP BTP, Kyma runtime.

SAP BTP, Kyma runtime - more than meets the eye

SAP BTP, Kyma runtime offers fully managed Kubernetes where you can mix the BTP, serverless runtime functions, microservices, or custom docker images in one runtime. Additionally, it offers built-in capabilities to get you up to speed with your cloud-native application development, such as API gateway, event bus, or service mesh.

Get Started

The best way to get started with SAP BTP, Kyma runtime functions is to create one.

First, you need to create a Kyma instance (if you don't have one already), and then simply follow our tutorial to create a function. Visit the Kyma project website for more tutorials.

Migration Examples

To help you with the transition from SAP BTP, serverless runtime to SAP BTP, Kyma runtime, we have prepared a few examples to demonstrate how to migrate the most common scenarios.

You can learn how to expose Kyma function via HTTPS to the outside world using API Gateway, how to subscribe your function to events from SAP BTP Event Mesh, or how to use Kubernetes Secrets and ConfigMaps to inject environment variables to your function.

Those scenarios are based on a selection of the original SAP BTP, serverless runtime code samples


The migration examples show how to use SAP BTP, Kyma runtime features (serverless, API gateway, and eventing) to model the same scenarios that were possible with the discontinued SAP BTP, serverless runtime.

I hope they will help you get started with the SAP BTP, Kyma runtime. Please share your feedback in the comments section. You can also get in touch with our team via Slack.