Access to Amazon S3 Bucket from EC2 instance


I have an EC2 instance and an S3 bucket in different region. The bucket contains some files that are used regularly by my EC2 instance.
I want to programatically download the files on my EC2 instance (using python)

Is there a way to do that?


Lots of ways to do this from within python

Boto has S3 modules which will do this.

You could also just use the python requests library to download over http

AWS Cli also give you an option to download from the shell:

Leave a Reply