100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Lab - Design and Manage Pub/Sub Messaging with Amazon Simple Notification Service (SNS)|Task 4 | Analyze SNS Performance Using Amazon CloudWatch |latest updated version

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
22-03-2025
Written in
2024/2025

Lab - Design and Manage Pub/Sub Messaging with Amazon Simple Notification Service (SNS)|Task 4 | Analyze SNS Performance Using Amazon CloudWatch |latest updated version

Institution
AWS CERT
Course
AWS CERT









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
AWS CERT
Course
AWS CERT

Document information

Uploaded on
March 22, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Lab - Design and Manage Pub/Sub
Messaging with Amazon Simple
Notification Service (SNS)
Task 4: Analyze SNS Performance Using Amazon CloudWatch


Step 1: Access SNS Metrics in CloudWatch
Amazon SNS automatically publishes metrics to CloudWatch. Key metrics
include:
Metric Purpose

NumberOfMessagesPublis
Total messages published to the topic.
hed

NumberOfNotificationsDeli
Messages successfully delivered to subscribers.
vered

NumberOfNotificationsFail Messages that failed delivery (e.g., invalid
ed endpoints, throttling).

Percentage of SMS messages delivered
SMSSuccessRate
successfully.

SMSMonthToDateSpentUS
Total SMS costs incurred in the current month.
D

Number of attempts to deliver messages (useful
DeliveryAttempts
for HTTP/S retries).
How to View Metrics:
1. AWS Console:
o Go to CloudWatch > Metrics > All metrics > SNS.
o Filter by Topic Metrics or Platform Application Metrics (for
SMS).
2. AWS CLI:
bash
Copy

, aws cloudwatch get-metric-statistics \
--namespace AWS/SNS \
--metric-name NumberOfNotificationsDelivered \
--dimensions Name=TopicName,Value=MyTopic \
--start-time 2023-10-01T00:00:00Z \
--end-time 2023-10-01T23:59:59Z \
--period 3600 \
--statistics Sum



Step 2: Set Up CloudWatch Alarms
Create alarms to detect anomalies or failures:
Example 1: Alarm for Failed Deliveries
bash
Copy
aws cloudwatch put-metric-alarm \
--alarm-name "SNS-Delivery-Failures" \
--metric-name NumberOfNotificationsFailed \
--namespace AWS/SNS \
--statistic Sum \
--period 300 \
--threshold 1 \
--comparison-operator GreaterThanOrEqualToThreshold \
--evaluation-periods 1 \
--alarm-actions "arn:aws:sns:us-east-1:123456789012:AlertTopic"
Example 2: SMS Cost Alarm
Trigger if SMS costs exceed $500 in a month:
bash
Copy

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BRAINBOOSTERS Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
649
Member since
2 year
Number of followers
250
Documents
22594
Last sold
4 hours ago

In this page you will find all documents , flashcards and package deals offered by seller BRAINBOOSTERS

4.5

340 reviews

5
264
4
30
3
21
2
5
1
20

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions