

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 將護欄推論分散到 AWS 區域
<a name="guardrails-cross-region"></a>

您可以使用 Amazon Bedrock Guardrails 啟用跨區域推論，其會在護欄政策評估期間自動將推論請求路由至您地理位置 AWS 區域 內的最佳 。(如需此操作如何進行的詳細資訊，請參閱 [透過跨區域推論增加輸送量](cross-region-inference.md)。) 將推論請求分配到各個 AWS 區域 ，即可讓充分運用可用的運算資源和模型可用性，有助於在需求增加時，維持防護機制的效能和可靠性。使用跨區域推論無需額外費用。

跨區域推論請求會保留在資料原本所在地理位置的 區域內。例如，在美國提出的請求會保留在美國的區域內。雖然防護機制組態只會存放在主要區域中，但在使用跨區域推論時，您的輸入提示和輸出結果可能會移動到主要區域之外。所有資料在 Amazon 的安全網路內傳輸時，都會經過加密。

## 設定跨區域防護機制推論
<a name="guardrail-profiles-set-up"></a>

跨區域防護機制推論是透過*防護機制設定檔*處理，這是系統定義的資源，您可以在[建立](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-create.html)或[修改](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-edit.html)防護機制時，指定下列其中一種方式：
+ 使用 Amazon Bedrock 主控台。
+ 使用 [Amazon Bedrock 控制平面端點](https://docs.aws.amazon.com/general/latest/gr/bedrock.html#br-cp)傳送 [CreateGuardrail](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateGuardrail.html) 或 [UpdateGuardrail](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_UpdateGuardrail.html) 請求。

您需要特定許可，才能使用跨區域防護機制推論。如需詳細資訊，請參閱[搭配 Amazon Bedrock 防護機制使用跨區域推論的許可](guardrail-profiles-permissions.md)。

# 支援跨區域防護機制推論的區域
<a name="guardrails-cross-region-support"></a>

使用 Amazon Bedrock Guardrails 進行跨區域推論，可讓您針對護欄政策評估使用不同 AWS 區域 的運算，無縫管理意外流量暴增。

[建立](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-components.html)或[修改](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-edit.html)防護機制時，您要指定支援一組來源和目的地區域的防護機制設定檔：
+ **來源區域** – 您提出防護機制推論請求所在的區域。
+ **目的地區域** – Amazon Bedrock 服務可路由防護機制推論請求的區域。

您可以使用的防護機制設定檔取決於防護機制所在的來源區域。

## 可用的防護機制設定檔
<a name="available-guardrail-profiles"></a>

展開下列其中一個區段，以查看防護機制設定檔、可使用推論設定檔的來源區域，以及可路由請求的目的地區域的相關資訊。

### US Guardrail v1:0
<a name="guardrail-profiles-us-guardrail"></a>

若要在美國地理界限中使用防護機制設定檔，請在其中一個來源區域中，指定下列防護機制設定檔 ID 或 Amazon Resource Name (ARN)：

**防護機制設定檔 ID**  

```
us.guardrail.v1:0
```

**防護機制設定檔 ARN**  

```
arn:aws:bedrock:source-region:account-id:guardrail-profile/us.guardrail.v1:0
```

下表顯示您可以從中呼叫防護機制設定檔的來源區域，以及可路由請求的目的地區域：


| 來源區域 | 目的地區域 | 
| --- | --- | 
| us-east-1 |  us-east-1 us-east-2 us-west-2  | 
| us-east-2 |  us-east-1 us-east-2 us-west-2  | 
| us-west-1 |  us-east-1 us-east-2 us-west-1 us-west-2  | 
| us-west-2 |  us-east-1 us-east-2 us-west-2  | 

### US-GOV Guardrail v1:0
<a name="guardrail-profiles-us-gov-guardrail"></a>

若要在 AWS GovCloud (US) 地理界限中使用護欄描述檔，請在其中一個來源區域中指定下列護欄描述檔 ID 或 ARN：

**防護機制設定檔 ID**  

```
us-gov.guardrail.v1:0
```

**防護機制設定檔 ARN**  

```
arn:aws-us-gov:bedrock:source-region:account-id:guardrail-profile/us-gov.guardrail.v1:0
```

下表顯示您可以從中呼叫防護機制設定檔的來源區域，以及可路由請求的目的地區域：


| 來源區域 | 目的地區域 | 
| --- | --- | 
| us-gov-east-1 |  us-gov-east-1 us-gov-west-1  | 
| us-gov-west-1 |  us-gov-east-1 us-gov-west-1  | 

### EU Guardrail v1:0
<a name="guardrail-profiles-eu-guardrail"></a>

若要在歐洲地理界限中使用防護機制設定檔，請在其中一個來源區域中，指定下列防護機制設定檔 ID 或 ARN：

**防護機制設定檔 ID**  

```
eu.guardrail.v1:0
```

**防護機制設定檔 ARN**  

```
arn:aws:bedrock:source-region:account-id:guardrail-profile/eu.guardrail.v1:0
```

下表顯示您可以從中呼叫防護機制設定檔的來源區域，以及可路由請求的目的地區域：


| 來源區域 | 目的地區域 | 
| --- | --- | 
| eu-central-1 |  eu-central-1 eu-west-1 eu-west-3 eu-north-1  | 
| eu-west-1 |  eu-central-1 eu-west-1 eu-west-3 eu-north-1  | 
| eu-west-3 |  eu-central-1 eu-west-1 eu-west-3 eu-north-1  | 
| eu-north-1 |  eu-central-1 eu-west-1 eu-west-3 eu-north-1  | 
| il-central-1 |  eu-north-1 eu-south-1 eu-west-1 eu-west-3 eu-central-1 il-central-1  | 

### APAC Guardrail v1:0
<a name="guardrail-profiles-apac-guardrail"></a>

若要在 APAC 地理界限中套用防護機制跨區域，請在其中一個來源區域中，指定下列防護機制設定檔 ID 或 ARN：

**防護機制設定檔 ID**  

```
apac.guardrail.v1:0
```

**防護機制設定檔 ARN**  

```
arn:aws:bedrock:source-region:account-id:guardrail-profile/apac.guardrail.v1:0
```

下表顯示您可以從中呼叫防護機制設定檔的來源區域，以及可路由請求的目的地區域：


| 來源區域 | 目的地區域 | 
| --- | --- | 
| ap-south-1 |  ap-south-1 ap-northeast-3 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1  | 
| ap-northeast-2 |  ap-south-1 ap-northeast-3 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1  | 
| ap-southeast-1 |  ap-south-1 ap-northeast-3 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1  | 
| ap-southeast-2 |  ap-south-1 ap-northeast-3 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1  | 
| ap-southeast-3 |  ap-south-1 ap-south-2 ap-southeast-1 ap-southeast-2 ap-southeast-3 ap-southeast-4 ap-northeast-1 ap-northeast-2 ap-northeast-3  | 
| ap-southeast-4 |  ap-south-1 ap-south-2 ap-southeast-1 ap-southeast-2 ap-southeast-4 ap-northeast-1 ap-northeast-2 ap-northeast-3  | 
| ap-northeast-1 |  ap-south-1 ap-northeast-3 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1  | 
| ap-east-2 |  ap-east-2 ap-south-1 ap-south-2 ap-southeast-1 ap-southeast-2 ap-southeast-3 ap-southeast-4 ap-northeast-1 ap-northeast-2 ap-northeast-3  | 
| ap-southeast-5 |  ap-south-1 ap-south-2 ap-southeast-1 ap-southeast-2 ap-southeast-3 ap-southeast-4 ap-southeast-5 ap-northeast-1 ap-northeast-2 ap-northeast-3  | 
| ap-southeast-7 |  ap-south-1 ap-south-2 ap-southeast-1 ap-southeast-2 ap-southeast-3 ap-southeast-4 ap-southeast-7 ap-northeast-1 ap-northeast-2 ap-northeast-3  | 
| me-central-1 |  ap-south-1 ap-south-2 ap-southeast-1 ap-southeast-2 ap-southeast-3 ap-southeast-4 ap-northeast-1 ap-northeast-2 ap-northeast-3 me-central-1  | 