SlideShare a Scribd company logo
EVENT	
  DRIVEN	
  INFRASTRUCTURE	
  
DevOpsDays	
  Melbourne,	
  2015	
  
Shiva	
  N	
  (@shivamaan)	
  
Event driven infrastructure
A	
  BANANA	
  WAREHOUSE	
  AT	
  THE	
  ZOO	
  
RUN	
  A	
  BANANA	
  INVENTORY	
  EVERY	
  HOUR	
  
GIVE	
  ME	
  5	
  BANANAS	
  
MONKEY	
  TOOK	
  5	
  BANANAS	
  
Run	
  a	
  banana	
  
inventory	
  
Plot	
  monkeys	
  
banana	
  consumption	
  
pattern	
  
	
  
	
  
Analytics	
  on	
  
monkey	
  banana	
  
consumption	
  across	
  
all	
  zoos	
  
	
  
EVENT	
  DRIVEN	
  INFRASTRUCTURE	
  
Event	
  Bus	
  
Event	
  
Producers	
  
Event	
  
Transport	
  
Event	
  
Consumers	
  
- Real	
  time	
  (or	
  near	
  real	
  time)	
  
- Push	
  notifications	
  
- One-­‐way	
  ‘fire-­‐and-­‐forget’	
  
- Immediate	
  action	
  at	
  event	
  consumer	
  
- Informational	
  (“monkey	
  took	
  
bananas”)	
  and	
  not	
  commands	
  
(“perform	
  banana	
  inventory”)	
  
5	
  CHARACTERISTICS	
  
WHY?	
  
- Decouple	
  responsibilities	
  
- Communicate	
  by	
  triggering	
  events	
  
- Scale	
  out	
  components	
  horizontally	
  
- Higher	
  responsiveness	
  
- High	
  availability	
  &	
  Resiliency	
  
WHAT	
  ABOUT	
  INFRASTRUCTURE?	
  
AUTOMATED	
  CONFIGURATION	
  
MANAGEMENT	
  
- Puppet	
  
- Chef	
  
- Ansible	
  
- Salt	
  
- Etc.	
  
INFRASTRUCTURE	
  AS	
  CODE	
  
CLOUDFORMATION	
  +	
  CUSTOM	
  RESOURCES	
  =	
  NO	
  LIMITS	
  
STACKSTORM	
  
HOMEGROWN	
  TOOLS/SCRIPTS	
  
AWS	
  LAMBDA	
  
A	
  whole	
  new	
  world	
  
-  A	
  zero-­‐administration	
  compute	
  platform	
  
-  Stored	
  procedures	
  for	
  the	
  cloud	
  
-  Function-­‐as-­‐a-­‐Service	
  (NodeJS/Java)	
  	
  
-  Event	
  driven	
  from	
  other	
  services	
  	
  
-  …or	
  triggered	
  externally	
  and	
  even	
  
chained	
  
WHAT	
  IS	
  LAMBDA?	
  
WHAT	
  EVENTS	
  DOES	
  YOUR	
  
INFRASTRUCTURE	
  REACT	
  TO?	
  
SIMPLE	
  EVENTS	
  
SPIKY	
  LOAD	
  EVENTS	
  
-  Pre	
  warming	
  (Time)	
  
-  Auto	
  scaling	
  (Metrics)	
  
-  Feed	
  forward	
  loops	
  
(Predictive)	
  	
  
COMPONENT	
  FAILURE	
  EVENTS	
  
- EC2	
  auto	
  healing	
  
- SQS	
  design	
  pattern	
  
- Service	
  discovery	
  +	
  Container	
  
recycling	
  
– Consul	
  
– Serf	
  
DISASTER	
  RECOVERY	
  EVENT	
  
SECURITY	
  EVENTS	
  
- DDos	
  Attacks	
  
- Instance	
  compromise	
  
STREAMING	
  EVENTS	
  
Cloudtrail	
  logs	
  
streaming	
  to	
  
Cloudwatch	
  
Subscribe	
  Kinesis	
  
stream	
  to	
  
Cloudwatch	
  logs	
  
