Cant launch new EB ruby env - failing on AWSEBInstanceLaunchWaitCondition

0

Hello,

I'm attempting to spin up a new application environment in Elastic Beanstalk with a Ruby 2.6 and Passenger build. But I can't get past a AWSEBInstanceLaunchWaitCondition failure on every attempt.

I cannot edit configs after the failed launch because the app is never in "Ready" state, so I'm stuck just rebuilding over and over again.

If this is an issue with my default VPC, Security Groups, or whatever, how can I tell beanstalk to create a new VPC and security group with the correct configurations?

I've tried the following options through the console:

  • selecting both a Ruby and a Node build just to see if Ruby platform was the problem
  • Deploy Sample Application
  • Deploy my new app
  • Deploy an app that's successfully on running on Beanstalk on my other account
  • Free Tier Eligible option
  • High Availability option
  • Custom config
  • longer timeout
  • do not fail on health check failure
  • more instances in auto scaling group

I've tried via the console and the CLI. Same AWSEBInstanceLaunchWaitCondition error launching a new environment from the CLI. I'm probably racking up charges due to all thee failed deployments so reaching out for some help at this point. I haven't had this issue with beanstalk before. Current failed env id is e-ryvsuzzkjr though I have created and deleted at least 10 others over the last few days.

Thanks!

Edited by: harrisjb on Apr 30, 2019 1:18 AM

asked 5 years ago246 views
2 Answers
0

As suspected, this was an issue with the configuration of my EC2 VPC that was created by beanstalk.

Route table was fine, had an internet gateway attached.

ACL rules were set to deny all inbound traffic, added rules to allow both ssh traffic on port 22 as well as all traffic and the health check started to pass when the environment was rebuilt.

If this is not the correct approach I'm open to hearing suggested best practice, please either post the actual suggested configuration or a link to the documentation suggesting best practice.

answered 5 years ago
0

For now I'm marking this as answered as I got the health check working, but open to hearing suggestions on best practice fixing the misconfigured ACL from beanstalk environment creation.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions