SlideShare a Scribd company logo
WITH LESSONS LEARNED IN DEVOPS
IN SERVERLESS
by Dmitri Zimine
ExtremeNetworks
StackStorm
@dzimine
Simon says...
Source: Why the Fuss About Serverless? | Simon Wardley | ServerlessConf 17
DevOps is a new legacy … and rejected
Source: Why the Fuss About Serverless? | Simon Wardley ServerlessConf 17
DevOps is a new legacy … and rejected
Source: Why the Fuss About Serverless? | Simon Wardley ServerlessConf 17
1. State of reuse in Serverless
2. What we can learn from DevOps if we care
3. Demo: experiment of recycling DevOps to Serverless
4. Future directions
Azure LogicApps
connectors
~200
0
100
200
300
400
500
600
700
800
1 11 21 31 41 51 61 71 81 91 101 111 121 131 141 151 161 171 181 191 201 211 221 231 241 251 261 271 281 291 301
1 alexa-skills-kit-nodejs-factskill 7280
2 SecretsManagerRDSMySQLRotationSingleUser 736
3 alexa-skills-kit-nodejs-triviaskill 674
4 hello-world 472
5 alexa-skills-kit-nodejs-howtoskill 425
6 alexa-skills-kit-color-expert 331
7 SecretsManagerRDSPostgreSQLRotationSingleUser 305
8 SecretsManagerRDSMySQLRotationMultiUser 250
9 microservice-http-endpoint 230
10 alexa-skills-kit-color-expert-python 224
60 greengrass-hello-world 27
61 splunk-logging 27
62 crypto-monitor 27
63 s3-static-site 26
64 sns-message-python 26
65 DailyDoggo 25
• Since Nov’17, GA Feb ’18
• 306 apps, up from 246 May’18
• Top: 7280 deployments - outlier?
• 2nd top: 736 deployments
• 16 apps (5%) with > 100
deployments
• Launched April 2018
• 22 components in repository:
Mostly basic types: lambda, s3, api-gateway
No “catalog” site – just a github repo.
• 649 GitHub stars
• No public stats on usage found
Serverless Components – GitHub Stars
hmm...
Why they don’t
take-off?
DevOps is a new legacy … and rejectedbecause they’re
Ops Patterns
DevOps is a new legacy … and rejected
Huh?
because they’re
Ops Patterns
REUSE
Code Libraries Design Patterns
DEVELOPERS
REUSE
Code Libraries Design Patterns
Ops Patterns
DEVELOPERSDEVOPS
1. Code
2. Works out of box
3. Never used “as is”,
always forked.
Chef has recepies and cookbooks
Ansible has modules and playbooks
Stackstorm has integrations and automations
libraries and ops patterns
Ops pattern example: StackStorm automation
Automation
EngineerService
Monitoring Incident
Management
Event: “low disk
on web301”
Web301 is
“low disk”
Resolve known cases,
fast. Is it
/var/log?
Clean up!
Unknown
problem, need a
human
Wake up, buddy.
Something real
is going on…
Remediate low-disk space
Reuse, Reduce, Recycle in Serverless World
Reuse, Reduce, Recycle in Serverless World
Apps
Ops Patterns!
Missing: reusable libraries!
AppsPatterns
StackStorm Exchange
• Open Source Catalog of
Reusable Actions
• Since 2014
• 160+ integrations,
6,500+ actions
Recycle
• Use Exchange as Open Catalog
of Serverless functions
• Turn StackStorm actions
into Lambda functions
• Make it easy with
@goserverless Framework
RECYCLE StackStorm Exchange for Serverless
How people Lambda before Serverless?
Reuse, Reduce, Recycle in Serverless World
in 30 seconds
ActionsSensors
WorkflowsRules
IT Domains
Config mgmtStorageNetworking ContainersCloud InfraMonitoring Ops Support
Triggers Calls
For details: StackStorm.com
Automation
EngineerService
Monitoring Incident
Management
Event: “low disk
on web301”
Web301 is
“low disk”
Resolve known cases,
fast. Is it
/var/log?
Clean up!
Unknown
problem, need a
human
Wake up, buddy.
Something real
is going on…
Remediate low-disk space
StackStorm is like …
ActionsSensors
WorkflowsRules
Step Functions
AWS Lambda
open-source
born 2013
server-full
StackStorm is like …
Sensors
WorkflowsRules
open-source
born 2013
server-full
Actions:
like Functions,
REUSABLE
show Exchagne →
Action is like a Function (command pattern)
StackStorm Exchange Facts
• 140 integration packs, 6,500+ actions
• Open Source
• Mature – packs since 2014, Exchange site launched 2016
• Heavily used and contributed
• Strong community
What if I could
•Reuse Exchange integrations in #Serverless projects?
•Recycle #StackStorm actions to Lambda functions?
•Make it easy?
31
Show time
Set up a new serverless project
$ mkdir stormless
$ cd stormless
$ npm init
...
$ sls plugin install 
--name serverless-plugin-stackstorm
...
$ sls stackstorm --help
run commands →
shw
Action from StackStorm Exchange,
{pack}.{action_name}
Input transformation,
with Jinja templates
Output transformation,
with Jinja templates
Handy for use in StepFunctions
Plugin reference
Pack-level configuration
parameters.
run commands →
Look under the hood
#stormless
#stormless
Exchange
browse
package run locally
deploy
AWS
lambci/docker-lambda
serverless-plugin-stackstorm
#serverless
stackstorm-runner
pack/actions
handler.py
requirements
https://github.com/StackStorm/serverless-plugin-stackstorm
Exchange
browse
package run locally
deploy
AWS
#serverless
lambci/docker-lambda
serverless-plugin-stackstorm
check deployment →
#codeless
Just kidding !
... but we didn’t write any code!
We REUSED it.
https://goo.gl/EyGGVE
since Nov’17
246 apps
since Apr’18
? apps
since 2014
160 packs
DevOps is a new legacy … and rejectedYoung
Serverless,
will you use
Exchange?
No thanks DevOps,
I’ll be
building my own
The Serverless Function Catalog of the Future
• Discoverable – by humans and computers
== site, index… check exchange.stackstorm.com
• Full of usable functions
• Frictionless dev experience
• Easy to consume – integration with dev frameworks: SAM, Serverless...
• Easy to contribute – new functions, patches
• Open…
… and sustainable
• Backed up by major cloud(s)? Independent? Foundation?
• Community maintained
• Code is cheap. Community is not.
What’s Next
• Star the plugin
https://github.com/StackStorm/serverless-plugin-stackstorm
• Follow the tutorial – experience it:
• https://goo.gl/EyGGVE
• Explore Exchange
• exchange.stackstorm.org
• Let’s keep discussion going
• Come by StackStorm table @ServerlessConf
• forum.serverless.com or forum.stackstorm.com
• Twitter: @Stack_Storm, @goserverless, @dzimine
Reuse, Reduce, Recycle in Serverless World
Credits
Kirill Enykeev
@enykeev
Tomaz Muraus
@Kami
WWW.EXTREMENETWORKS.COM
Thank you!
Open Source

