Wednesday, December 4, 2013

SNS SMS notifications

SNS SMS can only be sent from the US-East region at this time.  Sending SMS messages to notify an Oracle DBA regarding an Oracle databases alert is a great way to notify someone on call:

The steps to send a message are:
1. aws sns create-topic --name SMSNotifications --DisplayName SMSAWS

The ARN you need to use to use in the subscribe and publish commands will be displayed:
{
    "TopicArn": "arn:aws:sns:us-east-1:649163059618:SMSNotifications"
}

2. aws sns subscribe --topic-arn arn:aws:sns:us-east-1:649163059618:SMSNotifications --protocol sms --notification-endpoint 16035029999


3. aws sns publish --topic-arn arn:aws:sns:us-east-1:649163059618:SendSMS --message "Hello World from CLI"

No comments:

Post a Comment