Reputation: 7579
Our architecture is a FAAS approach, where our entire backend is on Lambdas. The persistence layer is a managed Cloud Mongo Cluster, so called Atlas. Lambdas in the VPC talk to mongo cluster using a peered VPC connection.
I need a VPC enabled Lambda, because Lambda talks to mongo cluster using the VPC Peering connection. I need a NAT gateway because resources inside Lambda has to talk with external internet resources. Here is my VPC-Lambda-Mongo architecture:
So my questions are:
Upvotes: 0
Views: 309
Reputation: 52423
t2.micro
NAT ($9/month) or t2.nano
NAT ($5/month)Upvotes: 3