I understand nearly nothing to the functioning of EC2. I created an Amazon Web Service (AWS) account. Then I launched an EC2 instance.
And now I would like to execut
Here's a very simple procedure to move your Python script from local to EC2 Instance and run it.
> 1. scp -i ec2-user@.compute-1.amazonaws.com: your file to be>
> 2. Cd to to the directory in EC2 containing the file. Type Python There it executed.
Here's a concrete examples for those who likes things shown step-by-step:
scp -i ~/Desktop/random.pem ~/Desktop/hello_aws.py ec2-user@ec2-34-201-49-170.compute-1.amazonaws.com:/home/ec2-user