Monitoring ELB Flashcards
3 Types of Load Balancers
Application Load Balancer
Network Load Balancer
Classic Load Balancer (Being deprecated)
4 ways to monitor load balancers
CloudWatch Metric
Access Logs
Request Tracing - Application LB only
CloudTrail Logs
Differences: CloudWatch vs CloudTrail
CloudWatch monitors performance
CloudTrail monitors API calls in the AWS platform.
Remember; CloudWatch for performance, CloudTrail for auditing.
Name the types of access logs
Detailed logs for requests sent to the LB such as: Client IP Latency request path server responses (200, 500, etc.)
True or false: Accessing logs can be disabled?
True.
How are access logs stored?
Compressed files on an S3 bucket.
If instance(s) experience 500 errors, however, the instances were deleted along with the apache logs, how can information about those responses be recovered?
By using access logs stored on an S3 bucket. The logs are retained after instances are deleted.
What is request tracing?
Tracks HTTP requests from client to targets or other services. The X-Amzon-Trace-ID is amended for each hop a request takes inside AWS.
True or False: Request Tracing is available to application load balancers only?
True.
CloudTrail Logs
Used to capture detailed information about calls made to the ELB API including source IP, who made the call, when, etc. Stores log files on S3.
True or False: CloudTrail metrics will provide information on healthy and unheatlhy hosts?
False: CloudTrail is for auditing API requests only. Use CloudWatch for performace metrics.
ELB errors all start with
4xx or 5xx
Successful ELB response code
200
4xx error messages
client-side error
5xx error messages
server-side error