- Newest
- Most votes
- Most comments
Hello,
I understand that you have setup Autoscaling Group (ASG) event notification, to monitor scaling activity, using SNS which has email and Lambda function subscription. Initial ASG SNS notification was working, but later tests done by increasing and decreasing ASG desired capacity did not work as expected, since you neither received email not Microsoft Teams (via Lambda) notification.
In order to troubleshoot this issue, first make sure that ASG notification is including event types Launch and Terminate. Please make sure from ASG Activity history that instance is created/terminated successfully. As per your description, I believe you have already verified up to this point.
Moving further, we can check whether ASG scaling event is actually triggering SNS notification. SNS CloudWatch metrics will provide information on NumberOfMessagesPublished, NumberOfNotificationsDelivered and NumberOfNotificationsFailed. If you do not see any data in NumberOfMessagesPublished, it indicates no message was published to SNS topic from ASG side. If you find NumberOfNotificationsFailed, that indicates possible issue with SNS delivery. For Lambda endpoint, you can also enable Delivery Status Logging, which provides further details on whether message delivery and possible reasons for delivery failure.
If you find that the issue is not identified with general troubleshooting discussed above, we will require details that are account-specific and non-public information. In that case, please open a support case with AWS using the link: https://docs.aws.amazon.com/awssupport/latest/user/case-management.html
Relevant content
- asked 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago