Amazon ec2 instance accessing from your computer

Create Free tier Amazon ec2 instance
Ubuntu Server 14.04 LTS (HVM), SSD Volume Type - ami-5189a661
Ubuntu Server 14.04 LTS (HVM), EBS General Purpose (SSD) Volume Type. Support available from Canonical (http://www.ubuntu.com/cloud/services).


cd /Users/ikbhal/Documents/work/deployment/;
chmod 400 my-key-pair.pem

ssh -i /Users/ikbhal/Documents/work/deployment/free_tier_ aws_ec2/play-zelo-key-pair.pem ubuntu@ec2-198-51-100-1.compute-1.amazonaws.com


to copy files from local computer to ec2 instance
scp -i my-key-pair.pem SampleFile.txt ubuntu@ec2-198-51-100-1.compute-1.amazonaws.com:~

No comments:

Post a Comment