How to receive only one sns notification triggered via autoscaling event.
0
I have registered SNS in AutoScalingGroup Activity notifications to receive notifications through messenger.
If 4 instances are scaled-out, 4 alarms are generated through SNS.
But I just want to know that it is scale-out. That is, I want to receive an alert only once.
How can I change the configuration?
asked 2 months ago8 views
1 Answers
0
Accepted Answer
This isn't possible currently, but I've passed on this feedback to the internal AutoScaling team. The only workaround currently would be to aggregate the notifications via EventBridge, and then create your own mechanism to trigger an SNS notification once a threshold is breached. Ex, :
- Have the Event notify Lambda which records the entries in a DB
- Have the Event logged in a CloudWatch log group; which has a metric filter to create a custom metric; link an alarm to that custom metric
https://docs.aws.amazon.com/autoscaling/ec2/userguide/cloud-watch-events.html
answered 2 months ago
Relevant questions
I want to send a notification to discord when amplify's app is deployed.
asked 5 months agoCustomize SNS - Mobile: Push Notification Platform Application events payload
asked 3 months agoAWS Codebuild Batch Event Notifications
Accepted Answerasked 6 months agoCodeCommit - SNS Notification Beautify
asked 5 months agoAttach extra data to SNS notifications generated by codebuild
asked 2 years agoAuto Scaling Group SNS Notifications not being sent
asked 2 months agoSome of my domains set in SES didn't send notifications to my SNS topic.
asked 2 years agoHow to receive only one sns notification triggered via autoscaling event.
Accepted Answerasked 2 months agoHow is SNS guaranteed to receive messages from event sources?
Accepted Answerasked 18 days agoSensing SNS email notifications from my domain
asked 4 months ago