Tag Archives: codedeploy

AWS CodeDeploy 支援單機測試模式

AWS CodeDeploy 本來是個 client-server 服務架構,但現在讓你方便在本機測試,支援直接在本機下指令 deploy (不需要 server) 看看發生什麼狀況:「AWS CodeDeploy Supports Local Testing and Debugging」。 Previously, if you wanted to test and debug your deployment, you had to fully configure AWS CodeDeploy. This includes installing the agent on the target … Continue reading

Posted in AWS, Cloud, Computer, Murmuring, Network, Programming, Service, Software|Tagged , , , , , , , , , , , |Leave a comment

CodeDeploy 對發生衝突的調整

AWS CodeDeploy 推出了新的功能,當 CodeDeploy 偵測到發生衝突時可以設定處理的方式:「AWS CodeDeploy Adds File Handling Support」。 以往遇到衝突時就會失敗,而現在可以選擇處理方式了: Previously, CodeDeploy would fail the deployment when it detected a discrepancy between the files present at a target location and those in the last successful deployment. Now, you can … Continue reading

Posted in AWS, Cloud, Computer, Murmuring, Network, Programming, Software|Tagged , , , , , , , |Leave a comment

CodeDeploy 跟 ELB/ALB 整合了...

看到 CodeDeploy 跟 ELB/ALB 整合的消息:「AWS CodeDeploy now integrates with Elastic Load Balancer」。 不過看同事在「AWS 替 CodeDeploy 加入 Load balancer 的功能」這邊提到的效能問題,看起來頗慘... 至少是個整合後的方法... 也許之後會改善吧。

Posted in AWS, Cloud, Computer, Murmuring, Network, Programming|Tagged , , , , , , , , , |Leave a comment

CodeDeploy 的權限設定...

這陣子在弄 AWS CodeDeploy,調整了半天才把權限壓低到合理的範圍 (AWS 給的預設值還是有點大),記錄下來之後會比較好找... 在權限部份,AWS CodeDeploy 應該有三個權限要設定: IAM user:給 CI 跑完後丟上 Amazon S3 並且呼叫 AWS CodeDeploy 佈署用的,像是 Travis CI 或是之類的服務。但如果是手動到 web console 觸發的話,這個部份就不需要了。 Service Role:給 AWS CodeDeploy 的服務本身用的。 EC2 Role:給跑在機器上 AWS CodeDeploy Agent 用的。 如同前面講的,IAM user 的部份有兩個要處理,一個是讓 CI 服務把檔案傳上 … Continue reading

Posted in AWS, Cloud, Computer, Murmuring, Network, Programming, Security, Software|Tagged , , , , , , , , , , , , , |1 Comment

AWS CodeDeploy 支援 BlueGreenDeployment

AWS CodeDeploy 推出了 BlueGreenDeployment 的功能:「AWS CodeDeploy Introduces Blue/Green Deployments」。 BlueGreenDeployment 的目的不計成本想辦法把上線的 downtime 壓到最低,而且當出問題時 rollback 的時間壓到最低的方法: One of the challenges with automating deployment is the cut-over itself, taking software from the final stage of testing to live production. You usually need … Continue reading

Posted in AWS, Cloud, Computer, Murmuring, Network, Programming, Software|Tagged , , , , , , , , , , , , , , |1 Comment