SlideShare a Scribd company logo
SERVERLESS FINLAND MEETUP
Serverless Framework + SC5 Boilerplate
Sample cases and architecture patterns
10.5.2017
ABOUT OUR HOST COMPANY
SC5 IN BRIEF
3
What you should know about us
CLOUD
SOLUTIONS
BUSINESS
APPLICATIONS
DIGITAL
DESIGN
10+
YEARS
100+
CUSTOMERS
400+
PROJECTS
HEL
JKL
85
HACKERS
DESIGNERS
7
MEUR
2016MACHINE
LEARNING
TRACK RECORD OF SERVERLESS DELIVERIES
16 CUSTOMERS SINCE 2016 VARIETY OF SOLUTIONS
▪ Serverless web applications (cloud
backend + UI)
▪ IoT solutions
▪ Hybrid Cloud Enterprise APIs
▪ Intelligent applications
▪ Chatbots
MEDIA
FINANCE OTHER
INDUSTRIAL
SOFTWARE ENERGY
INDUSTRIAL
MULTICLOUD CAPABILITY
FOOD
INDUSTRIAL
RECOGNIZED SERVERLESS CONTRIBUTOR
PARTNERSHIPS CONTRIBUTIONS
▪ Author of several Serverless plugins /
boilerplates
▪ Active serverless workshop & event organizer
(e.g. bot workshop at ServerlessConf London
2016)
▪ Founder and main organizer of Serverless
Finland (serverless.fi) community (over 230
members)
AWS Consulting Partner
AWS Lambda delivery partner,
API Gateway delivery partner,
DynamoDB delivery partner
Serverless Framework partner
(1 of 4 worldwide)
SERVERLESS FRAMEWORK
SC5 BOILERPLATE
WHY SERVERLESS (FRAMEWORK)?
▪ Ready tooling for building and deployment of Serverless
application
▪ Plug-in mechanism to enhance and customize the development
experience
▪ Capability (via plugins) to run Lambda functions locally (run & test
without deployment)
▪ Easier to debug (consume logs locally)
▪ Multi-cloud support (AWS + Azure / Google / Bluemix)
SERVERLESS FRAMEWORK 1.X
SERVICE
FUNCTION(S)CONFIGURATION
EVENTS
RESOURCES
FUNCTION
FUNCTION
FUNCTION
ACTIONS
CREATE
INVOKE
INFO
LOGS
DEPLOY
PLUGINS
SERVERLESS IN ACTION
Register http event for
Lambda
LIMITATIONS OF ”VANILLA” SERVERLESS
▪ No ability to run code / test offline
▪ Deployment produces an unoptimal package => slow ”cold start”
▪ Need to manually set up tests
▪ Need to define IAM Roles for AWS Resources (DynamoDB / SNS)
Let’s give the SC5 Serverless boilerplate a try!
https://github.com/SC5/sc5-serverless-boilerplate
Plugins
Grant
permissions to
DynamoDB and
SNS
Exclude unnecessary
items from deployment
Command provided by
serverless-mocha-plugin
Test created by
serverless-mocha-plugin
Command provided by
serverless-mocha-plugin
Command provided
by
serverless-offline
webpack-plugin
ADDITIONAL RESOURCES
Boilerplates
▪ https://github.com/SC5/serverless-messenger-boilerplate : Create bots
using Messenger Platform and Wit.ai
▪ https://github.com/laardee/serverless-authentication-boilerplate :
Create API Gateway custom authorizers
Workshops
▪ http://serverless.fi/docs/blog-workshop.pdf : Build a simple serverless
chat service
▪ http://serverless.fi/docs/messenger-workshop.pdf : Build a Messenger
weather bot using Wit.ai and Serverless
SAMPLE SERVERLESS CASES
ARCHITECTURAL PATTERNS
HAPPY OR NOT WEBSHOP (2015)
(SUB)OBJECTIVE:
★ Create Authorize.net profile, Salesforce account,
order, invoice after webshop purchase (async)
CHALLENGES:
★ Lambda max timeout 60 secs
★ No guarantee for the whole chain to perform
within timeout
27
Challenges
HAPPY OR NOT WEBSHOP (2015)
28
Decoupling with SNS
1.
Receive
confirmation
from
Authorize.net
2.
Create
Authorize.net
Payment profile
3.
Create
Salesforce
account & contact
4.
Create
Salesforce
order & invoice
SESSION TABLE
(Lambdas read
and update info)
WEBSHOP TOPIC
(Lambdas subscribe
and post to topic)
HOW IT COULD BE DONE IN 2017
29
HappyOrNot Webshop
1.
Receive
confirmation
from
Authorize.net
3a.
Create
Authorize.net
Payment profile
3b.
Create
Salesforce
account & contact
3c.
Create
Salesforce
order & invoice
SESSIONS
(Lambdas read and update info)
2.
Launch step
function
3.
Step function
controls flow of
Lambda calls
GASUM ONLINE PORTAL (2016)
SUBOBJECTIVE:
★ Build an API (read/write) on top of data managed
internally
CHALLENGES:
★ No network / API access to internal application
30
Challenges
GASUM ONLINE PORTAL (2016)
31
Hybrid data setup & API
Serve API
calls from
application(s)
Subscribe S3
bucket
Update database
on uploads
Read (DB) /
write (DB, S3)
based on API
requests
S3 bucket as
proxy for
communication
Internal
Application
.EXE
Client app syncs
data between ERP
and S3
SC5 OPS MACHINE (2017)
OBJECTIVE:
★ Collect data from different data sources to a
consistent and easily accessible data set (e.g.
PowerBI / applications / business automation)
32
Challenges
SC5 OPS MACHINE (2017)
33
Serverless data pipeline
1.
Scheduled event(s)
fire Lambda(s)
2.
Lambdas extract
data from source
systems to S3
3.
Lambdas
subscribe to S3,
normalize data
and save to S3
EXTRACTED
DATA
NORMALIZED
DATA
4.
Lambdas
subscribe to S3,
store data to
various targets
Source / target system access
secrets encrypted using KMS
HOW IT COULD BE DONE (SOON?)
34
Data pipeline
VIDEO CONTENT CLASSIFIER (2017)
OBJECTIVE:
★ Identify contents of video (entry for contest in
ServerlessConf Austin 2017)
35
Challenges
DEMO

