CloudFront - Prebid Server Deployment on AWS

CloudFront

Alarm: 5xx error rate

  • The alarm changes state if there are any 500 type status codes. Reported as a percentage of total requests within a 1-minute period.

  • This indicates a server failure. Check the CloudWatch logs to get further detail on the cause of the error.

  • The alarm returns to the OK state if the error rate is within the acceptable threshold for 5 minutes.

  • Metric: 5xxErrorRate > 0%

Alarm: 4xx error rate

  • The alarm changes state if greater than or equal to 1% of requests are 400 type status codes. Reported a percentage of total requests within a 1-minute period.

  • This indicates a bad request or a possible configuration error. Check the CloudWatch logs to get further detail on the cause of the error.

  • The alarm returns to the OK state if the error rate is within the acceptable threshold for 5 minutes.

  • Metric: 4xxErrorRate > 1%

Alarm: Requests

  • The alarm changes state if there is an anomaly in traffic with a high number of requests within 1 minute.

  • This indicates a spike or burst in traffic.

  • The alarm returns to the OK state if the data is within the acceptable threshold for 5 minutes.

  • The alarm is an anomaly alarm and will form the threshold based on the previous history of the metric.

  • Metric: Requests anomaly