frenchlkp.blogg.se

Amazon aws ubuntu filezilla
Amazon aws ubuntu filezilla








amazon aws ubuntu filezilla amazon aws ubuntu filezilla

So far I have discussed how to upload or download files to or from amazon ec2 instance using the command line interface, which may seems to be little bit complex. So this command will download a file index.php from a directory named “myproject” in your amazon ec2 instance to a directory named “mydata” in the C: drive of your local computer. C:\> pscp -i C:\Keys\my-key-pair.ppk user_name public_dns :/usr/local/myproject/ index.php C:\ mydata\ To download a file from your amazon ec2 instance to your windows computer you have to type the following command in your command line interface. Using pscp to transfer(download) files from Windows So this command will upload a file index.php from your C: drive to a directory myproject in your ec2 instance. C:\> pscp -i C:\Keys\my-key-pair.ppk C:\index.php user_name public_dns :/usr/local/myproject/ To upload a file from your windows computer to your amazon ec2 instance you have to type the following command in your command line interface.

amazon aws ubuntu filezilla

Note: If you are using Ubuntu then the username will be ubuntu Using pscp to transfer(upload) files from Windows Here in the above command refers to username public_dns So in this case a file index.php will be downloaded from a directory myproject(residing in your ec2 instance) to your local machine Desktop. For that you simply have to follow the following command $scp -i ~/Desktop/privatekey.pem ~/Desktop/

amazon aws ubuntu filezilla

In the same way as you have uploaded your file, your can download a file from your amazon ec2 instance to your local computer too. Using scp to transfer(download) files from Amazon Ec2 instance In this case also you have to authenticate yourself by using your private key, which has been give to your during ec2 instance creation. So following is the simple command to upload your files from your computer to the amazon ec2 instance $scp -i ~/Desktop/privatekey.pem ~/Desktop/index.php command basically uploads a file index.php from your Desktop to a directory myproject in the amazon ec2 instance. Using scp to transfer(upload) files from Linux/Unix/Mac If you are using Linux/Unix/Mac system in your computer then you can use a command-line tools “scp” which stands for “secure copy” to transfer files from your computer to ec2 instance. I will be going through some of these ways, so let start the very first one. There are various ways to accomplish this task. If you have created an ec2 instance then obviously you are going to transfer files that may be your project files or some other files between your computer and the amazon ec2 instance. How to transfer files between your computer and amazon ec2 instance or easy ways to transfer files with amazon ec2 instance or How to transfer files with amazon ec2 instance










Amazon aws ubuntu filezilla