How can I access AWS SSM from a private VPC Lambda without incurring high costs?

0
1
Asked By TechVoyager92 On

I'm working on a side project in AWS and have come across a challenge. My Lambda function that processes data in a private VPC needs to access AWS SSM and KMS APIs to retrieve the database password stored in the SSM Parameter Store. The recommended method for this is to create VPC private endpoints, but the cost ($14/month for two endpoints) is too much for my budget. I've thought about using a public Lambda to invoke the private one, but that seems like it could lead to scalability issues down the line. Is there a cost-effective way to allow my Lambda function to access SSM without the hourly endpoint charges?

1 Answer

Answered By CloudNinja_77 On

Have you looked into the new IPv6 egress support for Lambda? If you set up an egress-only internet gateway, that part is free. It could be a simple solution without the need for expensive endpoints.

LambdaLearner_99 -

Really? That sounds almost too easy. I’ll definitely check out the documentation to make sure it’s legit!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.