by

How To Create A Connection To Amazon S3 Aws with Boto using connect_s3 method

This snippet focuses on the Simple Storage Service from Amazon Web Services, using the connect_s3 method provided by python boto interface. 

Learn more on boto API : [https://github.com/boto/boto](https://github.com/boto/boto)   
Find out Amazon AWS tutorial: [http://boto.s3.amazonaws.com/s3\_tut.html](http://boto.s3.amazonaws.com/s3\_tut.html)

Required steps:

1. Download and Install boto interface.
2. Register to Amazon AWS.
3. Get your AWS secret and access keys.
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/4369/How-To-Create-A-Connection-To-Amazon-S3-?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
import boto conn = boto.connect_s3() # connect_s3() will return the S3Connection object. # conn will point to your S3Connection object, ready to interact with your AWS account

Other Steps and Solutions

If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus