Amazon Simple Notification Service (SNS) | Worldwide SMS Flashcards

1
Q

What happens to Amazon SNS messages if the subscribing endpoint is not available?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

All messages sent to SNS are processed and delivered immediately. If a message cannot be successfully delivered on the first attempt, SNS implements a 4-phase retry policy: 1) retries with no delay in between attempts, 2) retries with some minimum delay between attempts, 3) retries with some back-off model (linear or exponential), and 4) retries with some maximum delay between attempts.

The policies for each endpoint vary and are listed below.

Lambda: If Lambda is not available, SNS will retry 2 times at 1 seconds apart, then 10 times exponentially backing off from 1 seconds to 20 minutes and finally 38 times every 20 minutes for a total 50 attempts over more than 13 hours before the message is discarded from SNS.

Email: If an email endpoint is not available, SNS will retry 1 time immediately, 1 time at 10 seconds apart, then 10 times with linear back-off from 10 seconds to 5 minutes and finally 90 times every 5 minutes for a total 102 attempts over more than 7 hours before the message is discarded from SNS.

Mobile push: If the mobile endpoint is not available, SNS will retry 2 times immediately, 5 times at 20 seconds apart, then 31 times exponentially backing off from 20 seconds to 20 minutes and finally 12 times every 20 minutes for a total 50 attempts over more than 4 hours before the message is discarded from SNS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What features are part of the new Worldwide SMS capability?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

You can use Amazon SNS to deliver SMS (text) messages to 200+ countries, and you do not require recipients to explicitly opt in as before. You must obtain prior permission from recipients to send SMS messages to their phone numbers, where required by local law and regulations. Additionally, you can now mark your SMS messages as Transactional to optimize for reliable delivery, or you can mark it as Promotional to optimize for cost savings. Furthermore, you can set account and message-level spend limits to avoid inadvertent overruns.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When should I mark an SMS message as Transactional?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

SMS messages that are of high priority to your business should be marked as Transactional. This ensures that messages such as those that contain one-time passwords (OTP) or PINs get delivered over routes with the highest delivery reliability. These routes tend to be more expensive than Promotional messaging routes in countries other than the US. You should never mark marketing messages as Transactional, because this violates the local regulatory policies in certain countries, and your account may be marked for abuse and suspended.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When should I mark an SMS message as Promotional?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

SMS messages that carry marketing messaging should be marked Promotional. Amazon SNS ensures that such messages are sent over routes that have a reasonable delivery reliability but are substantially cheaper than the most reliable routes. This also allows Amazon SNS to handle and deliver your messages in compliance with on local laws and regulation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are account-level and message-level spend limits and how do they work?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

Spend limits can be specified for an AWS account and for individual messages, and the limits apply only to the cost of sending SMS messages.

The default spend limit per account (if not specified) is 1.00 USD per month. If you want to raise the limit, submit an SNS Limit Increase case. For New limit value, enter your desired monthly spend limit. In the Use Case Description field, explain that you are requesting an SMS monthly spend limit increase.

Amazon SNS sends SMS messages that you publish while the total cost incurred for your SMS traffic is below your spend limit for that calendar month. Once the spend limit is exceeded, Amazon SNS stops delivering messages until you either increase the spend limit or a new calendar month begins. Similarly, you can also specify a spend limit for an individual message, and Amazon SNS will send the message only if the cost is below the limit. Amazon SNS will not send your SMS messages if the account-level spend limit is exceeded, regardless of whether the message-level spend limit is exceeded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Is two-way SMS supported?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

Amazon SNS does not currently support two-way SMS capabilities, except for opt out where required by local regulations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Do I need to subscribe phone numbers to an SNS Topic before sending an SMS message to it?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

You no longer need to subscribe a phone number to an Amazon SNS topic before you publish messages to it. Now, you can directly publish messages to a phone number using the Amazon SNS console or the Publish request in the Amazon SNS API.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Does AWS offer short codes for purchase?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

Yes. You can reserve a dedicated short code that is assigned to your account and available exclusively to you.

To reserve a short code, create a case using the AWS Support Center. For more information, see Reserving a Dedicated Short Code for SMS Messaging in the Amazon SNS Developer Guide.

For pricing information, see Worldwide SMS Pricing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Does AWS offer long codes for purchase?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

No. AWS does not currently offer long codes for purchase.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Will SMS notifications come from a specific number of short codes or long codes?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

