Stackstorm
Event Driven Automation
Alexander Köhler Karlsruhe, 25.08.2016
2
IFTTT.
3
Event-Driven
Event Regel Aktion
HostB
4
Grundprinzip
HostA
st2sensorcontainer
Sensor
st2api
WebHook
MessageQueue
st2ruleengine
Trigger
Bedingung
st2actionrunner
Action
HostB
HostA
Service
5
Demo
CLI {Trigger; Actions; Execution History}
Web GUI {Rules}
Webhooks
Workflow
6
ActionChains
Event Regel
Aktion
Aktion
Aktion
Aktion
Aktion
..oder auch Workflows
7
Wozu kann man es nutzen?
• Auto-Remedation
• Runbook-Automation
• Chatops
• CI/CD
8https://www.tomaz.me/slides/event-driven-infrastructure-automation-with-stackstorm/#27
Beispiele
9
TL; DR
• Weiterentwicklung in Community& Enterprise Edition
• Übergreifende,integrative Plattform
• Scaling:einzelne Teil-Dienste können ausgelagertwerden.
• Technologie-Stack:Nginx (FrontEnd),RabbitMQ
(MessageQueue),MongoDB(Auditierung), PostgreSql
(integrierte MistralWorkflow Engine),
• Community-basedPackserleichtern den Einstieg
(https://github.com/StackStorm/st2contrib)
• Rezentralisierenvon Automationen
Vielen Dank
Alexander Köhler
DevOpsEngineerLinux
inovexGmbH
Ludwig-Erhard-Allee6
76131Karlsruhe
alexander.koehler@inovex.de
0173 3181 034

Stackstorm – Event driven Automation