Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Why SNS for the alert?

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

Why SNS for the alert? Hard-coding SMTP in Lambda means passwords, ports, and spam filters. You only need “email me when someone writes”. Amazon SNS is a pub/sub service. Subscribe your email to a topic; Lambda publishes once; SNS delivers. Create topic → Create subscription Email → confirm the link → put TOPIC_ARN in Lambda env → sns:Publish in IAM. One publish can later also SMS or hit another L
Why SNS for the alert? · Download PNG
Read card text

What this card says

Why do we need it?

Hard-coding SMTP in Lambda means passwords, ports, and spam filters. You only need “email me when someone writes”.

What is it?

Amazon SNS is a pub/sub service. Subscribe your email to a topic; Lambda publishes once; SNS delivers.

How to do it

Create topic → Create subscription Email → confirm the link → put TOPIC_ARN in Lambda env → sns:Publish in IAM.

TOPIC_ARN

Example

One publish can later also SMS or hit another Lambda without changing the contact handler.

See all AWS revision cards