Do health check requests coming from the ELB cost money?

0

I have an application load balancer that routes traffic to two EC2 instances in a target group. The application load balancer periodically checks the availability of the EC2 instances by doing a health check. It makes a request to a healthcheck endpoint and when it gets status code 200 it knows the instance is still functioning.

The default interval for these healthchecks is 30 seconds, but i thought that was a bit too long so i've set the health check interval to 5 seconds instead. This made me wonder; do these health checks cost money? Is it more expensive to do health checks every 5 seconds as opposed to the default 30 seconds? I would also like to know what the optimal healthcheck interval would be when processing requests for a social media website.

Thanks

已提問 2 年前檢視次數 977 次
1 個回答
0
已接受的答案

There is no charge for the ELB healthchecks. health checks are not counted towards LCU (Load Balancer Capacity Units)

https://aws.amazon.com/elasticloadbalancing/pricing/

profile pictureAWS
專家
已回答 2 年前
  • Where does it say that health checks aren't counted towards LCU? That page doesn't mention health checks anywhere

  • The page does not explicitly say it however if you see (for example): https://calculator.aws/#/addService/Route53 for the R53 healthcheck there are charges based on Basic, Optional, Fast interval, latency etc for the HCs; same is not the case if you check ELB.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南