AWS SFTP VPC Internet Facing endpoint unable to connect

994 Views Asked by At

First of all, I have gone through forum and read around this but still no luck so posting .

I have created SFTP Server in VPC with Internet facing end point . It has got everything i.e deployed in 2 private subnet , 2 Elastic IP attached to each ENI in private subnet , Interface endpoint with custom security group which allow SSH traffic on port 22 from specific IP's and tried any where too. Created user with private keys and public key uploaded to SFTP server .

However it is not able to connect from SFTP client ( WINscp) . It getting timed out . I have checked and ensured endpoint security group allow SSH over 22 but still no luck .

Basically followed this blog ( exclude VPC peering which I don't need )

https://aws.amazon.com/blogs/storage/use-ip-whitelisting-to-secure-your-aws-transfer-for-sftp-servers/

Can someone please help on this .

1

There are 1 best solutions below

0
On

Aha, worked in the end . Initially SFTP servers were created in private subnets so changed to public subnets and it worked.