AWS-SNS Flashcards
What is a publisher?
The entity that pushes to the topic for the SNS
What is the topic?
Object that you use to publish messages.
What is a subscriber?
Entity that receives messages from the tropic.
What are the SNS subscriber entities available?
HTTP HTTPs Email Email-Json SQL Mobule Lambda SMS
Some publishers to SNS?
- App
- S3 Event
- CloudWatch Alarm
What is the max message?
256KB
When using SNS, explain fanout?
The fan-out patter refers to the ability of SNS to send a multipal notification to many subscribers. Think of it 1 message send fan out to millions of subscribers. This is where we use SNS and SQS, we create multiple SQS Qs and subscribe them to SNS topic, a service like s3 could send messages to the topic when video files arrive this would enable us to have a Q for each video resolution.
I require my data to be encrypted at rest, what are my options?
SNS has the ability to use SSE, you can use AWS or Customer managed keys.
Is SNS suitable for high-speed messaging, if not explain why?
It is a notification service, it is intended to send a message to a subscriber. The subscriber could be mobile or an email, this is not high speed.
I want to send push notification to my customer mobile devices, how cna I make this possible?
You can use SNS, SNS is able to send push notification to Android, iOS and Windows mobile devices.
Is SNS Push notification the same as SNS SMS notification, explain the difference?
Push notification uses the Android (google0, iOS (Apple), Windows Mobile (Microsoft) network to send the messages, SNS connects to these networks. SNS SMS send an SMS message directly to the user mobile using the users mobile phone number.
I want to receive notifications form SNS and process some logic with some GO code, how can I do this?
SNS supports Lambda as a subscriber, Lambda supports GO. You can subscribe the lambda to the SNS and have it execute the GO code.
What is AWS SNS?
Simple Notification Services is a service thet enables a publisher to send a message to SNS where will that messages to it subscribers.
What are the key entries in SNS?
Publishers, topics and subscribers.
How can we monitor our SNS topic?
SNS publishes metrics to CloudWatch