Insights into building a Cloud Foundry-based multitenant SaaS

IT Days 2018, Cluj-Napoca

About me

  • Technical Guidance Unit @ msg systems
  • organizer and speaker at #itconsapcj, now at it's 6th edition.   www.itconferencesap.com
  • Interests & Background:
    • #CloudNative, #CloudFoundry
    • #ABAP, #BOPF, #S4HANA

https://people.sap.com/victor.ionescu

@ivictor88 ( <-- look here for slides )

ionescuv.github.io

Software-as-a-Service

the WHAT && the WHY

Customer

("subscriber")

Customer

("subscriber")

"Software-as-a-Service"

Vendor

("provider")

subscribes to

subscribes to

manages

Customer

("subscriber")

"Software-as-a-Service"

subscribes to

The "WHY" for Subscribers

  • No upfront investments
  • Predictable costs using pay-per-use model
  • No lengthy implementation project
  • Fast on- (and off-)boarding

"Software-as-a-Service"

The "WHY" for Providers

  • all customers on the same software version
  • 1 single active release to maintain
  • Ship features fast, directly to production

Vendor

("provider")

manages

Building a multitenant SaaS

Challanges and how to address them

Choosing a Platform

Build vs. Buy

Infrastructure

Platform

Application

YOU

YOU

YOU

high availability !!

scalability !!

YOU

YOU

container orchestration !!

platform upgrades !!

security patches !!

YOU

Your added value!

  • Container Management Platform and much more
  • Hides the complexities of the underlying infrastructure
  • Deploys applications to containers and manages their operation throughout the entire application lifecycle

app.

CloudFoundry

deploy

CF Buildpacks

Detecting buildpack:

staticfile_buildpack..
java_buildpack..
nodejs_buildpack..
ruby_buildpack.. MATCHED!

app.

Buildpack detection

CF Service Brokers

Service Brokers

Distributed Cache

Database

Messaging

...

iRe Cloud on SAP Cloud Platform,

Cloud Foundry edition

Handling multitenancy

Tenant 1

Tenant 2

"Software-as-a-Service"

Multitenancy

Tenant isolation levels:

  • Security
  • Persistence
  • Connectivity

"Software-as-a-Service"

subscribes to

subscribes to

Customer account

  • SaaS runtime environment
  • Platform services (DB, messaging, ..)
  • Users and Roles, IdP
  • On-Premise Connectivity

Customer account

  • Users and Roles, IdP
  • On-Premise Connectivity

Provider account

Multitenancy on SAP Cloud Platform

Handling multitenancy on application level

GET https://ire-prod-<tenant identifier>.cfapps.....

Reaping the Benefits

Continuously deliver value

Every(!) change deployed directly to production

Try it:

Thank you for you attention!

https://people.sap.com/victor.ionescu

@ivictor88

Victor Ionescu

msg systems, Technical Guidance Unit

ionescuv.github.io

Made with Slides.com