0

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!

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
Jevan Ng
  • 1
  • 1

1 Answers1

0

You can configure your lambda to run inside your VPC.

Check this out here: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html

desoss
  • 572
  • 4
  • 26