AWS 웹 서비스의 기본 영역을 설정하려고합니다. 특히 dynamodb입니다. 이boto 설정에서 기본 영역 설정
.boto 내가 연결 매개 변수를 사용하지 않고 테이블을 만들 때, 테이블이 1 동쪽 우리보다는 우리가 서쪽-2에서 생성됩니다
[Credentials]
aws_access_key_id = KEY
aws_secret_access_key = SECRET
[Boto]
autoscale_region_name = us-west-2
내 BOTO의 설정입니다.
def create_table_ratings():
'''
Schema definition of table ratings
'''
ratings = Table.create('ratings', schema=[
HashKey('user_id', data_type=NUMBER),
RangeKey('photo_id', data_type=NUMBER)
], throughput={
'read': 5,
'write': 15,
})
올바른 방법은 무엇입니까?