To copy files between your computer and your instance you can use an FTP service like FileZilla or the command scp which stands for secure copy. To use scp with a key pair use the following command: scp -i path/to/key file/to/copy [email protected]ec2-xx-xx-xxx-xxx.compute-1.amazonaws.com:path/to/file .Click to see full answer. Regarding this, how do I transfer files to AWS ec2? 1 Answer You can use SCP or WinSCP to transfer files or folders to your EC2 instance. For SCP, you need to run the following command on your cmd of your local machine: scp -i path/to/pem path/to/file [email protected]/home/username. For WinSCP, download and install WinSCP tool and follow the below-mentioned steps: Furthermore, how do I transfer files from s3 to ec2? Moving Data Between S3 and EC2 Instances Run aws configure and enter above credentials. For region, use ‘us-east-1’. Check that you have access to s3 bucket with aws s3 ls . Copy entire directory. I recommend using sync rather than cp . Note this part tends to hang sometimes, so just ctrl+c and run it again. By sync , the process will resume. Subsequently, question is, how do I access my ec2 instance username and password? Password Authentication For AWS ec2 Step 1: Login to the server using ssh client of your choice using the private key. Step 2: Open sshd_config file. Step 3: Find the Line containing “PasswordAuthentication” parameter and change its value from “no” to “yes“ Step 4: Setup a password for the user using “passwd” command along with the username. How do I transfer files from ec2 to local? Copying files from local to EC2 To copy files between your computer and your instance you can use an FTP service like FileZilla or the command scp . “scp” means “secure copy”, which can copy files between computers on a network. You can use this tool in a Terminal on a Unix/Linux/Mac system.