我正在通过 Bamboo 启动 Windows 库存映像。实例启动相对较快,但弹性代理挂起,然后在 40 分钟后关闭。这种情况发生过多次 - 它总是在 40 分钟后关闭。查看日志:
Apr 21, 2015 10:12:11 AM Requested that new elastic instance be created for configuration: Windows stock image / ami-6697dd0e
Apr 21, 2015 10:12:11 AM Elastic instance [i-f3118c0e] transitioned from STARTING to IDENTIFIED.
Apr 21, 2015 10:12:32 AM Elastic instance [i-f3118c0e] transitioned from IDENTIFIED to RUNNING.
Apr 21, 2015 10:52:55 AM Elastic instance [i-f3118c0e] transitioned from RUNNING to SHUTTING_DOWN.
Apr 21, 2015 10:53:35 AM Elastic instance [i-f3118c0e] transitioned from SHUTTING_DOWN to TERMINATED.
Apr 21, 2015 10:53:35 AM Detected that the elastic instance [i-f3118c0e] has been terminated.
我已将 Bamboo Elastic Configuration 变量“空闲代理关闭延迟”编辑为 1000 分钟。之前是 40 分钟。我没有看到任何迹象表明需要重新启动 Bamboo 服务器才能应用此设置。
为什么它总是在 40 分钟后关机?
答案1
此问题将在 Bamboo 5.9 中修复。请参阅此漏洞。您需要使用适合您地区的 AMI 进行自定义图像配置。以下是从错误评论中修复的 AMI:
image.ASIA_PACIFIC_SE_1.EBS.x86_64.windows.Windows=ami-1cb0824e
image.SOUTH_AMERICA_1.EBS.x86_64.windows.Windows=ami-31ec692c
image.US_EAST_1.EBS.x86_64.windows.Windows=ami-04ccf46c
image.EU_CENTRAL_1.EBS.x86_64.windows.Windows=ami-22033f3f
image.EU_WEST_1.EBS.x86_64.windows.Windows=ami-3f503148
image.US_WEST_2.EBS.x86_64.windows.Windows=ami-e93b11d9
image.ASIA_PACIFIC_NE_1.EBS.x86_64.windows.Windows=ami-28ae5428
image.ASIA_PACIFIC_SE_2.EBS.x86_64.windows.Windows=ami-e3374ad9
image.US_WEST_1.EBS.x86_64.windows.Windows=ami-79c1233d