Simple Notification Service Flashcards

1
Q

Amazon SNS

A

managed notification service. works on a push mechanism.

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

SNS topic

A

acts as an access point in between the publisher and subscriber applications. Topic policy controls who can publish message and subscribe to a topic.

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

Amazon SNS Fanout

A

SQS queues act as a subscriber. a publisher sends a message to a SNS topic, and SNS topic distributes it to many SQS queues in parallel.

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

Key Concept of access policy

A

Permission; Statement; Policy; Issuer; principal; Action; Resource; Conditions and keys; Requester; Evaluation; Effect; Default deny; allow; explicit deny;

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

SNS Best Practices

A

recommended to configure alerts on various SNS standard metrics to observe performance parameters such as success rates, failure rates, deliveries to SQS, and so on.
access policy to control who can publish to and receive from a SNS topic.
ensure all of subscription deleted first before delete a topic.
Use SNS and SQS to build loosely coupled application or a server less architecture.

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

Publishers

A

creates a topic and controls access to it. Policies determine which topics publishers can write to.

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

Message Data

A
Json key-value pair;
posts to https/s endpoints with specific headers;
allow developers to parse;
message; 
messageId; 
signature; 
signatureVersion; 
SigningCertURL; 
Subject; 
Timestamp; 
TopicArn; 
Type; 
UnsubscribeURL;
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Message Attributes

A

Name; Type; Value and Messagebody can not be empty or null.
§ Can send structured metadata along with messages
§ Allows override default denies
§ Explicit denies override allows
§ Order of policies does not matter

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

Mobile Push Notifications

A

provides the ability to send notifications directly to apps on mobile devices like message alerts, Badge updates, Sound alerts.
Services includes: ADM(Amazon Device Messagging);
APNS(Apple); Baidu Cloud Push; Google CLoud Messaging for Android; Microsoft Push Norification Service for Windows Phone; Windows Push Notification Services;
GCM use registrationID.

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

SNS Push Notifications Setup Process

A

SNS needs a device token in order to send notifications to mobile endpoints;
There are device tokens and registration IDs, depending on the mobile platform;
1.request credentials from mobile platforms(ADM, APNS, etc..)
2. request a token from mobile platforms;
3. create a platform application object;
4. create a platform endpoint object;
5. publish a message to the mobile endpoint;

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

Platform Specific Payloads

A

can send Push notifications at the same time to all apps/devices. send different messages depending on the platform.

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

A core benefit of using a SQS subscription endpoint with Amazon SNS

A

SNS Messages can be delivered to applications that require immediate notification of an event and messages are also persistent in an Amazon SQS queue for other applications to process later in time.

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

endpoints list

A

The US East (Northern Virginia) end-point is: http://sns.us-east-1.amazonaws.com

The US West (Oregon) end-point is: http://sns.us-west-2.amazonaws.com

The US West (Northern California) end-point is: http://sns.us-west-1.amazonaws.com

The EU(Ireland) end-point is: http://sns.eu-west-1.amazonaws.com

The EU(Frankfurt) end-point is: http://sns.eu-central-1.amazonaws.com

The Asia Pacific (Singapore) end-point is: http://sns.ap-southeast-1.amazonaws.com

The Asia Pacific (Tokyo) end-point is: http://sns.ap-northeast-1.amazonaws.com

The Asia Pacific (Sydney) end-point is: http://sns.ap-southeast-2.amazonaws.com

The South America (Sao Paulo) end-point is: http://sns.sa-east-1.amazonaws.com

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

time period available for confirmation when subscribing

A

3 days

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