Chapter 16: Various Logs Generated (VPC Flow Logs, Load Balancer Logs, CloudTrail Logs)
Logs are a river of information, and they flow from various sources. The logs that come from the Load Balancer can be a valuable source of data or a resource for troubleshooting. Knowing how to enable these resources can be vital when setting up or running your environment. Any action taken in the AWS environment, either via the AWS Management Console, the CLI, or an SDK, is recorded via the underlying API call to CloudTrail. As a DevOps engineer, it's essential to know who and what is making changes to your environment and be able to retrieve that data, especially when requested.
In this chapter, we're going to cover the following main topics:
- The power of AWS CloudTrail
- Enabling Elastic Load Balancer logs
- Using VPC Flow Logs
- Cleaning up the resources