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

질문됨 5년 전267회 조회
2개 답변
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.

답변함 5년 전
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.

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