Jonatan
Jonatan

Reputation: 83

Creating Elastic Beanstalk Application failed

Creating Elastic Beanstalk Application on AWS failed with GRAY color in health and errors as bellow, I couldn't move forward.

WARN: Environment health has been set to RED

ERROR: Cannot update ELB target group when there is no ELB in the group resources

ERROR: Creating security group named: awseb-e-securitygroupname-stack-AWSEBSecurityGroup-THEIDOFYOURSECURTYGROUP failed Reason: Resource creation cancelled

ERROR: Stack named 'awseb-e-somename-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBV2LoadBalancer, AWSEBSecurityGroup]

ERROR: Creating load balancer failed Reason: You cannot provide subnets from multiple locales. (Service: AmazonElasticLoadBalancing; Status Code: 400; Error Code: ValidationError; Request ID:[the id]; Proxy:null)

Upvotes: 3

Views: 4579

Answers (1)

Marcin
Marcin

Reputation: 238051

Based on the comments.

The issue was identified by going to CloudFormation console and checking the Events tab of the EB stack that failed to deploy. The error found was:

You cannot provide subnets from multiple locales

Based on this it was inferred that the there are two many subnets used for the EB environment. Removal of the extra subnets was the solution to the problem.

Upvotes: 3

Related Questions