Lambda	
  func8on	
  
subscribed	
  to	
  
Kinesis	
  watching	
  
for	
  pa:erns	
  
SNS	
  no8fica8on	
  for	
  
insecure	
  pa:erns	
  in	
  
Cloudtrail	
  logs	
  
COMPLEX	
  EVENTS	
  
- Event	
  Observer	
  Pattern	
  
- Intelligent	
  build	
  pipelines	
  
Event driven infrastructure
SENTIENT	
  EVENTS	
  ?!	
  
HOW	
  DOES	
  THIS	
  AFFECT	
  “THE	
  
DEVOPS”	
  
OPERATIONAL	
  LIFECYCLE	
  
– Immutable	
  infrastructure	
  
– No	
  patching	
  or	
  in	
  place	
  deployments	
  
SERVERLESS	
  ARCHITECTURES	
  
MONITORING	
  AND	
  METRICS	
  
– Centralized	
  logging	
  
– Log	
  Analytics	
  
– Build	
  metrics,	
  application	
  metrics,	
  
customer	
  experience	
  metrics	
  instead	
  
of	
  CPU,	
  memory	
  and	
  OS	
  metrics	
  
– Event	
  Storms	
  
	
  
	
  
IS	
  THIS	
  A	
  SCARY	
  PATH?	
  
THANK	
  YOU	
  

More Related Content

Similar to Event driven infrastructure (20)

PDF
Serverless in production, an experience report (IWOMM)
Yan Cui
 
PPT
Best Practices for Large-Scale Web Sites
Craig Dickson
 
PPTX
Understand immutable infrastructure, what? Why? how? - devops d day Marseill...
Quentin Adam
 
PPTX
Asynchronous micro-services and the unified log
Alexander Dean
 
PDF
StackWatch: A prototype CloudWatch service for CloudStack
Chiradeep Vittal
 
PDF
Building event-driven (Micro)Services with Apache Kafka
Guido Schmutz
 
PDF
Events, Streams, Devops and Speed - The Next Generation of Application Archit...
confluent
 
PDF
Span Conference: Why your company needs a unified log
Alexander Dean
 
PDF
Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with K...
confluent
 
PDF
Performance architecture for cloud connect
Adrian Cockcroft
 
PPTX
ThingMonk 2016 - Concursus Event sourcing for the IOT By Tareq Abedrabbo & Do...
OpenCredo
 
PDF
redBorder at Mobile World Congress 2015
redBorder
 
PDF
Spring Boot & Spring Cloud on PAS- Nate Schutta (2/2)
VMware Tanzu
 
PDF
Frictionless Application Development: Radically Change How You Secure and Mo...
DevOps.com
 
PDF
Running Ansible within Salt: Get the best from both worlds
meaksh
 
PDF
[WSO2Con EU 2017] Darwin Ate My App
WSO2
 
PDF
Serverless Spring - Nate Schutta 2/2
VMware Tanzu
 
PDF
How Netflix does Microservices
Manuel Correa
 
PDF
Containers in Production at GS Shop
Vivek Juneja
 
PDF
[D2 COMMUNITY] Open Container Seoul Meetup - Running a container platform in ...
NAVER D2
 
Serverless in production, an experience report (IWOMM)
Yan Cui
 
Best Practices for Large-Scale Web Sites
Craig Dickson
 
Understand immutable infrastructure, what? Why? how? - devops d day Marseill...
Quentin Adam
 
Asynchronous micro-services and the unified log
Alexander Dean
 
StackWatch: A prototype CloudWatch service for CloudStack
Chiradeep Vittal
 
Building event-driven (Micro)Services with Apache Kafka
Guido Schmutz
 
Events, Streams, Devops and Speed - The Next Generation of Application Archit...
confluent
 
Span Conference: Why your company needs a unified log
Alexander Dean
 
Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with K...
confluent
 
Performance architecture for cloud connect
Adrian Cockcroft
 
ThingMonk 2016 - Concursus Event sourcing for the IOT By Tareq Abedrabbo & Do...
OpenCredo
 
redBorder at Mobile World Congress 2015
redBorder
 
