036. BDA에 필요한 교차 리전 지원 (Cross Region support required for Bedrock Data Automation)
- 원문: English
- 위치: Additional capabilities › Data Automation › Cross Region support required for Bedrock Data Automation
한 줄 요약
BDA는 파일을 처리할 때 교차 리전 추론(cross-Region inference)이 필수입니다. 지역(Geo) 프로필(us./eu./apac. 등) 또는 Global 프로필(global.data-automation-v1) 의 ARN을 IAM 정책에 넣어야 하며, 추가 비용은 없습니다.
쉽게 말하면
BDA를 부르면 같은 지역(예: APAC) 안에서 여유 있는 리전을 BDA가 알아서 골라 처리합니다. 데이터 저장은 원래 리전에 남지만, 요청과 결과는 다른 리전을 거칠 수 있습니다. Global 프로필을 쓰면 전 세계 상용 리전 어디로든 갈 수 있습니다.
핵심 내용
동작 방식
- Geo 프로필: 데이터가 있는 지역(geography) 안의 리전에서만 처리합니다 (예: 미국 요청은 미국 리전 안에서).
- 전송 중 데이터는 모두 암호화되어 Amazon 네트워크로 이동합니다.
- Global 프로필은 옵트인(opt-in) 방식입니다. IAM 정책에 Global 프로필 ARN을 명시적으로 넣어야 쓸 수 있습니다.
- ⚠️ Global 프로필은 현재 Asia Pacific (Singapore) 요청에서만 사용 가능하며, 싱가포르에서는 Global이 유일한 프로필입니다(Geo 프로필 없음).
소스 리전별 프로필
| 소스 리전 | 프로필 | 처리 가능 리전 |
|---|---|---|
| us-east-1, us-east-2, us-west-2 | us.data-automation-v1 | us-east-1, us-east-2, us-west-1, us-west-2 |
| ca-central-1 | na.data-automation-v1 | ca-central-1, ca-west-1, us-east-1, us-east-2, us-west-2 |
| eu-central-1, eu-west-1, eu-south-2 | eu.data-automation-v1 | eu-central-1, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-3 |
| eu-west-2 (London) | eu.data-automation-v1 | eu-west-2만 |
| ap-south-1, ap-southeast-2 | apac.data-automation-v1 | ap-northeast-1/2/3, ap-south-1/2, ap-southeast-1/2/4 |
| ap-northeast-1 (Tokyo) | apac.data-automation-v1 | 위 목록 + ap-southeast-3, ap-southeast-5 |
| ap-southeast-1 (Singapore) | global.data-automation-v1 | 모델이 있는 모든 상용 리전 |
| us-gov-west-1 | us-gov.data-automation-v1 | us-gov-west-1 |
- ARN 형식:
arn:aws:bedrock:<소스리전>:<account id>:data-automation-profile/<프로필> - 📝 서울(ap-northeast-2)은 소스 리전 목록에는 없고, APAC 프로필의 처리 대상 리전으로만 포함됩니다.
📝 원문 확인 필요: 같은
apac.data-automation-v1프로필인데 Tokyo 소스만 처리 리전에 ap-southeast-3, ap-southeast-5가 추가로 적혀 있습니다. 또 London의eu.프로필은 처리 리전이 eu-west-2 하나뿐이라 다른 EU 소스와 다릅니다.
IAM 정책 예시 (US)
{"Effect": "Allow",
"Action": ["bedrock:InvokeDataAutomationAsync"],
"Resource": [
"arn:aws:bedrock:us-east-1:{{account_id}}:data-automation-profile/us.data-automation-v1",
"arn:aws:bedrock:us-east-2:{{account_id}}:data-automation-profile/us.data-automation-v1",
"arn:aws:bedrock:us-west-1:{{account_id}}:data-automation-profile/us.data-automation-v1",
"arn:aws:bedrock:us-west-2:{{account_id}}:data-automation-profile/us.data-automation-v1"]}
- 싱가포르는
arn:aws:bedrock:ap-southeast-1:{{account_id}}:data-automation-profile/global.data-automation-v1하나를 넣습니다. 이 정책을 넣는 순간 Global 교차 리전 추론을 명시적으로 켜는 것입니다.
문제 해결
| 항목 | 내용 |
|---|---|
| 에러 | ValidationException: The provided DataAutomationProfile ARN is invalid. |
| 원인 | Global 프로필을 지원하지 않는 리전에서 global.data-automation-v1을 참조 |
| 해결 | 지원 리전이면 ARN 오타 확인, 아니면 해당 리전의 Geo 프로필(us., eu. 등) 사용 |
- 기존 Geo 프로필 사용자는 Global 프로필 도입의 영향을 받지 않습니다.
SA 관점
- 데이터 레지던시 요구가 있는 고객에게 “BDA는 In-Region 옵션이 없고, 요청·결과가 같은 지역의 다른 리전으로 이동할 수 있다” 는 점을 먼저 설명해야 합니다.
- 한국 고객이 서울 데이터로 BDA를 쓰려면 원문 기준으로 서울이 소스 리전에 없으므로, Tokyo·Sydney·Mumbai 등 APAC 소스 리전에서 호출하는 구조가 됩니다(처리는 서울 포함 APAC 리전들).
- 싱가포르는 Global만 가능하므로, 지역 제한이 필요한 워크로드는 싱가포르 소스를 피하는 것이 안전합니다.