SlideShare a Scribd company logo
Monitoring microservices:
Docker, Mesos and
Kubernetes visibility at scale
Me
Alessandro Gallotta
Software Engineer @sysdig
@alex_gallotta
@sysdig
Introducing Sysdig
• Capture system events, filter them, run useful scripts
• Lua scripting
• Open Source
• Nice curses UI
lsof
netstat
tcpdump
htop
ps
strace
and more
• track user activity
• top files/processes/connections by
• cpu
• bytes
• …
• logs
• containers
• tracers
• you name it, we track it
Design Goals
• Production-ready
• Simple
• lightweight
• Rich data
• Natural workflow
• Native support for containers
• Native support for
and more…
Demo time
Containers are Great…
• Simple
• Scalable
• Isolated
• Service-oriented
• Elastic
• Flexible
• Separation of concerns
But Some Things Are Becoming More
Complex
Cache
Webserver
Database
Legacy Monolitic App
But Some Things Are Becoming More
Complex
Computing Node
Computing Node
Computing Node
Service1
Service2
Service3
Computing Node
Computing Node
Computing Node
Container-based App
But Some Things Are Becoming More
Complex
Computing Node
Computing Node
Computing Node
Computing Node
Computing Node
Computing Node
Container-based App
Service1
Service2
Service3
But Things Are Becoming More Complex
Computing Node
Computing Node
Computing Node
Service1
Service2
Service3
Computing Node
Computing Node
Computing Node
Container-based App
Two Problems
Problem #1: 

How Do We Get Data Out of These Guys?
Computing Node
Computing Node
Computing Node
Service1
Service2
Service3
Computing Node
Computing Node
Computing Node
Container-based App
• System
• Network
• Process
• JVM
• Response Time
• Requests
• Errors
Problem #2: 

How Do We Get Make Sense of the Data?
Computing Node
Computing Node
Computing Node
Service1
Service2
Service3
Computing Node
Computing Node
Computing Node
Container-based App
Complexity Calls for Great Monitoring
•Isolated
•Automated
•Orchestration-aware
•Simple
•Scalable
The Orchestrated Version of This
Complexity Also Calls for Great Troubleshooting
What‘s the network
activity of my
Marathon group?
What’s using the
CPU the Wordpress
task?
How the hell does
my Mesos task
work?!
Where’s the
bottleneck?
What’s the response
time of my login
service?
What transactions is my
Redis service serving?
Hypervisor
How Do I Get Data Out of These Things: VMs
VM1 VM3VM2
Hypervisor
Monitoring VMs, Option 1
VM1 VM3VM2
Hypervisor-level instrumentation,
Amazon CloudWatch
Hypervisor
Monitoring VMs, Option 2
VM1 VM3VM2
Monitoring Agent
OS
Monitoring Containers
Container1 Container3Container2
OS
Monitoring Containers, Option 1
Container1 Container3Container2
Monitoring Agent
OS
Monitoring Containers, Option 1
Container1 Container3Container2
Monitoring Agent
• Not scalable
• Not composable
• Adds dependencies/size
• Kills the concept of one process per container
OS
Monitoring Containers, Option 2
Container1 Container3Container2
Container runtime – level monitoring
Kernel-level instrumentation
OS
Monitoring Containers, Option 3
Container1 Monitoring
Container
Container2
Sysdig Data Collection
Kernel
Container1
Docker
Container2
Docker
Container3
LXCAppApp
Sysdig Data Collection
Kernel
Container1
Docker
Container2
Docker
Container3
LXCAppApp
Instrumentation
through kernel
module
Sysdig Data Collection
Kernel
Container1
Docker
Container2
Docker
Container3
LXCAppApp
sysdig
Docker
Capture and
analysis
Sky cloud is the limit
• Correlate data
• Scale with your
infrastructure
• Alerts, notifications,
visualization tools
• Continuous data
collection and retention
from production systems
Sysdig Cloud
• Sysdig evolution for the
cloud
• Preserve the premises
• production ready
• natural workflow
• ease of use
• 0 to low config needed
Out of the box support
Demo time 2
How About Security?
Did someone log into
one of our containers?
Has something
been installed in
one of the
containers?
Have we been
hacked?
Were configuration files
changed?
How About Security?
Did someone log into
one of our containers?
Have we been
hacked?
Were configuration files
changed?
Has something
been installed in
one of the
containers?
An anomaly detection system built on top of the
sysdig engine
Falco Architecture
Kernel
Container1
Docker
Container2
rkt
Container3
LXCAppApp
Rule system
Docker
• File activity
• Network Activity
• User Activity
• Process execution
• IPC
• …
Rules Examples
rule: shell_in_container
desc: a shell running in a container
condition: container.id != host and proc.name = bash
output: “Shell running in container (user=%user.name
container_id=%container.id container_name=%container.name
shell=%proc.name parent=%proc.pname)”
priority: WARNING
Rules Examples
rule: mysqld_spawn_process
desc: mysqld spawning a new process after startup.
condition: spawn_process and proc.name = mysqld and not
proc_is_new
output: “mysqld spawned new process after startup
(user=%user.name command=%proc.cmdline file=%fd.name)”
priority: WARNING
Rules Examples
macro: open_connection
condition: syscall.type=connect and evt.dir=< and fd.sockfamily =ip
rule: system_binaries_network_activity
desc: any network connection initiated by system binaries that are not
expected to send or receive any network traffic
condition: open_connection and proc.name in (ls, ps, mkdir, … )
output: Known system binary made network connection (user=%user.name
command=%proc.cmdline connection=%fd.name)
priority: WARNING"
Thank You!
www.sysdig.org
www.sysdig.org/falco
@alex_gallotta
@sysdig
github.com/draios
www.sysdig.com

