Ravi Sir's Cards › AWS
Save first, then notify
What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.
Read card text
What this card says
Why do we need it?
If email fails and you never saved the message, the lead is gone forever.
What is it?
Write PutItem to DynamoDB first (messageId, name, email, msg, createdAt). Then Publish to SNS. Return 201 with the id.
How to do it
Handler: uuid messageId → put_item → sns.publish Subject Contact body → return JSON.
PutItem then Publish
Example
SNS outage still leaves the row in DynamoDB so you can follow up from the table view.