Using Amazon CloudWatch Container Insights
Monitoring is a must-have, whether running containers or not. Not having a proper monitoring system in place is like driving a car blindfolded. AWS offers Amazon CloudWatch Container Insights, a managed service that provides a complete container monitoring solution. I have seen many customers using Amazon CloudWatch Container Insights with Amazon ECS, as it leverages AWS CloudWatch Agent and an ECS agent, which makes it a one-line command to enable.
On Amazon EKS, it is much more common to see customers adopting Prometheus and Grafana for monitoring, which have some limitations with Windows containers due to the Prometheus node_exporter
not natively supporting Windows containers. This again leads you to appeal to another open source plugin called windows_exporter
. If you need to deep dive into Prometheus and Windows, I encourage you to work closely with the Prometheus and windows_exporter open source communities.
For this book, I’...