More Related Content

What's hot

Extensión de office con adal.js y office ui fabric
Extensión de office con adal.js y office ui fabricExtensión de office con adal.js y office ui fabric
Extensión de office con adal.js y office ui fabric
Mario Cortés Flores
 
ESPC15 - Introduction to AngularJS in an Office 365 context
ESPC15 - Introduction to AngularJS in an Office 365 contextESPC15 - Introduction to AngularJS in an Office 365 context
ESPC15 - Introduction to AngularJS in an Office 365 context
Sébastien Levert
 
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
NCCOMMS
 
O365 saturday: How to (remote) control office 365 with windows azure-slideshare
O365 saturday: How to (remote) control office 365 with windows azure-slideshareO365 saturday: How to (remote) control office 365 with windows azure-slideshare
O365 saturday: How to (remote) control office 365 with windows azure-slideshare
atwork
 
Continuous delivery with azure app service
Continuous delivery with azure app serviceContinuous delivery with azure app service
Continuous delivery with azure app service
Nabeel Khan
 
Azure App Service Architecture. Web Apps.
Azure App Service Architecture. Web Apps.Azure App Service Architecture. Web Apps.
Azure App Service Architecture. Web Apps.
Alexander Feschenko
 
Azure app services API apps
Azure app services API appsAzure app services API apps
Azure app services API apps
Panagiotis Tsilopoulos
 
Office Web Apps Server 2013
Office Web Apps Server 2013Office Web Apps Server 2013
Office Web Apps Server 2013
SPC Adriatics
 
Azure App Service at Let's Dev This
Azure App Service at Let's Dev ThisAzure App Service at Let's Dev This
Azure App Service at Let's Dev This
Guy Barrette
 
Extending Piwik At R7.com
Extending Piwik At R7.comExtending Piwik At R7.com
Extending Piwik At R7.com
Leo Lorieri
 
