How to copy files from your computer to Amazon EC2?
To transfer files to AWS EC2 instance, one can use secure copy. The format can be seen below. Here is an example: This will upload the file to the user’s home directory which is actually “home/ubuntu”