User Tools

Site Tools


cloud:recipe:s3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cloud:recipe:s3 [2021/04/05 13:29]
chudler [Test Access with S3CMD Utility]
cloud:recipe:s3 [2021/04/05 13:39]
chudler
Line 37: Line 37:
  
 ======Test Access with Python Boto (example)====== ======Test Access with Python Boto (example)======
 +
 +Install boto library
 +<​code>​
 +python3 -m pip install --user boto
 +</​code>​
 +
 <​code>​ <​code>​
 import boto import boto
-import boto.s3.connection 
 access_key = '<​ACCESS_KEY>'​ access_key = '<​ACCESS_KEY>'​
 secret_key = '<​SECRET_KEY>'​ secret_key = '<​SECRET_KEY>'​
Line 46: Line 51:
         aws_access_key_id = access_key,         aws_access_key_id = access_key,
         aws_secret_access_key = secret_key,         aws_secret_access_key = secret_key,
-        host = '​overcloud.cs.uchicago.edu:6780', +        host = '​overcloud.cs.uchicago.edu',​ 
-        ​is_secure=True+        ​port 8000
-        ​calling_format ​boto.s3.connection.OrdinaryCallingFormat(),​+        ​is_secure=True
 ) )
  
/var/lib/dokuwiki/data/pages/cloud/recipe/s3.txt · Last modified: 2021/04/05 13:39 by chudler