SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Consume SAP BTP Services from Any Hyperscaler

Deploy an SAP Fiori application in any hyperscaler, such as Google Cloud Platform (GCP), Amazon Web Services (AWS), Alibaba Cloud or Azure, and use services from SAP BTP.

Overview

🎓 intermediate 45 min. SAP Business Technology PlatformIntermediateSAP BTP Kyma Runtime

You will learn

  • How to consume SAP BTP services running from other environments
  • How to use SAP BTP APIs, Service Manager and Service Operator to consume services from other environments
Unknown U Unknown February 3, 2023
Created by September 22, 2021
Contributors

Prerequisites

Prerequisites

Steps

Windows macOS Linux BAS

Intro

Deploy an SAP Fiori Application in any a hyperscaler, such as Google Cloud Platform (GCP), Amazon Web Services (AWS), Alibaba Cloud or Azure, and still take advantage of the services provided by SAP Business Technology Platform (SAP BTP).

In this tutorial, you use the fioriapp sample application to learn some best practices of setting up your Kubernetes cluster to communicate with SAP BTP so you can learn how to consume SAP BTP services from any hyperscaler.


Step 1 Set KUBECONFIG environment variable

To configure the access to your Kubernetes cluster, you have to set the KUBECONFIG environment variable to point to the location where the KUBECONFIG file you have downloaded from your Kubernetes cluster. To do that, open a command line prompt on your computer and type in the following command:

Replace <KUBECONFIG_FILE_PATH> with the file path of the KUBECONFIG file you have downloaded, including the file name and extension.

Open a command line prompt on your computer. In the command line screen, type in the following:

Shell/Bash
export KUBECONFIG=<KUBECONFIG_FILE_PATH>
Shell/Bash
export KUBECONFIG=<KUBECONFIG_FILE_PATH>
PowerShell
$ENV:KUBECONFIG="<KUBECONFIG_FILE_PATH>"
Shell
set KUBECONFIG="<KUBECONFIG_FILE_PATH>"

Test the configuration by running this command:

Shell/Bash/DOS
kubectl config get-contexts

This should return a context from the kubeconfig file.

CURRENTNAMECLUSTERAUTHINFONAMESPACE
*############-token
Step 2 Install cert-manager
+
Step 3 Set up SAP BTP service operator
+
Step 4 Verify cross consumable services from SAP Business Technology Platform (SAP BTP)
+
Step 5 Create service instances
+
Step 6 Build and deploy app into Kubernetes Cluster
+
Step 7 Run the deployed application
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Set KUBECONFIG environment variable 2. Install cert-manager 3. Set up SAP BTP service operator 4. Verify cross consumable services from SAP Business Technology Platform (SAP BTP) 5. Create service instances 6. Build and deploy app into Kubernetes Cluster 7. Run the deployed application

Learn more →