serverless: new ways of thinking for your apps · building blocks 6 serverless & ui §jamstack...

13
© 2019 Adobe. All Rights Reserved. Adobe Confidential. Serverless: new ways of thinking for your apps Duy Nguyen & Moritz Raho | Adobe

Upload: others

Post on 30-May-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential.

Serverless: new ways of thinking for your appsDuy Nguyen & Moritz Raho | Adobe

Page 2: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential.

() => “Something about us”

§ Moritz Raho

§ Duy Nguyen

2

Page 3: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential.

Adobe I/O

3

Platform to extend and integrate Adobe products

Page 4: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential.

Adobe I/O

4

Cloud Native Applications

APIs Events Functions

Page 5: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential.

Our goals

5

Available as open source

Build and distribute custom

applications

Extend the platform with

custom services and workflows

Make integration faster and more

efficient

Page 6: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential.

Building blocks

6

Serverless & UI

§ JAMStack§ React-based UI§ CDN-based delivery§ Serverless backend

Tooling

§ CLI§ CI / CD§ App templates§ Local dev & debugging

SDKs

§ Adobe API wrappers§ Authentication§ Persistence§ UI components

Page 7: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential.

Adobe’s Serverless platform: I/O Runtime & Apache OpenWhisk

7

• Open Source, no vendor lock-in

• Polyglot and custom runtimes

• Production Ready

Page 8: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential.

Architecture: Serverless & UI

8

Client-Side UI Blob Storage/CDN

APIsGateways

Adobe Product APIs

Serverless FunctionsAdobe I/O Runtime

User defined Action

SDKs

External APIs

React

SDKs

Page 9: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential.

SDKs

9

Product AuthenticationPersistence

• Cache• Files• State management

• Adobe (oauth, service)• 3rd party IdPs

• Adobe API wrappers• Value-added logics• 3rd party services

Page 10: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential.

Tooling

10

init> templates> configure

run> dev server> auto refresh

debug> ui, functions> remote

deploy> prod build> online - dev

publish> CI/CD> release

test> unit> functional

Page 11: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

© 2019 Adobe. All Rights Reserved. Adobe Confidential. 11

DEMO: how to bootstrap a CNA

Page 12: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App
Page 13: Serverless: new ways of thinking for your apps · Building blocks 6 Serverless & UI §JAMStack §React-based UI §CDN-based delivery §Serverless backend Tooling §CLI §CI / CD §App

#BaselOne19 baselone.ch