Monitoring the Host Machine

What does it mean to monitor the host machine and why do we even need to do that? We have learned that we can spin up containers in seconds, so why not just monitor them?

What happens if for some reason the host machine goes down, as in the case of a scale-in, or it cannot accept requests anymore? Those scenarios do happen, so we need to be ready to respond to them. Another reason for monitoring the host machine is to find out if we are running into resource constraints of any kind. We have learned that we can spin up n number of containers quickly, but of course, the number we can really spin up on one host VM depends on resources, such as memory and CPU available on the host system. By monitoring the host machine, ...

Get Microservices with Docker on Microsoft Azure™ (includes Content Update Program) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.