Home > Software design >  How to SSH into a Windows EC2 Instance - AWS
How to SSH into a Windows EC2 Instance - AWS

Time:01-06

I am running a Lambda function (python or js) in AWS and I have a Windows EC2 Instance ready to go. There are some Python files in that EC2 instance.

Using Lambda, is there any ways we can SSH into the Windows EC2 instance? Thanks in advance.

CodePudding user response:

For Windows instance, RDP (not SSH) is used to connect to them. Please check docs:

CodePudding user response:

You have to configure your lambda to access resources in the VPC your EC2 instance is in. But you have to setup a FTP or some webserver to access your EC2 from Lambda. You can access those python files via SFTP if that's what you're looking for. OR as alternate, place those files in S3 and it will be super easy to access those files (and cheaper than EC2 as well).

Link to configure: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html

  •  Tags:  
  • Related