I have an Amazon EC2 instance running. When i access the url, I get the Apache Test page, and it says that i'll have to upload my files into /var/html/
My question is, how do i do it? I use Mac OS X 's terminal for accessing the instance.
FTP doesn't seem to work. Is there any other way?
Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/ . In the Buckets list, choose the name of the bucket that you want to upload your folders or files to. Choose Upload.
Amazon EC2 provides you with flexible, cost effective, and easy-to-use data storage options for your instances. Each option has a unique combination of performance and durability. These storage options can be used independently or in combination to suit your requirements.
If you're using a Mac (or other *nix system), simply copy-paste this to terminal to upload a file via SSH
scp -i MyKeyFile.pem FileToUpload.pdf [email protected]:FileToUpload.pdf
replace "ec2-123-123-123-123.compute-1.amazonaws.com" with your instance's public DNS name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With