

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

# 與合作夥伴產品和服務整合
<a name="integrations-partners"></a>

CodeDeploy 具有下列合作夥伴產品和服務的內建整合：


|  |  | 
| --- |--- |
| Ansible | 如果您已經有一組 [Ansible](http://www.ansible.com) 手冊，但只需要在某個位置執行，Ansible 和 CodeDeploy 的 範本會示範幾個簡單的部署掛鉤如何確保 Ansible 可在本機部署執行個體上使用，並執行手冊。如果您已有建置和維護庫存的程序，也有 Ansible 模組可用來安裝和執行 CodeDeploy 代理程式。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| Atlassian – Bamboo 和 Bitbucket | [Bamboo](https://www.atlassian.com/software/bamboo/) 的 CodeDeploy 任務會將包含 AppSpec 檔案的目錄壓縮為 .zip 檔案、將檔案上傳至 Amazon S3，然後根據 CodeDeploy 應用程式提供的組態啟動部署。<br />對 CodeDeploy 的 Atlassian Bitbucket 支援可讓您隨需直接從 Bitbucket UI 將程式碼推送至 Amazon EC2 執行個體。這表示在 Bitbucket 儲存庫中更新程式碼之後，您不需要登入您的持續整合 (CI) 平台或 Amazon EC2 執行個體，即可執行手動部署程序。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| Chef | AWS 提供兩個範本範例來整合 [Chef](https://www.chef.io/) 和 CodeDeploy。第一個是安裝和啟動 CodeDeploy 代理程式的 Chef 技術指南。這可讓您在使用 CodeDeploy 時，透過 Chef 繼續管理主機基礎設施。第二個範例範本示範如何使用 CodeDeploy，在每個節點上使用 chef-solo 協調技術指南和配方的執行。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| CircleCI | [CircleCI](https://circleci.com/) 提供自動化測試和持續整合及部署工具集。在 中建立 IAM 角色 AWS 以搭配 CircleCI 使用，並在 circle.yml 檔案中設定部署參數後，您可以使用 CircleCI 搭配 CodeDeploy 來建立應用程式修訂版、將其上傳至 Amazon S3 儲存貯體，然後啟動和監控您的部署。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| CloudBees | 您可以使用 [CloudBees](https://www.cloudbees.com/) DEV@cloud 上提供的 CodeDeploy Jenkins 外掛程式做為建置後動作。例如，在持續交付管道結尾，您可以使用它來部署應用程式修訂版到您的伺服器機群。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| Codeship | 您可以使用 [Codeship](https://codeship.com/) 透過 CodeDeploy 部署應用程式修訂。您可以使用 Codeship UI 將 CodeDeploy 新增至分支的部署管道。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| GitHub | 您可以使用 CodeDeploy 從 [GitHub](http://www.github.com) 儲存庫部署應用程式修訂版。您也可以在該儲存庫中的原始碼變更時，從 GitHub 儲存庫觸發部署。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| **HashiCorp Consul** | 您可以使用開放原始碼 HashiCorp Consul 工具，協助確保您在 CodeDeploy 中部署應用程式時應用程式環境的運作狀態和穩定性。您可以使用 Consul 註冊應用程式，以便在部署時被發現，將應用程式和節點置於維護模式，將它們從部署解除，如果目標執行個體運作狀態不佳時，即可停止部署。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| Jenkins | CodeDeploy [Jenkins](http://jenkins-ci.org/) 外掛程式為您的 Jenkins 專案提供建置後步驟。成功建置後，它會壓縮工作區、上傳至 Amazon S3，並啟動新的部署。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| Puppet Labs | AWS 提供 [Puppet](https://puppetlabs.com/) 和 CodeDeploy 的範例範本。第一個是安裝和啟動 CodeDeploy 代理程式的 Puppet 模組。這可讓您在使用 CodeDeploy 時繼續使用 Puppet 來管理主機基礎設施。第二個範例範本示範如何使用 CodeDeploy 來協調在每個節點上具有無主控程式的模組和資訊清單的執行。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| SaltStack | 您可以將 [SaltStack](https://saltproject.io/index.html) 基礎設施與 CodeDeploy 整合。您可以使用 CodeDeploy 模組在小兵上安裝和執行 CodeDeploy 代理程式，或使用幾個簡單的部署勾點，使用 CodeDeploy 協調 Salt 狀態的執行。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| **TeamCity** | 您可以使用 CodeDeploy Runner 外掛程式直接從 TeamCity 部署應用程式。外掛程式會新增 TeamCity 建置步驟，以準備和上傳應用程式修訂版至 Amazon S3 儲存貯體、在 CodeDeploy 應用程式中註冊修訂版、建立 CodeDeploy 部署，以及等待部署完成。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 
| Travis CI | 您可以設定 [Travis CI](https://travis-ci.com/)，在成功建置後觸發 CodeDeploy 中的部署。<br />進一步了解：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/codedeploy/latest/userguide/integrations-partners.html) | 

**Topics**
+ [GitHub](integrations-partners-github.md)