1 Answer
- Newest
- Most votes
- Most comments
0
Set CloudWatch alarms to alarm when health checks exceed thresholds.
Triggered by the alarm, Lambda executes "describe_target_health" to retrieve those with "unhealthy" status.
How about sending that information from Lambda to SNS for email notification?
Reference Documents:
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elbv2/client/describe_target_health.html
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sns/client/publish.html
Relevant content
- Accepted Answerasked a year ago
- asked a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 21 days ago
- AWS OFFICIALUpdated 7 months ago
Thanks, I am getting some idea. And is there a way for it to do it completely through console
It is not possible to configure this setting using only the management console.
The use of Lambda will be mandatory.
If this answer has led to a solution, please approve the answer for the betterment of the community.
Thank you.