Azure App Service
Azure App ServiceAzure App Service
Azure App Service
BizTalk360
 
SharePoint Office Web Apps 2013 presentation
SharePoint Office Web Apps 2013 presentationSharePoint Office Web Apps 2013 presentation
SharePoint Office Web Apps 2013 presentation
jtbarrera
 
Connector API Apps
Connector API AppsConnector API Apps
Connector API Apps
BizTalk360
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
CodePolitan
 
[Roine] Serverless: Don't Take It Literally
[Roine] Serverless: Don't Take It Literally[Roine] Serverless: Don't Take It Literally
[Roine] Serverless: Don't Take It Literally
European Collaboration Summit
 
Advanced PowerShell for Office 365
Advanced PowerShell for Office 365Advanced PowerShell for Office 365
Advanced PowerShell for Office 365
BIWUG
 
ECS19 - Damir Dobric - Designing and Operating modern applications with Micro...
ECS19 - Damir Dobric - Designing and Operating modern applications with Micro...ECS19 - Damir Dobric - Designing and Operating modern applications with Micro...
ECS19 - Damir Dobric - Designing and Operating modern applications with Micro...
European Collaboration Summit
 
What's Better than Microservices? Serverless Microservices.
What's Better than Microservices? Serverless Microservices.What's Better than Microservices? Serverless Microservices.
What's Better than Microservices? Serverless Microservices.
Apigee | Google Cloud
 
Exchange Integration in 5.0, by Doug Johnson
Exchange Integration in 5.0, by Doug JohnsonExchange Integration in 5.0, by Doug Johnson
Exchange Integration in 5.0, by Doug Johnson
Acumatica Cloud ERP
 
Brewing Beer with Windows Azure - NDC2013
Brewing Beer with Windows Azure - NDC2013Brewing Beer with Windows Azure - NDC2013
Brewing Beer with Windows Azure - NDC2013
Maarten Balliauw
 

What's hot (20)

Extensión de office con adal.js y office ui fabric
Extensión de office con adal.js y office ui fabricExtensión de office con adal.js y office ui fabric
Extensión de office con adal.js y office ui fabric
 
ESPC15 - Introduction to AngularJS in an Office 365 context
ESPC15 - Introduction to AngularJS in an Office 365 contextESPC15 - Introduction to AngularJS in an Office 365 context
ESPC15 - Introduction to AngularJS in an Office 365 context
 
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
 
O365 saturday: How to (remote) control office 365 with windows azure-slideshare
O365 saturday: How to (remote) control office 365 with windows azure-slideshareO365 saturday: How to (remote) control office 365 with windows azure-slideshare
O365 saturday: How to (remote) control office 365 with windows azure-slideshare
 
Continuous delivery with azure app service
Continuous delivery with azure app serviceContinuous delivery with azure app service
Continuous delivery with azure app service
 
Azure App Service Architecture. Web Apps.
Azure App Service Architecture. Web Apps.Azure App Service Architecture. Web Apps.
Azure App Service Architecture. Web Apps.
 
Azure app services API apps
Azure app services API appsAzure app services API apps
Azure app services API apps
 
Office Web Apps Server 2013
Office Web Apps Server 2013Office Web Apps Server 2013
Office Web Apps Server 2013
 
Azure App Service at Let's Dev This
Azure App Service at Let's Dev ThisAzure App Service at Let's Dev This
Azure App Service at Let's Dev This
 
Extending Piwik At R7.com
Extending Piwik At R7.comExtending Piwik At R7.com
Extending Piwik At R7.com
 
Azure App Service
Azure App ServiceAzure App Service
Azure App Service
 
SharePoint Office Web Apps 2013 presentation
SharePoint Office Web Apps 2013 presentationSharePoint Office Web Apps 2013 presentation
SharePoint Office Web Apps 2013 presentation
 
Connector API Apps
Connector API AppsConnector API Apps
Connector API Apps
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
 
[Roine] Serverless: Don't Take It Literally
[Roine] Serverless: Don't Take It Literally[Roine] Serverless: Don't Take It Literally
[Roine] Serverless: Don't Take It Literally
 
