How to build a monitoring system for docker from scratch and how to use Azure Operations Management Suite (aka OMS) to collect info about docker cluster deployment
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Monitoring docker: from zero to Azure
1.
2. Docker e Azure:
la vita dopo il deploy
Alessandro Melchiori
@amelchiori
http://melkio.codiceplastico.com
3.
4. Docker overview
● Docker is an open platform for developing, shipping, and running applications
● Docker provides the ability to package and run an application in a loosely
isolated environment called a container
● Containers are lightweight because they don’t need the extra load of a
hypervisor, but run directly within the host machine’s kernel
5. Docker architecture
Docker Engine is a client-server application with three major components:
● A server which is a type of long-running program called a daemon process
● A REST API which specifies interfaces that programs can use to talk to the
daemon and instruct it what to do.
● A command line interface (CLI) client
7. Docker architecture
● The Docker daemon (dockerd) listens for Docker API requests and
manages Docker objects such as images, containers, networks, and volumes.
● The Docker client (docker) is the primary way that many Docker users
interact with Docker. When you use commands such as docker run, the
client sends these commands to dockerd, which carries them out.
● A Docker registry stores Docker images.
8. Docker objects: images
● An image is a read-only template with instructions for creating a Docker
container.
● Often, an image is based on another image, with some additional
customization.
9. Docker objects: containers
● A container is a runnable instance of an image.
● By default, a container is relatively well isolated from other containers and its
host machine. You can control how isolated a container’s network, storage, or
other underlying subsystems are from other containers or from the host
machine.
10. How to monitor (not-only) docker in Azure?
Operations Management Suite (also known as OMS)
● Minimal cost and complexity of deployment
● Scale to cloud levels
● Take advantage of the latest features
● Integrated services
● Global knowledge
● Access from anywhere
11. OMS services
● Log Analytics
○ monitor and analyze the availability and performance of different resources including physical
and virtual machines
● Automation
○ automate manual processes and enforce configurations for physical and virtual machines.
● Backup
● Site recovery