More Related Content

PDF
Function as a Service
PDF
Amplifying Docker - Alex Heneveld

PDF
Removing Environmental Differences - Simon Pearson
PDF
Hystrix
PDF
Building a Raspberry Pi cluster with Kubernetes, OpenFaaS and .NET
PDF
Docker Cambridge: Serverless Functions Made Simple with OpenFaaS
PDF
Immutable Infrastructure: Rise of the Machine Images
PDF
Infrastructure as code
Function as a Service
Amplifying Docker - Alex Heneveld

Removing Environmental Differences - Simon Pearson
Hystrix
Building a Raspberry Pi cluster with Kubernetes, OpenFaaS and .NET
Docker Cambridge: Serverless Functions Made Simple with OpenFaaS
Immutable Infrastructure: Rise of the Machine Images
Infrastructure as code

What's hot (20)

PDF
Kubecon 2017 Zero Touch Kubernetes
PDF
#SREcon Immutable Infrastructure: rethinking configuration mgmt
PDF
PuppetConf 2016: Multi-Tenant Puppet at Scale – John Jawed, eBay, Inc.
PDF
Aws + kubernetes = ❤︎
PDF
DevOps Summit 2016 - The immutable Journey
PDF
DrupalCon Barcelona 2015 - Drupal Extreme Scaling
PDF
OpenFaaS 2019 Project Update
PDF
Containerised ASP.NET Core apps with Kubernetes
PDF
GitOps meets Serverless
PDF
What is Digital Rebar Provision (and how RackN extends)?
PDF
Continuous Integration on Steroids
PDF
Kubernetes on IBM Cloud + DevOps コンテナCIで簡易アプリ作ってみた
PDF
100% Puppet Cloud Deployment of Legacy Software
PDF
TIAD : Automating the aplication lifecycle
PDF
NLUUG print conference May 26 2016
PPTX
Managing AWS infrastructure using CloudFormation
PDF
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - A...
PDF
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
PDF
Luciano Fiandesio - Docker 101 | Codemotion Milan 2015
PDF
Running tests for every commit: Gerrit, Jenkins, Docker, AWS
Kubecon 2017 Zero Touch Kubernetes
#SREcon Immutable Infrastructure: rethinking configuration mgmt
PuppetConf 2016: Multi-Tenant Puppet at Scale – John Jawed, eBay, Inc.
Aws + kubernetes = ❤︎
DevOps Summit 2016 - The immutable Journey
DrupalCon Barcelona 2015 - Drupal Extreme Scaling
OpenFaaS 2019 Project Update
Containerised ASP.NET Core apps with Kubernetes
GitOps meets Serverless
What is Digital Rebar Provision (and how RackN extends)?
Continuous Integration on Steroids
Kubernetes on IBM Cloud + DevOps コンテナCIで簡易アプリ作ってみた
100% Puppet Cloud Deployment of Legacy Software
TIAD : Automating the aplication lifecycle
NLUUG print conference May 26 2016
Managing AWS infrastructure using CloudFormation
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - A...
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Luciano Fiandesio - Docker 101 | Codemotion Milan 2015
Running tests for every commit: Gerrit, Jenkins, Docker, AWS
Ad

