Skip to Content
Technical Articles
Author's profile photo Carlos Roggan

Writing Function-as-a-Service: Overview of Blogs

With other words:

How to write serverless Functions
with
SAP Cloud Platform Serverless Runtime
:
Overview of tutorials

 

In the serverless world, Function-as-a-Service allows to write small pieces of code that do something
Just like any other function,
But serverless.
That means:
The function is sleeping in a fluffy cloudy container and only when it is needed, it wakes up and does something
And the good news:
A sleeping function doesn’t cause cost
And there are other advantages
And there are other blogs describing those advantages better (see below)

This series of tutorials helps you to get familiar with the Functions part of SAP Cloud Platform Serverless Runtime

You can go through it step by step – or you can do it the serverless way:
Follow a tutorial, then go back to sleep…

Tutorials

0.1 Preparation
1 First Function: Extension Center
2 First Function: Local Development
3 Real Local Development
4 Debugging
5 Secrets and Config Maps
6 How to use values.yaml
7 How to use Cloud Platform Services e.g. consuming Destination Service
8 Use Platform Services much better via Credentials Store e.g. Enterprise Messaging
9 How to call endpoint protected with OAuth and scope, from function
10 How to call endpoint protected with OAuth and scope, in different Subaccount
11 HTTP API How to access and how to use it
12 Security: How to protect functions with OAuth
13 Security: How to protect functions with OAuth and scope. How to call it

Some patience needed…:
14 Scenario with protected function, protected target and token exchange

Official documentation:
Topic Page in the community
Serverless Runtime Official docu
Make sure to check out the Limitations
Cloud Foundry CLI: docu page
Serverless Runtime CLI: download page

Blogs:
Announcement blog
Intro blog by Pradeep Panda
Intro blog by Murali Shanmugham
Writing Functions using SAP Business Application Studio (BAS)
Great blog series by Sharadha Krishnamoorthy covering a nice serverless scenario

Clarification blog about Serverless Runtime naming

More:
Garage Session

Assigned tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo AMIT GUPTA
      AMIT GUPTA

      Thanks Carlos for the wonderful series of blogs on serverless runtime. Could you please let me know if they are now available in SCP CF trial account. Earlier I worked on Function as a service beta in SCP trial.

      Author's profile photo Carlos Roggan
      Carlos Roggan
      Blog Post Author

      Hello AMIT GUPTA , thanks so much for your feedback!
      I'm afraid it will still take quite some time until it will be available ion Trial...
      Please bear with me...
      Kind Regards, Carlos

      Author's profile photo Antonio Maradiaga
      Antonio Maradiaga

      Hi Carlos Roggan any updates on when this will be available in the CF trial account?

      Thanks,

      .A

      Author's profile photo Pieter Janssens
      Pieter Janssens

      Hi Carlos,

       

      Could you provide an example on how we can call a XSUAA protected function from a UI application that uses the approuter? What I'm looking for in particular is how we can apply the concept of "Integrate Business Services" to Serverless Runtime in the app router.

       

      Best regards,

      Pieter