Advanced PowerShell for Office 365
Advanced PowerShell for Office 365Advanced PowerShell for Office 365
Advanced PowerShell for Office 365
 
ECS19 - Damir Dobric - Designing and Operating modern applications with Micro...
ECS19 - Damir Dobric - Designing and Operating modern applications with Micro...ECS19 - Damir Dobric - Designing and Operating modern applications with Micro...
ECS19 - Damir Dobric - Designing and Operating modern applications with Micro...
 
What's Better than Microservices? Serverless Microservices.
What's Better than Microservices? Serverless Microservices.What's Better than Microservices? Serverless Microservices.
What's Better than Microservices? Serverless Microservices.
 
Exchange Integration in 5.0, by Doug Johnson
Exchange Integration in 5.0, by Doug JohnsonExchange Integration in 5.0, by Doug Johnson
Exchange Integration in 5.0, by Doug Johnson
 
Brewing Beer with Windows Azure - NDC2013
Brewing Beer with Windows Azure - NDC2013Brewing Beer with Windows Azure - NDC2013
Brewing Beer with Windows Azure - NDC2013
 

Similar to Serverless Finland Meetup 10.5.2015: Serverless Framework and Serverless Architecture Patterns

Keynote speech
Keynote speechKeynote speech
Keynote speech
BizTalk360
 
What's new in ms graph api nilesh shah 5 apr 2018
What's new in ms graph api nilesh shah 5 apr 2018What's new in ms graph api nilesh shah 5 apr 2018
What's new in ms graph api nilesh shah 5 apr 2018
Nilesh Shah
 
SAP Cloud Platform - Integration, Extensibility & Services
SAP Cloud Platform - Integration, Extensibility & ServicesSAP Cloud Platform - Integration, Extensibility & Services
SAP Cloud Platform - Integration, Extensibility & Services
Andrew Harding
 
Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)
Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)
Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)
Codit
 
The new Azure App Service Architecture
The new Azure App Service ArchitectureThe new Azure App Service Architecture
The new Azure App Service Architecture
João Pedro Martins
 
AWS re:Invent 2020 Serverless Recap
AWS re:Invent 2020 Serverless RecapAWS re:Invent 2020 Serverless Recap
AWS re:Invent 2020 Serverless Recap
Daniel Zivkovic
 
Forge - DevCon 2016: Integrate & extend your construction ecosystem with BI...
  Forge - DevCon 2016: Integrate & extend your construction ecosystem with BI...  Forge - DevCon 2016: Integrate & extend your construction ecosystem with BI...
Forge - DevCon 2016: Integrate & extend your construction ecosystem with BI...
Autodesk
 
Collab365 - AngularJS & Office 365 Unified API : A match made in heaven!
Collab365 - AngularJS & Office 365 Unified API : A match made in heaven!Collab365 - AngularJS & Office 365 Unified API : A match made in heaven!
Collab365 - AngularJS & Office 365 Unified API : A match made in heaven!
Sébastien Levert
 
Hybrid Integration with SAP
Hybrid Integration with SAPHybrid Integration with SAP
Hybrid Integration with SAP
BizTalk360
 
Introduction to WOLF Platform As A Service
Introduction to WOLF Platform As A ServiceIntroduction to WOLF Platform As A Service
Introduction to WOLF Platform As A Service
CloudComputing
 
Mastering Office 365 Development - Toni Pohl, atwork
Mastering Office 365 Development - Toni Pohl, atworkMastering Office 365 Development - Toni Pohl, atwork
Mastering Office 365 Development - Toni Pohl, atwork
SPC Adriatics
 
NextGen Portal for Your Organization
NextGen Portal for Your OrganizationNextGen Portal for Your Organization
NextGen Portal for Your Organization
Waldek Mastykarz
 
SPS Gulf : SharePoint 2013 Cloud Business App
SPS Gulf : SharePoint 2013 Cloud Business AppSPS Gulf : SharePoint 2013 Cloud Business App
SPS Gulf : SharePoint 2013 Cloud Business App
Usama Wahab Khan Cloud, Data and AI
 