More Related Content

PPT
An Introduction to Container Organization with Docker Swarm, Kubernetes, Meso...
PPTX
Mesos and Kubernetes ecosystem overview
PDF
Kubernetes in 15 minutes
PPTX
Platform as a Service with Kubernetes and Mesos
PPT
Building Clustered Applications with Kubernetes and Docker
PDF
Multi-Container Apps spanning Docker, Mesos and OpenStack
PDF
Kubernetes 101
PDF
Cluster management with Kubernetes
An Introduction to Container Organization with Docker Swarm, Kubernetes, Meso...
Mesos and Kubernetes ecosystem overview
Kubernetes in 15 minutes
Platform as a Service with Kubernetes and Mesos
Building Clustered Applications with Kubernetes and Docker
Multi-Container Apps spanning Docker, Mesos and OpenStack
Kubernetes 101
Cluster management with Kubernetes

What's hot (20)

PPTX
A brief study on Kubernetes and its components
PDF
KubeCon CloudNativeCon 2016 Seattle - a report
PPT
Building Clustered Applications with Kubernetes and Docker
PDF
Kubernetes Architecture and Introduction
PDF
Docker Madison, Introduction to Kubernetes
PPTX
Planes, Raft, and Pods: A Tour of Distributed Systems Within Kubernetes
PDF
Scaling Docker with Kubernetes
PPTX
DevOps with Kubernetes
PDF
"Kubernetes as Driver of Generic IT Automation"
PDF
Scaling Docker with Kubernetes
PDF
Continuous delivery of microservices with kubernetes - Quintor 27-2-2017
PDF
Moving to Kubernetes - Tales from SoundCloud
PPTX
Introduction to Kubernetes
PPTX
Working with kubernetes
PDF
Kubernetes and CoreOS @ Athens Docker meetup
PDF
Kubernetes on Top of Mesos on Top of DCOS
PDF
WSO2Con US 2015 Kubernetes: a platform for automating deployment, scaling, an...
PDF
Achieving CI/CD with Kubernetes
PPTX
Orchestrating Docker Containers with Google Kubernetes on OpenStack
PPTX
Managing Docker Containers In A Cluster - Introducing Kubernetes
A brief study on Kubernetes and its components
KubeCon CloudNativeCon 2016 Seattle - a report
Building Clustered Applications with Kubernetes and Docker
Kubernetes Architecture and Introduction
Docker Madison, Introduction to Kubernetes
Planes, Raft, and Pods: A Tour of Distributed Systems Within Kubernetes
Scaling Docker with Kubernetes
DevOps with Kubernetes
"Kubernetes as Driver of Generic IT Automation"
Scaling Docker with Kubernetes
Continuous delivery of microservices with kubernetes - Quintor 27-2-2017
Moving to Kubernetes - Tales from SoundCloud
Introduction to Kubernetes
Working with kubernetes
Kubernetes and CoreOS @ Athens Docker meetup
Kubernetes on Top of Mesos on Top of DCOS
WSO2Con US 2015 Kubernetes: a platform for automating deployment, scaling, an...
Achieving CI/CD with Kubernetes
Orchestrating Docker Containers with Google Kubernetes on OpenStack
Managing Docker Containers In A Cluster - Introducing Kubernetes
Ad

