Vipin Goel
Vipin Goel

Reputation: 21

Protect data in transit when two lambda communicate via AWS SNS (simple notification service)

I am working on serverless architecture using AWS lambda where multiple modules/lambdas communicate via SNS (simple notification service).

Due to compliance requirement that data in transit should be secure and encrypted, do I need to do that manually or SNS natively supports it?

Upvotes: 1

Views: 441

Answers (2)

Vipin Goel
Vipin Goel

Reputation: 21

Just came to know that we can enable ssl in all SNS requests by setting sslEnabled flag to true (in case of node sdk). this.sns = new AWS.SNS({ sslEnabled: true });

Upvotes: 1

Ele
Ele

Reputation: 33726

AWS services communication between them are secure by design because happens within the Amazon’s network.

SNS documentation

Amazon SNS provides access control mechanisms to ensure that topics and messages are secured against unauthorized access. Topic owners can set policies for a topic that restrict who can publish or subscribe to a topic. Additionally, topic owners can ensure that notifications are encrypted by specifying that the delivery mechanism must be HTTPS.

Hope it helps

Upvotes: 0

Related Questions