Spring Boot & Spring Cloud on PAS- Nate Schutta (2/2)
VMware Tanzu
 
Frictionless Application Development: Radically Change How You Secure and Mo...
DevOps.com
 
Running Ansible within Salt: Get the best from both worlds
meaksh
 
[WSO2Con EU 2017] Darwin Ate My App
WSO2
 
Serverless Spring - Nate Schutta 2/2
VMware Tanzu
 
How Netflix does Microservices
Manuel Correa
 
Containers in Production at GS Shop
Vivek Juneja
 
[D2 COMMUNITY] Open Container Seoul Meetup - Running a container platform in ...
NAVER D2
 

More from Shiva Narayanaswamy (20)

PDF
State of Union - Containerz
Shiva Narayanaswamy
 
PDF
Pets, Cattle, Rabbits and Microbes
Shiva Narayanaswamy
 
PDF
Leveraging Elastic Web Scale Computing with AWS
Shiva Narayanaswamy
 
PDF
Platform for Innovation - AWS
Shiva Narayanaswamy
 
PDF
Application Delivery Patterns
Shiva Narayanaswamy
 
PPTX
AWS Security and SecOps
Shiva Narayanaswamy
 
PDF
ECS and ECR deep dive
Shiva Narayanaswamy
 
PDF
AWS Tagging Strategy
Shiva Narayanaswamy
 
PDF
AWS + Puppet = Dynamic Scale
Shiva Narayanaswamy
 
PDF
Build high performing mobile apps, faster with AWS
Shiva Narayanaswamy
 
PDF
Your APIs can be soft and fluffy
Shiva Narayanaswamy
 
PDF
Innovation at Scale - Top 10 AWS questions when you start
Shiva Narayanaswamy
 
PDF
AWS Connectivity, VPC Design and Security Pro Tips
Shiva Narayanaswamy
 
PPTX
Dev/Test Environment Provisioning and Management on AWS
Shiva Narayanaswamy
 
PDF
DevOps, Common use cases, Architectures, Best Practices
Shiva Narayanaswamy
 
PPTX
Application Lifecycle Management and Event Driven Programming on AWS
Shiva Narayanaswamy
 
PPTX
Running Hybrid Cloud Patterns on AWS
Shiva Narayanaswamy
 
PPTX
AWS EC2 and ELB troubleshooting
Shiva Narayanaswamy
 
PPTX
Continuous delivery and deployment on AWS
Shiva Narayanaswamy
 
PPTX
Introduction to DevOps on AWS
Shiva Narayanaswamy
 
State of Union - Containerz
Shiva Narayanaswamy
 
Pets, Cattle, Rabbits and Microbes
Shiva Narayanaswamy
 
Leveraging Elastic Web Scale Computing with AWS
Shiva Narayanaswamy
 
Platform for Innovation - AWS
Shiva Narayanaswamy
 
Application Delivery Patterns
Shiva Narayanaswamy
 
AWS Security and SecOps
Shiva Narayanaswamy
 
ECS and ECR deep dive
Shiva Narayanaswamy
 
AWS Tagging Strategy
Shiva Narayanaswamy
 
AWS + Puppet = Dynamic Scale
Shiva Narayanaswamy
 
Build high performing mobile apps, faster with AWS
Shiva Narayanaswamy
 
Your APIs can be soft and fluffy
Shiva Narayanaswamy
 
Innovation at Scale - Top 10 AWS questions when you start
Shiva Narayanaswamy
 
AWS Connectivity, VPC Design and Security Pro Tips
Shiva Narayanaswamy
 
Dev/Test Environment Provisioning and Management on AWS
Shiva Narayanaswamy
 
DevOps, Common use cases, Architectures, Best Practices
Shiva Narayanaswamy
 
Application Lifecycle Management and Event Driven Programming on AWS
Shiva Narayanaswamy
 
Running Hybrid Cloud Patterns on AWS
Shiva Narayanaswamy
 
AWS EC2 and ELB troubleshooting
Shiva Narayanaswamy
 
Continuous delivery and deployment on AWS
Shiva Narayanaswamy
 
Introduction to DevOps on AWS
Shiva Narayanaswamy
 
Ad

Recently uploaded (20)

PDF
How Much GB RAM Do You Need for Coding? 5 Powerful Reasons 8GB Is More Than E...
freeshopbudget
 
PPTX
dns domain name system history work.pptx
MUHAMMADKAVISHSHABAN
 
PPTX
The Monk and the Sadhurr and the story of how
BeshoyGirgis2
 
PPTX
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
PDF
LB# 820-1889_051-7370_C000.schematic.pdf
matheusalbuquerqueco3
 
PPTX
B2B_Ecommerce_Internship_Simranpreet.pptx
LipakshiJindal
 
PDF
LOGENVIDAD DANNYFGRETRRTTRRRTRRRRRRRRR.pdf
juan456ytpro
 
PPTX
办理方法西班牙假毕业证蒙德拉贡大学成绩单MULetter文凭样本
xxxihn4u
 
PDF
The AI Trust Gap: Consumer Attitudes to AI-Generated Content
Exploding Topics
 
PPTX
原版北不列颠哥伦比亚大学毕业证文凭UNBC成绩单2025年新版在线制作学位证书
e7nw4o4
 
PPTX
AI at Your Side: Boost Impact Without Losing the Human Touch (SXSW 2026 Meet ...
maytaldahan
 
PDF
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
PPTX
How tech helps people in the modern era.
upadhyayaryan154
 
PDF
Data Protection & Resilience in Focus.pdf
AmyPoblete3
 
PDF
GEO Strategy 2025: Complete Presentation Deck for AI-Powered Customer Acquisi...
Zam Man
 
PPT
1965 INDO PAK WAR which Pak will never forget.ppt
sanjaychief112
 
PPTX
MSadfadsfafdadfccadradfT_Presentation.pptx
pahalaedward2
 
PPTX
Google SGE SEO: 5 Critical Changes That Could Wreck Your Rankings in 2025
Reversed Out Creative
 
PPTX
Pengenalan perangkat Jaringan komputer pada teknik jaringan komputer dan tele...
Prayudha3
 
PDF
Cybersecurity Awareness Presentation ppt.
banodhaharshita
 
How Much GB RAM Do You Need for Coding? 5 Powerful Reasons 8GB Is More Than E...
freeshopbudget
 
dns domain name system history work.pptx
MUHAMMADKAVISHSHABAN
 
The Monk and the Sadhurr and the story of how
BeshoyGirgis2
 
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
LB# 820-1889_051-7370_C000.schematic.pdf
matheusalbuquerqueco3
 
B2B_Ecommerce_Internship_Simranpreet.pptx
LipakshiJindal
 
LOGENVIDAD DANNYFGRETRRTTRRRTRRRRRRRRR.pdf
juan456ytpro
 
办理方法西班牙假毕业证蒙德拉贡大学成绩单MULetter文凭样本
xxxihn4u
 
The AI Trust Gap: Consumer Attitudes to AI-Generated Content
Exploding Topics
 
原版北不列颠哥伦比亚大学毕业证文凭UNBC成绩单2025年新版在线制作学位证书
e7nw4o4
 
AI at Your Side: Boost Impact Without Losing the Human Touch (SXSW 2026 Meet ...
maytaldahan
 
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
How tech helps people in the modern era.
upadhyayaryan154
 
Data Protection & Resilience in Focus.pdf
AmyPoblete3
 
GEO Strategy 2025: Complete Presentation Deck for AI-Powered Customer Acquisi...
Zam Man
 
1965 INDO PAK WAR which Pak will never forget.ppt
sanjaychief112
 
MSadfadsfafdadfccadradfT_Presentation.pptx
pahalaedward2
 
Google SGE SEO: 5 Critical Changes That Could Wreck Your Rankings in 2025
Reversed Out Creative
 
Pengenalan perangkat Jaringan komputer pada teknik jaringan komputer dan tele...
Prayudha3
 
Cybersecurity Awareness Presentation ppt.
banodhaharshita
 
Ad

Event driven infrastructure