BizTalk Server 2016: What's new (por Mariano Robles)
BizTalk Server 2016: What's new (por Mariano Robles)BizTalk Server 2016: What's new (por Mariano Robles)
BizTalk Server 2016: What's new (por Mariano Robles)
Jorge Millán Cabrera
 
Introduction to Microsoft Azure App Service (Logic and API Apps)
Introduction to Microsoft Azure App Service (Logic and API Apps)Introduction to Microsoft Azure App Service (Logic and API Apps)
Introduction to Microsoft Azure App Service (Logic and API Apps)
Sandro Pereira
 
Mastering Office 365 Development
Mastering Office 365 DevelopmentMastering Office 365 Development
Mastering Office 365 Development
atwork
 
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDESAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
Markus Van Kempen
 
From Legacy to a Microservices Architecture
From Legacy to a Microservices ArchitectureFrom Legacy to a Microservices Architecture
From Legacy to a Microservices Architecture
Ruda Filgueiras
 
Tdx highlights
Tdx highlightsTdx highlights
Tdx highlights
Brahmaji Tammana
 
Rapidly building data-driven modern Office 365 Cloud Business add-ins with Li...
Rapidly building data-driven modern Office 365 Cloud Business add-ins with Li...Rapidly building data-driven modern Office 365 Cloud Business add-ins with Li...
Rapidly building data-driven modern Office 365 Cloud Business add-ins with Li...
Marius Constantinescu [MVP]
 

Similar to Serverless Finland Meetup 10.5.2015: Serverless Framework and Serverless Architecture Patterns (20)

Keynote speech
Keynote speechKeynote speech
Keynote speech
 
What's new in ms graph api nilesh shah 5 apr 2018
What's new in ms graph api nilesh shah 5 apr 2018What's new in ms graph api nilesh shah 5 apr 2018
What's new in ms graph api nilesh shah 5 apr 2018
 
SAP Cloud Platform - Integration, Extensibility & Services
SAP Cloud Platform - Integration, Extensibility & ServicesSAP Cloud Platform - Integration, Extensibility & Services
SAP Cloud Platform - Integration, Extensibility & Services
 
Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)
Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)
Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)
 
The new Azure App Service Architecture
The new Azure App Service ArchitectureThe new Azure App Service Architecture
The new Azure App Service Architecture
 
AWS re:Invent 2020 Serverless Recap
AWS re:Invent 2020 Serverless RecapAWS re:Invent 2020 Serverless Recap
AWS re:Invent 2020 Serverless Recap
 
Forge - DevCon 2016: Integrate & extend your construction ecosystem with BI...
  Forge - DevCon 2016: Integrate & extend your construction ecosystem with BI...  Forge - DevCon 2016: Integrate & extend your construction ecosystem with BI...
Forge - DevCon 2016: Integrate & extend your construction ecosystem with BI...
 
Collab365 - AngularJS & Office 365 Unified API : A match made in heaven!
Collab365 - AngularJS & Office 365 Unified API : A match made in heaven!Collab365 - AngularJS & Office 365 Unified API : A match made in heaven!
Collab365 - AngularJS & Office 365 Unified API : A match made in heaven!
 
Hybrid Integration with SAP
Hybrid Integration with SAPHybrid Integration with SAP
Hybrid Integration with SAP
 
Introduction to WOLF Platform As A Service
Introduction to WOLF Platform As A ServiceIntroduction to WOLF Platform As A Service
Introduction to WOLF Platform As A Service
 
Mastering Office 365 Development - Toni Pohl, atwork
Mastering Office 365 Development - Toni Pohl, atworkMastering Office 365 Development - Toni Pohl, atwork
Mastering Office 365 Development - Toni Pohl, atwork
 
NextGen Portal for Your Organization
NextGen Portal for Your OrganizationNextGen Portal for Your Organization
NextGen Portal for Your Organization
 
SPS Gulf : SharePoint 2013 Cloud Business App
SPS Gulf : SharePoint 2013 Cloud Business AppSPS Gulf : SharePoint 2013 Cloud Business App
SPS Gulf : SharePoint 2013 Cloud Business App
 
