4 ms·
Ok im going to admit to a mistake revolving around NAT gateways and Lambdas. So, i basically wanted to connect a Lambda to a Postgres / RDS database, for that
by lysecret 5y ago
Ok im going to admit to a mistake revolving around NAT gateways and Lambdas.
So, i basically wanted to connect a Lambda to a Postgres / RDS database, for that I had to put into a private VPC, but the lambdas still had to talk to the world (a lot) so i just put a nat gateway around it no biggy.
Well, end of the story on one day i produced 2000 Euro in cost for the Nat gateway haha
- hacker_newz 5y agoWhy would you need a nat gateway for a lambda?
- lysecret 5y agobecause it had to talk to a database which was in a private VPC, and at the same time make http requests.(in my original setup i changed that :D)