Similar to Reuse, Reduce, Recycle in Serverless World (20)

PDF
Serverless in production, an experience report (CoDe-Conf)
PPTX
Weave User Group Talk - DockerCon 2017 Recap
PPTX
Matt Franklin - Apache Software (Geekfest)
PDF
Ransack, an Application Built on Ansible's API for Rackspace -- AnsibleFest N...
PDF
Serverless in production, an experience report (IWOMM)
PDF
Serverless in production, an experience report
PDF
OpenFaaS - zero serverless in 60 seconds anywhere with case-studies
PDF
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
PDF
Serverless in Production, an experience report (AWS UG South Wales)
PDF
Pilot Tech Talk #10 — Practical automation by Kamil Cholewiński
PDF
Serverless in production, an experience report (FullStack 2018)
PDF
Austin Web Architecture
PPTX
Ruby Under The Hood
PPTX
OpenWhisk Go Runtime
PPTX
Go Faster with Ansible (AWS meetup)
PDF
Dockercon EU 2014
PDF
Puppet for Sys Admins
PDF
Corwin on Containers
PPTX
The Tale of a Docker-based Continuous Delivery Pipeline by Rafe Colton (ModCl...
PDF
Fantastic Design Patterns and Where to use them No Notes.pdf
Serverless in production, an experience report (CoDe-Conf)
Weave User Group Talk - DockerCon 2017 Recap
Matt Franklin - Apache Software (Geekfest)
Ransack, an Application Built on Ansible's API for Rackspace -- AnsibleFest N...
Serverless in production, an experience report (IWOMM)
Serverless in production, an experience report
OpenFaaS - zero serverless in 60 seconds anywhere with case-studies
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
Serverless in Production, an experience report (AWS UG South Wales)
Pilot Tech Talk #10 — Practical automation by Kamil Cholewiński
Serverless in production, an experience report (FullStack 2018)
Austin Web Architecture
Ruby Under The Hood
OpenWhisk Go Runtime
Go Faster with Ansible (AWS meetup)
Dockercon EU 2014
Puppet for Sys Admins
Corwin on Containers
The Tale of a Docker-based Continuous Delivery Pipeline by Rafe Colton (ModCl...
Fantastic Design Patterns and Where to use them No Notes.pdf
Ad

More from Dmitri Zimine (7)

PDF
Genomic Computation at Scale with Serverless, StackStorm and Docker Swarm
PPTX
Serverless on OpenStack with Docker Swarm, Mistral, and StackStorm
PDF
StackStrom: If-This-Than-That for Devops Automation
PPTX
Event driven-automation and workflows
PPTX
Mistral and StackStorm
PPTX
Event Driven Automation Meetup May 14/2015
PPTX
OpenStack Automation Overview
Genomic Computation at Scale with Serverless, StackStorm and Docker Swarm
Serverless on OpenStack with Docker Swarm, Mistral, and StackStorm
StackStrom: If-This-Than-That for Devops Automation
Event driven-automation and workflows
Mistral and StackStorm
Event Driven Automation Meetup May 14/2015
OpenStack Automation Overview

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Electronic commerce courselecture one. Pdf
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
cuic standard and advanced reporting.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Big Data Technologies - Introduction.pptx
PPT
Teaching material agriculture food technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Modernizing your data center with Dell and AMD
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Unlocking AI with Model Context Protocol (MCP)
Electronic commerce courselecture one. Pdf
Cloud computing and distributed systems.
Encapsulation_ Review paper, used for researhc scholars
cuic standard and advanced reporting.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Big Data Technologies - Introduction.pptx
Teaching material agriculture food technology
MYSQL Presentation for SQL database connectivity
Chapter 3 Spatial Domain Image Processing.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Modernizing your data center with Dell and AMD
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation theory and applications.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing

Reuse, Reduce, Recycle in Serverless World

Editor's Notes

  • #35: For the javascript crowd here: Jinga is a templating engine like Mustache or Handlebars, in Python