查看完整版本: 如何在AWS EC2上安裝 CodeDeploy Agent 代理服務


cuteftp 2018-2-5 10:51

如何在AWS EC2上安裝 CodeDeploy Agent 代理服務

<div>AWS CodeDeploy 是一項部署服務,可以向 Amazon EC2 實例、本地實例或無服務器 Lambda 函數自動執行應用程序部署。</div><div>AWS CodeDeploy 能讓您更輕鬆地執行以下操作:</div><div><br></div><div>快速發布新功能。</div><div>更新 AWS Lambda 函數版本。</div><div>避免在應用程序配置過程中停機。</div><div>處理更新應用程序的複雜性,而沒有許多與容易出錯的手動部署關聯的風險。</div><div><br></div><div>該服務會隨您的基礎設施進行擴展,因此您可以輕鬆地向一個實例或數千個實例部署。</div><div><br></div><div># yum install ruby wget</div><div># cd /home/ec2-user</div><div><br></div><div>Tokyo 的 bucket-name為 : aws-codedeploy-ap-northeast-1</div><div># wget https://aws-codedeploy-ap-northeast-1.s3.amazonaws.com/latest/install</div><div><br>Singapore 的 bucket-name為 :aws-codedeploy-ap-southeast-1<br># wget https://aws-codedeploy-ap-southeast-1.s3.amazonaws.com/latest/install<br><br></div><div>PS: 如果要找其它Region的位置,可以到這邊查詢</div><div>https://docs.aws.amazon.com/zh_cn/codedeploy/latest/userguide/resource-kit.html#resource-kit-bucket-names</div><div><br></div><div># chmod +x ./install</div><div># ./install auto</div><div><br></div><div>要檢查服務是否正在運行,請運行以下命令:</div><div># service codedeploy-agent status</div>
頁: [1]
查看完整版本: 如何在AWS EC2上安裝 CodeDeploy Agent 代理服務