AWS CloudFormation未在Auto Scaling组中创建初始实例 [英] AWS CloudFormation not creating initial instance in Auto Scaling group

查看:182
本文介绍了AWS CloudFormation未在Auto Scaling组中创建初始实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(过期的Pastbin链接已删除)

(Expired Pastbin Link Removed)

然后我尝试创建堆栈失败,因为没有创建EC2实例,因此无法创建Auto Scaling组。如何触发创建初始实例?

Then I try to create a stack is fails to create the Auto Scaling group as no EC2 instances are created. How do I trigger the creation of the initial instance?

Received 0 SUCCESS signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement


推荐答案

我相信我能够复制您的模板的症状-问题可能与您使用的AMI有关。我从市场链接中为我的区域选择了AMI,如参数描述中缩短的URL所引用。我仍在等待资源创建失败(将近一个小时!),但症状会相匹配。

I believe I was able to replicate your symptoms with your template - the issue may be related to the AMI you're using. I selected the AMI for my region from the marketplace link as referenced by the shortened url in the parameter description. I'm still waiting for resource creation to fail (been almost an hour!) but otherwise the symptoms match up.

启动时,伸缩组在ASG中可见控制台,但有0个实例。但是,活动历史记录选项卡显示了多次尝试启动实例的尝试,但均失败:

While launching, the scaling group is visible in the ASG console but with 0 instances. However, the Activity History tab shows a number of attempts to launch an instance, and all fail:

所有这些文件的描述是:

The description on all of them is:


描述:启动一个新的EC2实例。状态原因:以
的价格使用此AWS Marketplace产品,您需要接受条款并有
订阅。为此,请访问
http://aws.amazon.com/marketplace / pp?sku = aw0evgkw8e5c1q413zgy5pjce
启动EC2实例失败。

Description: Launching a new EC2 instance. Status Reason: In order to use this AWS Marketplace product you need to accept terms and subscribe. To do so please visit http://aws.amazon.com/marketplace/pp?sku=aw0evgkw8e5c1q413zgy5pjce. Launching EC2 instance failed.

您是否接受条款并在市场上订阅了该AMI?这里有更多详细信息: https://aws.amazon.com/marketplace/help/ 200799470#topic1

Have you accepted the terms and subscribed to that AMI in the marketplace? There are more details here: https://aws.amazon.com/marketplace/help/200799470#topic1

注意:我相信您只会在cloudformation等待时在控制台中看到ASG-在cfn回滚后,asg (以及活动历史记录)将消失。由于我仍在等待asg资源创建失败,因此我还没有确定。

Note: I believe you will only see the ASG in the console while cloudformation is waiting for it - after the cfn rolls back, the asg (and the activity history) will disappear. As I'm still waiting for the asg resource creation to fail, I haven't definitely confirmed this.

这篇关于AWS CloudFormation未在Auto Scaling组中创建初始实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