BizTalk Server 2016: What's new (por Mariano Robles)
BizTalk Server 2016: What's new (por Mariano Robles)BizTalk Server 2016: What's new (por Mariano Robles)
BizTalk Server 2016: What's new (por Mariano Robles)
 
Introduction to Microsoft Azure App Service (Logic and API Apps)
Introduction to Microsoft Azure App Service (Logic and API Apps)Introduction to Microsoft Azure App Service (Logic and API Apps)
Introduction to Microsoft Azure App Service (Logic and API Apps)
 
Mastering Office 365 Development
Mastering Office 365 DevelopmentMastering Office 365 Development
Mastering Office 365 Development
 
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDESAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
 
From Legacy to a Microservices Architecture
From Legacy to a Microservices ArchitectureFrom Legacy to a Microservices Architecture
From Legacy to a Microservices Architecture
 
Tdx highlights
Tdx highlightsTdx highlights
Tdx highlights
 
Rapidly building data-driven modern Office 365 Cloud Business add-ins with Li...
Rapidly building data-driven modern Office 365 Cloud Business add-ins with Li...Rapidly building data-driven modern Office 365 Cloud Business add-ins with Li...
Rapidly building data-driven modern Office 365 Cloud Business add-ins with Li...
 

Recently uploaded

Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
Laura Szabó
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
fovkoyb
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
davidjhones387
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
Toptal Tech
 
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
3a0sd7z3
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
uehowe
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
xjq03c34
 
Design Thinking NETFLIX using all techniques.pptx
Design Thinking NETFLIX using all techniques.pptxDesign Thinking NETFLIX using all techniques.pptx
Design Thinking NETFLIX using all techniques.pptx
saathvikreddy2003
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
wolfsoftcompanyco
 
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
bseovas
 
HijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process HollowingHijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process Hollowing
Donato Onofri
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
ysasp1
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
Paul Walk
 
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
k4ncd0z
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
uehowe
 
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
3a0sd7z3
 
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
rtunex8r
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
uehowe
 

Recently uploaded (19)

Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
 
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
 
Design Thinking NETFLIX using all techniques.pptx
Design Thinking NETFLIX using all techniques.pptxDesign Thinking NETFLIX using all techniques.pptx
Design Thinking NETFLIX using all techniques.pptx
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
 
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
 
HijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process HollowingHijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process Hollowing
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
 
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
 
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
 
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
 

