Best way to connect AWS Transfer Family (SFTP) with Windows EC2 VM? - amazon-web-services

I have a requirement where some clients will be sending files using SFTP Client. these files need to be processed by an application that is hosted in a EC2 Windows VM.
This application code can not be changed to pick files from a S3 location. It can only pick files from a windows folder path (this path can be changed from a Config file).
For this requirement we have hosted a AWS transfer family SFTP endpoint with S3 Storage bucket.
Now the customers are pushing files via SFTP Client and those files are arriving in the S3 Bucket properly.
Now the question is, how can we make those files accessible from the Windows EC2 VM ?
Currently AWS Transfer Family SFTP server can be configured only with S3 and EFS.
EFS can not be mounted in a Windows EC2 VM (At least there are no straightforward way to do this).
So what could be my option? Is there a way to connect S3 with a Windows VM so that the S3 content can be directly accessible from the Windows EC2 VM as a Mapped drive ? Or is there a way to make a local windows folder that always remains in sync with the S3 location ?

Related

OpenVPN 2.8.5 hosted in EC2 Instance what is the best way to extract ziped files from local machine into cloud VPN directory?

I try to connect to IoT Controllers via VPN.
The Controllers are already set up. I only need to establish a VPN to have remote access.
For that i installed OpenVPN in a AWS EC2 Instance.
To build the Connection between OpenVPN and the Clients, i need to create certificates & keys for the server and the clients.
The documentation says that i need to extract the easy-rsa 2 script bundle (ziped files) into the home directory of the OpenVPN: https://openvpn.net/community-resources/setting-up-your-own-certificate-authority-ca/
My question: How can i unzip a file from my local machine into the home directory of a cloud hosted VPN?
UPDATE
Currently i try via scp to transfer the zip to the openvpn instance.
scp -i ~\OpenVPNKeys.pem easy-rsa-old-master.zip openvpnas#34.249.227.33:/home/
But i get the following error:
scp: /home/easy-rsa-old-master.zip: Permission denied
When i try:
scp -i ~\OpenVPNKeys.pem easy-rsa-old-master.zip openvpnas#34.249.227.33
without specifying the directory it works. I get the message:
1 Datei(en) kopiert
But then i have no clue where the file is saved. Does anayone know where files will be saved automatically?

What ports are required to open for Aws S3 to work

I am using amazon SDK for S3 to upload and download files from my server. The server is behind a firewall where 80,443 ports are open for incoming traffic. But S3 doesn't work until I open ports between 55000-and 65535. Can you please help me find the right port that S3 .NET SDK requires to work?
Edit
I am not using AWS servers. It's a dedicated server from another company.

Getting downloadable link to a file in EC2 Windows Server

I have a AWS EC2 Windows Server Instance with files on its local drive. I would like to provide a downloadable link (with/without authentication) to other users in the group. Is this possible?

How to connect to Elastic File System via SFTP

I am trying to connect to my EFS mount folder via SFTP (FileZilla, WinSCP), is there any possibility to connect to an EFS mounted folder with SFTP?
If you have properly mounted your EFS file system in an instance where you have SSH access, you can directly access the files via SFTP without any special setup.
When mounted, the EFS file system functions transparently with the OS level file system. Make sure your permissions are appropriate for the login used to access the EFS files.

How to upload files in ec2 instance using windows n putty?

I have created an ec2 instance and connected this instance with putty. But now i have confused to how to upload files or web pages on that instance
You can install WinSCP or FileZilla in windows and upload the files. Have a look at this stackoverflow question and answer for additional details in authenticating to the ec2 instance.