Scott
Scott

Reputation: 11

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

I've performed the following steps:

  1. Create SSH Key Pair and select it
  2. Create S3 bucket
  3. Add zipped Lamba deployment package to S3 bucket
  4. Specify S3 bucket in configuration
  5. Select the test VPC
  6. Select the test Subnet
  7. Configure the Trusted Network CIDR
  8. Subnet is active with other test instances running
  9. Default VPC Security Group allows all outbound traffic
  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)

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]. . Rollback requested by user.
17:02:49 UTC-0700 CREATE_FAILED AWS::EC2::Instance HIDSLinuxHost02 Resource creation cancelled
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

Any ideas on why this is might occur?

Upvotes: 0

Views: 1099

Answers (1)

Scott
Scott

Reputation: 11

@jarmod assisted me down the right path. NAT wasn't configured properly so the EC2 instances were not able to traverse the router. Thank you @jarmod.

Upvotes: 1

Related Questions