SAP BTP Serverless Runtime to SAP BTP Kyma Runtime Migration Examples
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.
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.
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.
Hi Krzysztof Kwiatosz , a very nice write-up.
Seemingly, all the CF server-less migration samples are nodejs based? But Kyma supports also python functions. Do we have examples of these ?
kind regards; Piotr
Unfortunately we don't have migration samples written in python. However the main goal of the samples is to illustrate how to compose the same functionality from kyma and kubernetes building blocks : Functions, API-rules, Subscriptions, Cronjobs. The sample logic in the function is simple and I hope it can be translated to other languages
A new playlist about SAP Business Technology Platform (BTP) serverless functions has been made available on our YouTube channel.
Watching the complete series of eight videos takes about an hour. What you will learn is