1 Answer
- Newest
- Most votes
- Most comments
0
Hi Vijay
To troubleshoot this issue, consider the following:
- Check SNS metrics and logs: Monitor SNS metrics, such as "NumberOfMessagesPublished" and "NumberOfNotificationsFailed", to identify any patterns or spikes in failures. Also, inspect the SNS logs to see if there are any error messages related to the failed messages.
- Verify IAM role and policy: Double-check that the IAM role and policy attached to your App Runner service have the necessary permissions to publish messages to SNS.
- VPC Endpoint configuration: Ensure that the VPC Endpoint is correctly configured and that the security groups associated with it allow traffic to SNS.
- App Runner service logs: Check the logs of your App Runner service to see if there are any errors or exceptions related to the SNS communication.
- SNS topic configuration: Verify that the SNS topic is correctly configured, and that the subscription (e.g., SMS) is active and properly set up.
- Throttling: Although you mentioned you're within the allowed limit, it's still possible that throttling is occurring. Check the SNS metrics for "PublishThrottled" to see if your application is being throttled.
- Network connectivity: Ensure that the network connectivity between your App Runner service and the VPC Endpoint is stable and not experiencing any issues.
Relevant Document Links:
**
- SNS Documentation: https://docs.aws.amazon.com/sns/
- IAM Documentation https://docs.aws.amazon.com/iam/
- VPC Documentation: https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/vpc-tkv.html
- App Runner Documentation: https://docs.aws.amazon.com/apprunner/
**
Relevant content
- asked 2 years ago
- asked 2 years ago