Viewers also liked (6)

PDF
Software Architecture Conference - Monitoring Microservices - A Challenge
PDF
Data processing platforms with SMACK: Spark and Mesos internals
PDF
How to deploy Apache Spark 
to Mesos/DCOS
PDF
Reactive dashboard’s using apache spark
PDF
Microservices Workshop All Topics Deck 2016
PDF
Data processing platforms architectures with Spark, Mesos, Akka, Cassandra an...
Software Architecture Conference - Monitoring Microservices - A Challenge
Data processing platforms with SMACK: Spark and Mesos internals
How to deploy Apache Spark 
to Mesos/DCOS
Reactive dashboard’s using apache spark
Microservices Workshop All Topics Deck 2016
Data processing platforms architectures with Spark, Mesos, Akka, Cassandra an...
Ad

Similar to Monitoring microservices: Docker, Mesos and Kubernetes visibility at scale (20)

PPTX
You're monitoring Kubernetes Wrong
PDF
Intro to sysdig in 15 minutes
PDF
DCSF19 Container Security: Theory & Practice at Netflix
PDF
How to Monitor Microservices
PPTX
Why Kubernetes as a container orchestrator is a right choice for running spar...
PDF
Security Events Logging at Bell with the Elastic Stack
PPTX
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
PDF
Alex Dias: how to build a docker monitoring solution
PDF
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
PDF
Eine Einführung in Docker
PPTX
The Art of Container Monitoring
PDF
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
PDF
Containers - Transforming the data centre as we know it 2016
PPTX
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
PPTX
DevNexus 2015: Kubernetes & Container Engine
PDF
DevOpsCon 2015 - DevOps in Mobile Games
PDF
Python & Cassandra - Best Friends
PDF
Cassandra Day Denver 2014: Python & Cassandra Best Friends
PPTX
OpenStack Summit
You're monitoring Kubernetes Wrong
Intro to sysdig in 15 minutes
DCSF19 Container Security: Theory & Practice at Netflix
How to Monitor Microservices
Why Kubernetes as a container orchestrator is a right choice for running spar...
Security Events Logging at Bell with the Elastic Stack
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
Alex Dias: how to build a docker monitoring solution
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
Eine Einführung in Docker
The Art of Container Monitoring
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
Containers - Transforming the data centre as we know it 2016
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
DevNexus 2015: Kubernetes & Container Engine
DevOpsCon 2015 - DevOps in Mobile Games
Python & Cassandra - Best Friends
Cassandra Day Denver 2014: Python & Cassandra Best Friends
OpenStack Summit

Recently uploaded (20)

PDF
Nekopoi APK 2025 free lastest update
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Transform Your Business with a Software ERP System
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
medical staffing services at VALiNTRY
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Nekopoi APK 2025 free lastest update
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
How Creative Agencies Leverage Project Management Software.pdf
L1 - Introduction to python Backend.pptx
Transform Your Business with a Software ERP System
wealthsignaloriginal-com-DS-text-... (1).pdf
medical staffing services at VALiNTRY
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Odoo Companies in India – Driving Business Transformation.pdf
Understanding Forklifts - TECH EHS Solution
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Design an Analysis of Algorithms II-SECS-1021-03
How to Choose the Right IT Partner for Your Business in Malaysia
Which alternative to Crystal Reports is best for small or large businesses.pdf
Design an Analysis of Algorithms I-SECS-1021-03
How to Migrate SBCGlobal Email to Yahoo Easily
CHAPTER 2 - PM Management and IT Context
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...

Monitoring microservices: Docker, Mesos and Kubernetes visibility at scale