My POC project Architecture is :
It has two ec2 instances :
- Private ec2 instance on which I have installed PostgreSQL.
- Public NAT ec2 instance via which I ssh into private EC2 instance.
I have configured security ground inbound and outbound rules, which allows login to my NAT ec2 instance, ssh into my private ec2 instance, install postgreSQL and perform CRUD operations.
Now, I want to understand if it's possible to access the postgreSQL data, installed on private ec2 instance via NAT ec2 instance using a Lambda Function.
I am new to AWS Lambda. Any pointers/references will be appreciable.
Thank you!
