简体   繁体   English

AWS CloudFormation模板缺少什么参数?

[英]What parameter is missing for AWS CloudFormation template?

I am attempting to implement this template in a test environment on AWS: https://github.com/awslabs/hids-cloudwatchlogs-elasticsearch-template 我正在尝试在AWS的测试环境中实现此模板: https : //github.com/awslabs/hids-cloudwatchlogs-elasticsearch-template

I've performed the following steps: 我已经执行了以下步骤:

  1. Create SSH Key Pair and select it 创建SSH密钥对并选择它
  2. Create S3 bucket 创建S3存储桶
  3. Add zipped Lamba deployment package to S3 bucket 将压缩的Lamba部署程序包添加到S3存储桶
  4. Specify S3 bucket in configuration 在配置中指定S3存储桶
  5. Select the test VPC 选择测试VPC
  6. Select the test Subnet 选择测试子网
  7. Configure the Trusted Network CIDR 配置可信网络CIDR
  8. Subnet is active with other test instances running 子网处于活动状态,并且正在运行其他测试实例
  9. Default VPC Security Group allows all outbound traffic 默认VPC安全组允许所有出站流量
  10. Execute the template with defaults for one test and then another test using an AWS role that has the built-in AdministratorAccess policy assigned (I understand this is not the best practice; I just need the Stack created before scaling back permissions in this test environment) 在默认情况下执行一个测试的模板,然后使用分配了内置AdministratorAccess策略的AWS角色执行另一个测试(我知道这不是最佳实践;在此测试环境中缩减权限之前,我只需要创建堆栈即可)

I keep getting the following error: 我不断收到以下错误:

17:02:50 UTC-0700 ROLLBACK_IN_PROGRESS AWS::CloudFormation::Stack HIDS The following resource(s) failed to create: [HIDSLinuxHost02, HIDSLinuxHost01]. 17:02:50 UTC-0700 ROLLBACK_IN_PROGRESS AWS :: CloudFormation :: Stack HIDS无法创建以下资源:[HIDSLinuxHost02,HIDSLinuxHost01]。 . Rollback requested by user. 用户请求的回滚。
17:02:49 UTC-0700 CREATE_FAILED AWS::EC2::Instance HIDSLinuxHost02 Resource creation cancelled 17:02:49 UTC-0700 CREATE_FAILED AWS :: EC2 :: Instance HIDSLinuxHost02资源创建已取消
17:02:48 UTC-0700 CREATE_FAILED AWS::EC2::Instance HIDSLinuxHost01 Failed to receive 1 resource signal(s) within the specified duration Physical ID:i-0ee21727a8f28d057 Client Request Token:Console-CreateStack-3bce5b46-9677-4c8e-99c6-687b7e03f51b 17:02:48 UTC-0700 CREATE_FAILED AWS :: EC2 :: Instance HIDSLinuxHost01在指定的持续时间内未能接收到1个资源信号物理ID:i-0ee21727a8f28d057客户端请求令牌:Console-CreateStack-3bce5b46-9677-4c8e- 99c6-687b7e03f51b

Any ideas on why this is might occur? 为什么会有这种想法?

@jarmod assisted me down the right path. @jarmod帮助我走了正确的路。 NAT wasn't configured properly so the EC2 instances were not able to traverse the router. NAT配置不正确,因此EC2实例无法穿越路由器。 Thank you @jarmod. 谢谢@jarmod。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 AWS:如何在CloudFormation模板中指定布尔参数 - AWS: How to specify a boolean parameter in a CloudFormation template AWS CloudFormation 模板:如何隐藏参数? - AWS CloudFormation‎ Template : How to hide parameter? AWS Parameter Store 结果作为 CloudFormation 模板中的列表 - AWS Parameter Store result as list in CloudFormation template AWS cloudformation 错误:模板验证错误:模板参数属性无效 - AWS cloudformation error: Template validation error: Invalid template parameter property 如何在 Cloudformation 模板条件中使用 AWS SSM 参数存储值? - How to use AWS SSM parameter store values in Cloudformation template conditionals? 如何在 aws cloudformation yaml 模板中格式化数据类型 json 的参数? - How to format parameter of data type json in a aws cloudformation yaml template? 在 CloudFormation 模板中引用 AWS Parameter Store 的安全字符串 - Referencing AWS Parameter Store's Secure String in CloudFormation template 将 Azure 管道变量作为参数传递给 AWS Cloudformation 模板,类型为:数字 - Pass Azure pipeline variable to AWS Cloudformation template as parameter with type: Number CloudFormation、AWS Lambda:忽略旧模板中的参数 - CloudFormation, AWS Lambda: Ignore Parameter from Old Template 获取 Cloudformation 模板中所有 AWS 资源的输出参数 - Get output parameter for all AWS Resources in Cloudformation Template
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM