Site icon Technotaught

How to upload files to AWS ec2 using WinSCP

How to upload files to AWS ec2 using WinSCP

In this tutorial, explain to you how to upload files to AWS ec2 using WinSCP Server in order to facilitate file transfer to and from your Windows desktop.

With WinSCP you can easily upload and manage files on your Amazon EC2 (Elastic Compute Cloud) instance/server over SFTP protocol.

Before starting you should require things to upload files to AWS ec2.

Learn How to: – Setting up Aws sign up || registration

Learn How to: – AWS ubuntu setup || launch an AWS EC2 Server

How to upload files to AWS ec2 using WinSCP

Step 1: – Download WinSCP

Download WinSCP from for FTP access to instance (file transfer to Virtual Machine).

Step 2: – Install and Open WinSCP

Download WinSCP and install accordingly (choose double-pane view as recommended during installation).

Step 3: – Login in WinSCP

Before login, we require Hostname: Check the Public DNS column on the Instances page of the Amazon EC2 console.

Note that the public DNS may change when an instance is restarted.

Open WinSCP, Login Dialog prompt up:

Step 4: – Advanced site setting

In the advanced window, click Authentication from the left pane, and specify the location of .ppk file generated given below, click ok

Step 5: – Log in

Save your site settings using the Save button. Add host key to cache and proceed with login.

Step 6: – Upload files to AWS ec2 Instance

You can see I upload a “list of exp.txt

Step 7: – Verify / Access the content

Verify/Access the content, after upload, in an instance.

You can access the command prompt by using putty.

Refer:- How to connect ec2 instance using putty

Let us know in the comment section if you have any problem related to Connect ec2 instance using putty.

Exit mobile version