How do I set a monthly spending limit alarm for SMS messages in Amazon SNS?

2 minute read
0

I want to be notified when I'm close to my monthly mobile text (SMS) messaging spending limit for Amazon Simple Notification Service (Amazon SNS).

Short description

Create an Amazon CloudWatch alarm to notify you when you're close to reaching your monthly SMS messaging spending limit for Amazon SNS.

Important: By default, the Account spend limit for SMS messaging is set to 1.00 USD. To raise the service quota, you must submit a request. When you reach your SMS messaging spending limit, Amazon SNS stops publishing SMS messages.

Resolution

Important: AWS service quotas are AWS Region-specific. If you use Amazon SNS for SMS messaging in multiple Regions, then you must create an alarm for each Region.

Follow the instructions in Set CloudWatch alarms for Amazon SNS metrics.
Note: Select the SMSMonthToDateSpentUSD metric. Then, for Statistic, select Maximum and for Period, select 5 minutes. Follow the remaining steps in the AWS documentation to complete the setup.

(Optional) Review your current SMS messaging spending

To see your SMS messaging spending for the selected duration, complete the following instructions:

  1. Open the CloudWatch console.
  2. In the navigation pane, choose Metrics.
  3. Choose SNS. Then, choose Metrics with no dimensions.
  4. Choose the SMSMonthToDateSpentUSD metric.
  5. Choose the date range for which you want to view your spending (for example, November 1-30).
  6. For Statistic, select Maximum and for Period, select 5 minutes.
  7. Based on your selection the graph updates with the amount of money spent during the selected month.

Related information

Monitoring Amazon SNS topics using CloudWatch

AWS OFFICIAL
AWS OFFICIALUpdated 2 months ago