python - Boto randomly connecting to different regions for S3 transfers -


i have several s3 buckets containing total of 40 tb of data across 761 million objects. undertook project copy these objects ebs storage. knowledge, buckets created in us-east-1. know of ec2 instances used export ebs within us-east-1.

the problem aws bill last month included pretty hefty charge inter-regional data transfer. i'd know how possible?

the transfer used pretty simple python script boto connect s3 , download contents of each object. suspect fact bucket names composed of uppercase letters might have been contributing factor (i had specify ordinarycallingformat()), don't know sure.

afaik, bucket uppercase characters in it's name can exist in classic s3 region (i.e. us-east-1). did of bucket names contain uppercase characters? buckets still exist? if so, double check location this:

import boto c = boto.connect_s3() bucket in c.get_all_buckets():     print(bucket.name, bucket.get_location()) 

if bucket located anywhere other us-east-1 region, see location printed next it's name. otherwise, blank.

if of buckets in us-east-1 region , 100% of ec2 instances in us-east-1 , of ebs volumes created in us-east-1 region have no explanation why have seen inter-regional traffic charges on bill. not believe boto randomly connects different regions. might worth asking aws that. there legitimate reason it's not obvious me.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -