

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

# 在 AWS GovCloud (US) 區域中部署
<a name="deploy-govcloud"></a>

解決方案支援在 AWS GovCloud （美國西部） 和 AWS GovCloud （美國東部） 區域中部署。不過，您必須使用本節中的啟動按鈕，而不是本指南其他章節中提供的啟動按鈕。其他區段中的啟動按鈕會參考標準 AWS 分割區所暫存的範本，這些範本無法從 AWS GovCloud (US) 區域存取。

**注意**  
預設 CloudFront \+ S3 Web 主控台託管選項不適用於 AWS GovCloud (US) 區域，因為 Amazon CloudFront 不適用於 AWS GovCloud (US) 分割區。請改用 ALB \+ ECS Fargate 範本或無周邊範本。

部署之前，您必須將解決方案的容器映像鏡像到 AWS GovCloud (US) 區域中的私有 Amazon ECR 儲存庫，因為 AWS GovCloud (US) 中的 ECS 任務無法存取公有 ECR 登錄檔 ()`public.ecr.aws`。如需鏡射容器映像的指示，請參閱本指南的[載入測試器映像 URI](container-image.md#load-tester-image-uri) 一節。

 [![Launch solution with the ALB + ECS Fargate template in AWS GovCloud (US)](http://docs.aws.amazon.com/zh_tw/solutions/latest/distributed-load-testing-on-aws/images/launch-button.png)](https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-west-1#/stacks/new?templateURL=https:%2F%2Fs3.us-gov-west-1.amazonaws.com%2Fsolutions-reference-us-gov%2Fdistributed-load-testing-on-aws%2Flatest%2Fdistributed-load-testing-on-aws-alb-ecs.template&redirectId=ImplementationGuide) **distributed-load-testing-on-aws-alb-ecs.template** - 使用託管在 ECS Fargate 上的 Web 主控台在 ALB 後方啟動解決方案。遵循[啟動堆疊 (ALB \+ ECS Fargate 託管 Web 主控台）](deploy-alb-ecs-fargate.md) 中的指示，並另外提供 **Load Tester Image URI** 和 **Web Console Image URI** 參數。

 [![Launch solution with the headless template in AWS GovCloud (US)](http://docs.aws.amazon.com/zh_tw/solutions/latest/distributed-load-testing-on-aws/images/launch-button.png)](https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-west-1#/stacks/new?templateURL=https:%2F%2Fs3.us-gov-west-1.amazonaws.com%2Fsolutions-reference-us-gov%2Fdistributed-load-testing-on-aws%2Flatest%2Fdistributed-load-testing-on-aws-headless.template&redirectId=ImplementationGuide) **distributed-load-testing-on-aws-headless.template** - 僅啟動解決方案後端。遵循[啟動堆疊 （無標頭）](deploy-self-hosted.md) 中的指示，並另外提供 **Load Tester Image URI** 參數。

或者，您可以下載範本做為自有實作的起點。選擇上方的啟動按鈕，然後從**建立堆疊**頁面上的 **Amazon S3 URL 欄位複製範本 URL**。