Amazon SNS uses a pool of long codes or short codes to send SMS notifications. While there is a possibility that SMS notifications come from multiple numbers, Amazon SNS ensures that the messages sent from an AWS account to a specific phone number always come from the same long code or short code. This is called “Sticky Sender ID”.

You can reserve a dedicated short code to ensure that all SMS messages that you send through Amazon SNS have a persistent short code. By reserving a short code, you make it easier for your audience to recognize that your organization is the source of your messages. For more information, see Reserving a Dedicated Short Code for SMS Messaging in the Amazon SNS Developer Guide.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which countries does Amazon SNS support for Worldwide SMS?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

Amazon SNS supports more than 200 countries, and we keep growing our reach. Please refer to the SMS Supported Country List for a comprehensive list of supported calling countries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which AWS regions support Worldwide SMS?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

1) US-East-1 (Virginia), 2) US-West-2 (Oregon), 3) EU-West-1 (Dublin), 4) Asia Pacific (Tokyo), 5) Asia Pacific (Singapore), and 6) Asia Pacific (Sydney).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Do the AWS phone numbers change?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

Yes. Amazon SNS uses a pool of long codes or short codes to send SMS notifications. So while there is a possibility that SMS notifications come from multiple numbers, Amazon SNS ensures that the messages sent from an AWS account to a specific phone number, always come from the same long code or short code. This is called “Sticky Sender ID”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why do some devices on the same carrier receive messages from different phone numbers?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

Amazon SNS uses a pool of long codes or short codes to send SMS notifications. So while there is a possibility that SMS notifications come from multiple numbers, Amazon SNS ensures that the messages sent from an AWS account to a specific phone number always come from the same long code or short code. This is called “Sticky Sender ID”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the phone number format for sending messages to other countries?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

AWS strongly encourages E.164 number formatting for all phone numbers both in the ‘to’ and ‘from’ (when applicable) fields. Please refer to the SMS Supported Country List for a comprehensive list of supported countries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Does Amazon SNS determine if a phone number is a mobile, landline, or VoIP number?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

No. Currently, Amazon SNS does not detect whether a phone number is mobile, landline, or VoIP.

17
Q

Is time-based or scheduled delivery supported for SMS messages?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

No. Amazon SNS does not currently support time-based or scheduled delivery.

18
Q

How do I track the delivery status of my SMS messages?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

By enabling the Delivery Status feature in Amazon SNS, you can get information on the following for each message: MessageID, Time Sent, Destination Phone Number, Disposition, Disposition Reason (if applicable), Price, and Dwell Time.

19
Q

Do you support MMS ?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

No. Currently Amazon SNS does not support MMS messages.

20
Q

What is the cost of receiving SMS messages from Amazon SNS?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

Costs for receiving SMS messages depend on the Data and Messaging of the recipient’s wireless / mobile carrier plans.

21
Q

How do recipients opt out from receiving SMS messages from AWS?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

Recipients can use their devices to opt out by replying to the message with any of the following:

ARRET (French)

CANCEL

END

OPT-OUT

OPTOUT

QUIT

REMOVE

STOP

TD

UNSUBSCRIBE

To opt out, the recipient must reply to the same long code or short code that Amazon SNS used to deliver the message. After opting out, the recipient will no longer receive SMS messages delivered from your AWS account unless you opt in the phone number.

22
Q

How do I know if a recipient device has ‘opted out’ of Global SMS?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

The SNS console displays the list of opted out numbers for your account. Additionally, the Amazon SNS API provides the ListPhoneNumbersOptedOut request for listing opted out phone numbers.

23
Q

If a user opts out, will that number be unsubscribed automatically from the SNS Topic?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

No. Opt-outs do not unsubscribe a number from an Amazon SNS topic, but rather disable the subscription. This means if you opt-in a phone number you do not need to re-subscribe the phone number to the topic.

24
Q

How do I confirm the end user received the SMS message?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

You can use our Delivery Status feature to get information on the final disposition of your SMS message. For more information on the feature and how to use it, please refer to our documentation.

25
Q

Does Amazon SNS provide delivery receipts for SMS messages?

Worldwide SMS

Amazon Simple Notification Service (SNS) | Application Integration

A

Our Delivery Status feature provides information based on delivery receipts received from the destination carrier. For more information on the Delivery Status feature and how to use it, please refer to our documentation.