创建 cloudformation 堆栈

Creating cloudformation stacks

所以我正在使用 https://github.com/commonsearch/cosr-ops/ commonsearch 部署工具。该工具在 CloudFormation 中创建 clusters/instances!

我有很多错误,我修复了 myslef,但是这个问题我已经打了 2 天了。

调用 make aws_elasticsearch_create 时有些东西创建失败 下面列出了错误,有什么想法吗?

The following resource(s) failed to create: [ElasticsearchLbLaunchConfiguration, ElasticsearchMasterLaunchConfiguration, ElasticsearchDataLaunchConfiguration]. . Rollback requested by user.

我通过更改 ami 的 MAPPINGS 解决了这个问题。

但是!

运行 进入另一个问题。

这次不是配置,而是缩放。

见下文:

The following resource(s) failed to create: [ElasticsearchLbAutoScalingGroup, ElasticsearchMasterAutoScalingGroup, ElasticsearchDataAutoScalingGroup]. . Rollback requested by user.

欢迎任何想法。帮助其他程序员解决这个问题:)

终于有进步了!

您必须从本地 konsole 向 AutoScaling 资源发出信号,让它们继续。操作方法如下:

aws cloudformation signal-resource --stack-name search-elasticsearch --logical-resource-id ElasticsearchDataAutoScalingGroup --status SUCCESS --unique-id ElasticsearchDataAutoScalingGroup

我已经遇到下一个错误,但它的验证错误。会想办法解决的。