EC2: Chapter-3: How to transfer files to a Linux instance from Windows using WinSCP, in 6 easy steps
If you are someone who always used WinSCP (or other secure copy applications) to move your code to Linux instances, this must be a cakewalk for you. The only difference is that you will have to use the private key (.ppk format) for authentication. I thought I'd save your time :) For the beginner: Prerequisites: 1. You have an AWS account :) Otherwise refer to Chapter1 . 2. You have launched a Linux instance on EC2 and it is currently running. You have the public DNS name for it. Refer to EC2:Chapter-1 . 3. You have converted the .pem private key provided by EC2 to a .ppk file using PuTTYgen and have saved on your computer. Refer to EC2:Chapter-2 . 4. Your Linux instance has scp installed. Just run scp on you instance to check. 5. You have the latest WinSCP installed on your Windows machine. Otherwise download from https://winscp.net/eng/download.php Step-1: Open WinSCP. Click on New Site in the Login wizard Step-2: Copy the public DNS name of your instance