Serverless Finland Meetup 10.5.2015: Serverless Framework and Serverless Architecture Patterns

  • 1. SERVERLESS FINLAND MEETUP Serverless Framework + SC5 Boilerplate Sample cases and architecture patterns 10.5.2017
  • 2. ABOUT OUR HOST COMPANY
  • 3. SC5 IN BRIEF 3 What you should know about us CLOUD SOLUTIONS BUSINESS APPLICATIONS DIGITAL DESIGN 10+ YEARS 100+ CUSTOMERS 400+ PROJECTS HEL JKL 85 HACKERS DESIGNERS 7 MEUR 2016MACHINE LEARNING
  • 4. TRACK RECORD OF SERVERLESS DELIVERIES 16 CUSTOMERS SINCE 2016 VARIETY OF SOLUTIONS ▪ Serverless web applications (cloud backend + UI) ▪ IoT solutions ▪ Hybrid Cloud Enterprise APIs ▪ Intelligent applications ▪ Chatbots MEDIA FINANCE OTHER INDUSTRIAL SOFTWARE ENERGY INDUSTRIAL MULTICLOUD CAPABILITY FOOD INDUSTRIAL
  • 5. RECOGNIZED SERVERLESS CONTRIBUTOR PARTNERSHIPS CONTRIBUTIONS ▪ Author of several Serverless plugins / boilerplates ▪ Active serverless workshop & event organizer (e.g. bot workshop at ServerlessConf London 2016) ▪ Founder and main organizer of Serverless Finland (serverless.fi) community (over 230 members) AWS Consulting Partner AWS Lambda delivery partner, API Gateway delivery partner, DynamoDB delivery partner Serverless Framework partner (1 of 4 worldwide)
  • 7.
  • 8. WHY SERVERLESS (FRAMEWORK)? ▪ Ready tooling for building and deployment of Serverless application ▪ Plug-in mechanism to enhance and customize the development experience ▪ Capability (via plugins) to run Lambda functions locally (run & test without deployment) ▪ Easier to debug (consume logs locally) ▪ Multi-cloud support (AWS + Azure / Google / Bluemix)
  • 11.
  • 12.
  • 13. Register http event for Lambda
  • 14.
  • 15. LIMITATIONS OF ”VANILLA” SERVERLESS ▪ No ability to run code / test offline ▪ Deployment produces an unoptimal package => slow ”cold start” ▪ Need to manually set up tests ▪ Need to define IAM Roles for AWS Resources (DynamoDB / SNS) Let’s give the SC5 Serverless boilerplate a try! https://github.com/SC5/sc5-serverless-boilerplate
  • 16.
  • 17. Plugins Grant permissions to DynamoDB and SNS Exclude unnecessary items from deployment
  • 20. Command provided by serverless-mocha-plugin Command provided by serverless-offline
  • 22.
  • 23.
  • 24.
  • 25. ADDITIONAL RESOURCES Boilerplates ▪ https://github.com/SC5/serverless-messenger-boilerplate : Create bots using Messenger Platform and Wit.ai ▪ https://github.com/laardee/serverless-authentication-boilerplate : Create API Gateway custom authorizers Workshops ▪ http://serverless.fi/docs/blog-workshop.pdf : Build a simple serverless chat service ▪ http://serverless.fi/docs/messenger-workshop.pdf : Build a Messenger weather bot using Wit.ai and Serverless
  • 27. HAPPY OR NOT WEBSHOP (2015) (SUB)OBJECTIVE: ★ Create Authorize.net profile, Salesforce account, order, invoice after webshop purchase (async) CHALLENGES: ★ Lambda max timeout 60 secs ★ No guarantee for the whole chain to perform within timeout 27 Challenges
  • 28. HAPPY OR NOT WEBSHOP (2015) 28 Decoupling with SNS 1. Receive confirmation from Authorize.net 2. Create Authorize.net Payment profile 3. Create Salesforce account & contact 4. Create Salesforce order & invoice SESSION TABLE (Lambdas read and update info) WEBSHOP TOPIC (Lambdas subscribe and post to topic)
  • 29. HOW IT COULD BE DONE IN 2017 29 HappyOrNot Webshop 1. Receive confirmation from Authorize.net 3a. Create Authorize.net Payment profile 3b. Create Salesforce account & contact 3c. Create Salesforce order & invoice SESSIONS (Lambdas read and update info) 2. Launch step function 3. Step function controls flow of Lambda calls
  • 30. GASUM ONLINE PORTAL (2016) SUBOBJECTIVE: ★ Build an API (read/write) on top of data managed internally CHALLENGES: ★ No network / API access to internal application 30 Challenges
  • 31. GASUM ONLINE PORTAL (2016) 31 Hybrid data setup & API Serve API calls from application(s) Subscribe S3 bucket Update database on uploads Read (DB) / write (DB, S3) based on API requests S3 bucket as proxy for communication Internal Application .EXE Client app syncs data between ERP and S3
  • 32. SC5 OPS MACHINE (2017) OBJECTIVE: ★ Collect data from different data sources to a consistent and easily accessible data set (e.g. PowerBI / applications / business automation) 32 Challenges
  • 33. SC5 OPS MACHINE (2017) 33 Serverless data pipeline 1. Scheduled event(s) fire Lambda(s) 2. Lambdas extract data from source systems to S3 3. Lambdas subscribe to S3, normalize data and save to S3 EXTRACTED DATA NORMALIZED DATA 4. Lambdas subscribe to S3, store data to various targets Source / target system access secrets encrypted using KMS
  • 34. HOW IT COULD BE DONE (SOON?) 34 Data pipeline
  • 35. VIDEO CONTENT CLASSIFIER (2017) OBJECTIVE: ★ Identify contents of video (entry for contest in ServerlessConf Austin 2017) 35 Challenges
  • 36.
  • 37. DEMO