本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
實作與 Elastic Beanstalk 環境的 CI/CD 整合
Elastic Beanstalk 與許多 CI/CD 工具整合,以自動化您的應用程式開發工作流程。CI/CD 實務可讓您以最少的手動介入,自動建置、測試和部署您的應用程式。持續交付/部署 (CD) 透過自動化部署程序來擴展持續整合 (CI)。您可以使用 CodePipeline 等 AWS 服務或第三方工具,例如 Jenkins 和 GitLab 來建立簡化的部署管道,以確保對 Elastic Beanstalk 環境進行一致且可靠的部署。
AWS 要開始使用的來源
下列清單重點介紹 CI/CD 工具和對應的 AWS 資源,提供step-by-step指引:
-
AWS CodePipeline – 本AWS 入門資源中心
教學課程說明如何從 GitHub 、S3 或 設定 Elastic Beanstalk 的連續部署管道 AWS CodeCommit。 -
GitHub 動作 – 此部落格上的 AWS .NET
文章會逐步引導您設定 YAML 型工作流程,以直接從 GitHub 將連續部署管道設定為 Elastic Beanstalk。 -
GitLab – 此 AWS DevOps 開發人員生產力部落格
文章示範如何設定 GitLab 連續管道,將 Node.js 應用程式部署至 Elastic Beanstalk Docker 環境。 -
Azure DevOps – 此 .NET on AWS Blog
文章會引導您使用 Azure Pipelines 將連續部署管道從 Azure DevOps Git 儲存庫實作至 Elastic Beanstalk。
其他資源
下列第三方工具和資源可協助您將自動化部署管道實作到 Elastic Beanstalk 環境:
-
Jenkins – AWS EBDeployment Jenkins 外掛程式
可讓您從 Jenkins 任務組態頁面直接部署到 Elastic Beanstalk 環境。 -
圓形 CI: – Elastic Beanstalk 的 Orbs
提供可重複使用的組態套件,可將應用程式部署和擴展至 Elastic Beanstalk。 -
Bitbucket Pipelines – 文章使用 Bitbucket Pipelines 部署 Elastic Beanstalk 應用程式
提供使用 Elastic Beanstalk 實作 Bitbucket Pipelines 的基本組態範例。