How to Copy Local Files to AWS EC2 instance Manually ?

PROGRAMMINGJava ExamplesC Examples
Java Examples
C Examples
C Tutorials
aws
JAVAEXCEPTIONSCOLLECTIONSSWINGJDBC
EXCEPTIONS
COLLECTIONS
SWING
JDBC
JAVA 8
SPRING
SPRING BOOT
HIBERNATE
PYTHON
PHP
JQUERY
PROGRAMMINGJava ExamplesC Examples
Java Examples
C Examples
C Tutorials
aws
It is a very frequent scenario to copy local files to AWS EC2 instance while you are developing an application on your local machine.
One of the possible solutions to do – you can push the code into your GIT repository and pull them from your EC2 instance, but to do it, we have to install GIT on EC2 instance.
In this tutorial, we are going to see how can we manually copy the local files to AWS EC2 instance without using GIT or any other remote repositories.
WinSCP is a very good tool for Windows users to move files locally to remote machines. Download the WinSCP and install it, the installation process is pretty straightforward.
After installation, open the WinSCP, then you could see the below the login window.
Provide your ec2 instance user login details and click on the Login button and you could be landed into WinSCP home page.
On the left-hand side you can see your local file and right-hand side it is the remote machine. You can simply drag and drop the files, from local to remote like below.
On the above screen, I am trying to copy parse_csv.py to remote ec2 /opt/dotw/ folder.
Linux or Mac users can directly copy local files to ec2 instance using scp command, without installing any new software.
Open the terminal and locate to your ec2 .pem file give the below command.
$scp -i ./my-ec2.pem /home/chandra/data.py ec2-user@ec2-32-174-195-130.compute-1.amazonaws.com:/tmp
Now you can see your files in ec2 instance.
How to connect AWS EC2 using PuTTY
 
Happy Learning 🙂

How to clear PuTTY Sessions on Windows
How to install PuTTY on windows 10
Step by Step – How to push the project into GIT Repository
Where can I find Python PIP in windows ?
How to upgrade Python PIP version on Windows
How to connect AWS EC2 Instance using PuTTY
How add files to S3 Bucket using Shell Script
How to push docker image to docker hub ?
How to Export MySQL Tables to a file from command line
How to setup or install MongoDB on Windows 10
Hibernate Download and Setup
How to Install Kubernetes on Ubuntu 18.04
Java How to create Jar File ?
How to add dynamic files to JTree
Java 8 walk How to Read all files in a folder

How to clear PuTTY Sessions on Windows
How to install PuTTY on windows 10
Step by Step – How to push the project into GIT Repository
Where can I find Python PIP in windows ?
How to upgrade Python PIP version on Windows
How to connect AWS EC2 Instance using PuTTY
How add files to S3 Bucket using Shell Script
How to push docker image to docker hub ?
How to Export MySQL Tables to a file from command line
How to setup or install MongoDB on Windows 10
Hibernate Download and Setup
How to Install Kubernetes on Ubuntu 18.04
Java How to create Jar File ?
How to add dynamic files to JTree
Java 8 walk How to Read all files in a folder
 


Δ
 Install Java on Mac OS
 Install AWS CLI on Windows
 Install Minikube on Windows
 Install Docker Toolbox on Windows
 Install SOAPUI on Windows
 Install Gradle on Windows
 Install RabbitMQ on Windows
 Install PuTTY on windows
 Install Mysql on Windows
 Install Hibernate Tools in Eclipse
 Install Elasticsearch on Windows
 Install Maven on Windows
 Install Maven on Ubuntu
 Install Maven on Windows Command
 Add OJDBC jar to Maven Repository
 Install Ant on Windows
 Install RabbitMQ on Windows
 Install Apache Kafka on Ubuntu
 Install Apache Kafka on Windows