I have a task which requires me to pull files from a private sftp server outside my network using AWS Lambda. I am using the paramiko library and I was wondering if this is possible as the the ip provided are private i.e. 10.xxx.xxx.xxx. This private server belongs to another organization and they do not have a public ip for me to ssh into before ssh-ing into their private vpc.
I have vpc peering set up and I am able to ssh to the server via ec2 instance connect but cant seem to do so on lambda. Please advise thank you!