User Tools

Site Tools


cloud:recipe:s3

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
cloud:recipe:s3 [2021/04/05 13:21]
chudler created
cloud:recipe:s3 [2021/04/05 13:37]
chudler [Test Access with Python Boto (example)]
Line 23: Line 23:
 access_key = <ACCESS KEY> access_key = <ACCESS KEY>
 secret_key = <SECRET KEY> secret_key = <SECRET KEY>
-host_base =  https://​overcloud.cs.uchicago.edu:​6780 +host_base =  https://​overcloud.cs.uchicago.edu:​8000 
-host_bucket = https://​overcloud.cs.uchicago.edu:​6780+host_bucket = https://​overcloud.cs.uchicago.edu:​8000
 </​code>​ </​code>​
  
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
Line 46: Line 52:
         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