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

Ravi Sir's Cards › AWS

Why SNS instead of SMTP from Lambda?

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

Why SNS instead of SMTP from Lambda? No mail server credentials in the function; SNS handles delivery to subscribed emails. Later you can add SMS or another Lambda subscriber without rewriting the form handler. Topic ARN in env; IAM sns:Publish on that ARN only.
Why SNS instead of SMTP from Lambda? · Download PNG
Read card text

What this card says

What it is

No mail server credentials in the function; SNS handles delivery to subscribed emails.

Why it matters

Later you can add SMS or another Lambda subscriber without rewriting the form handler.

How / example

Topic ARN in env; IAM sns:Publish on that ARN only.

See all AWS revision cards