EDUCAÇÃO E TECNOLOGIA

SAP BTP Kyma Runtime Getting Started | Video Tutorial Series


This video tutorial series (playlist) shows getting started with the SAP Business Technology Platform, Kyma environment in action covering prerequisites, procedure (how-to), result, and next steps using both the web console and command line tools for automation.

For some background information about container engines, orchestration, Kubernetes, Kyma open source and the SAP Business Technology Platform Kyma runtime, see

For information about DIY Kyma deployments, see

Questions? Post as comment.

Useful? Give us a like and share on social media.

Thanks!

/wp-content/uploads/2016/02/sapnwabline_885687.png

On Your Marks

Getting Started

Before we can deploy our first microservice-in-a-container or function-as-code into the Kyma runtime, we (administrators, that is), first need to set things up. In this article, we cover all the required steps starting with the documentation (always be prepared)

  • Prerequisites: subaccounts and entitlements
  • Create service instance
  • Assign role collections
  • Register SAP system(s)

The focus of the documentation is on using the SAP BTP Cockpit (navigate, go to, select). Below, we will also cover how you can achieve the same objective using the SAP BTP CLI or command line interface.

The tutorial series assumes you have completed the SAP BTP onboarding (or are familiar with the basics and concepts).

BTP CLI

The tutorials assume you are familiar with the basics, e.g.

btp help
btp --info
btp login
btp target

For the BTP command line tool, see

YouTube Playlist

For the complete playlist, visit the SAP HANA Academy channel on YouTube

/wp-content/uploads/2016/02/sapnwabline_885687.png

Introduction

Video Tutorial

In this video tutorial we provide an introduction to the SAP Business Technology Platform, Kyma runtime (SKR), using the information published to the SAP Help Portal, the Kyma project website, and the SAP Discovery Center.

Time Markers

0:00 – Introduction

0:30 – SAP Help Portal

1:15 – Kyma Project

3:20 – BTP Regions

4:20 – Setup and development information

5:00 – Tutorials

6:20 – Discovery Center

Resources

For the mentioned resources, see

/wp-content/uploads/2016/02/sapnwabline_885687.png

Subaccounts and Entitlements

Video Tutorial

In this video tutorial we provide an introduction to the SAP Business Technology Platform, Kyma runtime (SKR), covering the requirements for the runtime: subaccounts and entitlements using the SAP BTP cockpit console and the SAP BTP CLI.

Time Markers

0:00 – Introduction

0:35 – SAP BTP Cockpit

1:10 – Service assignments

2:00 – Create subaccount

3:00 – Create subaccount using BTP CLI

3:30 – Entity assignments

4:20 – Assign accounts entitlements using BTP CLI

BTP CLI Commands

To create subaccounts

# create a subaccount
# regions: ap, br, ca, eu, jp, us, # providers: 10 (aws), 20 (azure), 30 (gcp) btp create accounts/subaccount --display-name cf-eu20 --region eu20 --subdomain cf-eu20-qwerty

To assign entitlements

# query subaccount ID(s)
btp list accounts/subaccount # assign entitlements
# plan = aws, azure, gcp
btp assign accounts/entitlement --to-subaccount xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx --for-service kymaruntime --plan aws --amount 1 # list entitlements
btp list accounts/entitlement --subaccount xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx 

References

For the available regions, see the SAP Discovery Center

The Kyma runtime was initially hosted from Azure data centers. In 2021, AWS and GCP were added. Note that the region where the Kubernetes cluster can be deployed may differ from the region where the subaccount was created, e.g. for GCP US Central (Iowa),

For sizing information, see

/wp-content/uploads/2016/02/sapnwabline_885687.png

Create Service Instance

Video Tutorial

In this video tutorial we provide an introduction to the SAP Business Technology Platform, Kyma runtime (SKR) and create a service instance of the Kyma runtime using the SAP BTP cockpit and the BTP CLI.

Time Markers

0:00 – Introduction

0:30 – SAP BTP Cockpit Subaccount Overview

1:30 – Service Marketplace

1:45 – Create instance dialog

4:20 – AWS, Azure, GCP

5:45 – Create instance

7:00 – BTP CLI

BTP CLI Commands

Although we can pass JSON on the command line by escaping the double quotes with a backslash, using a file is recommended.

Name is a required parameter, region, and machine type are optional and default to the smallest type (in case of Azure a single type is available).

{ "name": "give-the-cluster-a-name", "region": "europe-west3", "machineType": "n2-standard-8"
}

To create an service instance

btp list accounts/subaccount
btp create accounts/environment-instance --subaccount xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx --environment kyma --service kymaruntime --plan azure --parameters azure.json
btp list accounts/environment-instance -sa xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx

/wp-content/uploads/2016/02/sapnwabline_885687.png

Role Collections

Video Tutorial

Coming up.

/wp-content/uploads/2016/02/sapnwabline_885687.png

Register Systems

Video Tutorial

Coming up.

/wp-content/uploads/2016/02/sapnwabline_885687.png

Share and Connect

Questions? Please post as comment.

Useful? Give us a like and share on social media.

Thanks!

If you would like to receive updates, connect with me on

For the author page of SAP PRESS, visit

Over the years, for the SAP HANA Academy, SAP’s Partner Innovation Lab, and à titre personnel, I have written a little over 300 posts here for the SAP Community. Some articles only reached a few readers. Others attracted quite a few more.For your reading pleasure and convenience, here is a curated list of posts which somehow managed to pass the 10k-view mile stone and, as sign of current interest, still tickle the counters each month.

/wp-content/uploads/2016/02/sapnwabline_885687.png