How to access Amazon EC2 Instance from Ubuntu terminal and fileZilla
A simple tutorial on working with Amazon EC2 Instance and FTP Client FileZilla for transferring files from your Local Machine.
Before beginning this tutorial I hope you have already Launched your Amazon EC2 Instance and downloaded your .pem Key Pair file.
Steps to connect Amazon EC2 Instance from Ubuntu terminal
- Open terminal and Navigate to the location where you have saved your .pem key pair file.
- Secure your Key pair file.
- Connect to your instance using its Public DNS or IP address.
How to Secure your Key pair file in Ubuntu
chmod 400 xxx-key-pair.pem
If you do not set these permissions, then you cannot connect to your instance using this key pair.
Connecting to your instance using its Public DNS or IP address
ssh -i "xxx-key-pair.pem" firstname.lastname@example.org
Steps to access Amazon EC2 Instance from FileZilla
- Open your FTP Client - FileZilla .
- Go to File, Site manager and select New Site.
- Select General Tab and Fill out the required parameters as follows:
Host: your Amazon ec2 instance Public DNS or IP address
Protocol: SFTP - SSH File Transfer Protocol
Logon Type: Key File
Key File: link your downloaded .pem Key Pair file.
That's it. Enjoy File Sharing with FileZilla. Peace :)
How to connect MySQL Database Engine On Amazon EC2 Instance From MySQL Workbench
What is FTP?
As its name suggests, File Transfer Protocol (FTP) is a standardized network protocol used to transfer files between a client and a server over the internet or any other TCP/IP network. FTP has been designed to promote sharing of files, across all types of computers. A strength of FTP is the reliable and efficient bulk transfer of files. FTP is popular with website owners and web designers to upload files to the servers of their web hosting company. Another common use case is the exchange of files between companies; FTP is in many organizations the de facto method for transferring large volumes of data.
What is an FTP Client?
An FTP Client is a program designed to transfer files between two computers. While most web browsers support FTP file downloads, to upload files and to perform other FTP tasks a dedicated FTP Client is needed. By using an FTP Client users can upload, download, delete, rename, move and copy files on a remote server. While FTP could be accessed via terminal, programs with a graphical user interface are preferred, and Filezilla Client represents an easy to use multiplatform solution. Filezilla is the most popular and easy to use FTP Client, it is feature rich and available for Windows, Mac and Linux.