0
Microservices describes how visibility into network traffic is the key to monitoring, managing and securing applications that are composed of large numbers of communicating services running in virtual machines or containers.
Amazon Virtual Private Cloud (VPC) Flow Logs can be used to monitor network traffic:
However, there are
limitations on the types of traffic that are logged, a
10-15 minute delay in accessing flow records, and costs associated with using VPC and storing the logs in
CloudWatch (currently $0.50 per GB ingested, $0.03 per GB archived per month, and possible addition Data Transfer OUT charges).
In addition, collecting basic host metrics at 1 minute granularity using
CloudWatch is an additional $3.50 per instance per month.
The open source
Host sFlow agent offers an alternative:
- Lightweight, requiring minimal CPU and memory on EC2 instances.
- Real-time, up to the second network visibility
- Efficient, export of extensive set of host metrics every 10-60 seconds (configurable).
This article will demonstrate how to install Host sFlow on an Amazon Linux instance:
$ cat /etc/issue
Amazon Linux AMI release 2016.03
The following commands build the latest
Continue reading