2015-09-20 100 views
0

我經歷:http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-run-agent.html#how-to-run-agent-install-ubuntuAWS代碼部署代理安裝

我做了什麼是寫在本教程中,安裝Ruby 2.0.0 ..... 不幸後,它不工作,我無法找到任何關於該鏈接的問題,爲什麼它不可用。我的EC2實例在eu-west-1(愛爾蘭)運行,aws/config也爲此配置。 IAM具有S3,CodeDeploy完全訪問權限 - 否則我將無法首先下載安裝文件。

./install auto 
I, [2015-09-20T18:08:56.516995 #12388] INFO -- : Starting Ruby version check. 
I, [2015-09-20T18:08:56.517235 #12388] INFO -- : Starting update check. 
I, [2015-09-20T18:08:56.517335 #12388] INFO -- : Attempting to automatically detect supported package manager type for system... 
I, [2015-09-20T18:08:56.578509 #12388] INFO -- : Checking AWS_REGION environment variable for region information... 
I, [2015-09-20T18:08:56.578590 #12388] INFO -- : Checking EC2 metadata service for region information... 
I, [2015-09-20T18:08:56.597957 #12388] INFO -- : Downloading version file from bucket aws-codedeploy-eu-central-1 and key latest/VERSION... 
E, [2015-09-20T18:08:56.633576 #12388] ERROR -- : Could not find version file to download at 'https://s3-eu-central-1.amazonaws.com/aws-codedeploy-eu-central-1/latest/VERSION' 

我希望有人能澄清這個問題是否仍在使用中,或者我是否缺少「文檔」中的任何內容?

回答

1

CodeDeploy目前不在eu-central-1中。有關最新列表,請參見CodeDeploy supported regions

如果您嘗試在實時區域使用安裝腳本,例如eu-west-1,它應該可以工作。