MikA
MikA

Reputation: 5562

Copy file from S3 to EBS

I have to write a python script which will copy a file in s3 to my EBS directory, here the problem is I'm running this python script from my local machine. is there any boto function in which I can copy from s3 to EBS without storing in my local?

Upvotes: 0

Views: 1522

Answers (1)

Alex Gaynor
Alex Gaynor

Reputation: 15019

No. EBS volumes are accessible only on the EC2 instance they're mounted on. If you want to download a file directly from S3 to an EBS volume, you need to run your script on the EC2 instance.

Upvotes: 3

Related Questions