Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Elastic Beanstalk Issue

Configuration validation exception: AWS Elastic Beanstalk could not communicate with Amazon EC2 to determine whether to create a custom security group for Elastic Load Balancing.

When creating an AWS Elastic Beanstalk application, I get this error while trying to proceed with "review and launch". I am new to this. Please help.

like image 338
Sanjay Avatar asked Jul 24 '17 14:07

Sanjay


People also ask

When should you not use Elastic Beanstalk?

Elastic Beanstalk isn't great if you need a lot of environment variables. The simple reason is that Elastic Beanstalk has a hard limit of 4KB to store all key-value pairs. The environment had accumulated 74 environment variables — a few of them had exceedingly verbose names.

Is Elastic Beanstalk still relevant?

Elastic Beanstalk Is Outdated, Stay Away From It. Elastic Beanstalk used to be a nice alternative to bare EC2 (Amazon Elastic Compute Cloud) or even Heroku for some time. But today, in times of docker clusters, it is clear that it stayed far behind its competition.

What happens if a rolling update fails in AWS Elastic Beanstalk?

If the rolling update process fails, Elastic Beanstalk starts another rolling update to roll back to the previous configuration. A rolling update can fail due to failed health checks or if launching new instances causes you to exceed the quotas on your account.


2 Answers

I got this error when trying to set up the test application shortly after signing up for the AWS free tier.

I checked into the EC2 dash board and my account hadn't been fully set up yet. It said it could take up to 24 hours. I waited about 2 hours and everything worked as expected.

like image 67
GoBlue96 Avatar answered Oct 21 '22 17:10

GoBlue96


Click on Services>> Under Compute>> Select EC2>> if it show this message "Your service sign-up is almost complete!", check back after some few hours, your app should be ready.

like image 23
Peter Moses Avatar answered Oct 21 '22 19:10

Peter Moses