Hamed Minaee
Hamed Minaee

Reputation: 2560

Elastic beanstalk fails to create

I am trying to run beanstalk with java installed on it very quickly.

So what I do is just open the beanstalk console and after creating the application I create the environment and in the environment pre configuration I chose java.

Then after clicking the create button I get some errors:

Creating security group named: awseb-e-rnwzmmymhx-stack-AWSEBSecurityGroup-SXHGXGDOF5PN failed Reason: Resource creation cancelled

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

Or the more complete error stack is as follow: enter image description here

I never attached any EIP and I just let beanstalk handle it . What is the problem?

Should I configure anything else? (Any idea is appreciated.)

Or better to ask this way: Do we need to attach EIP to beanstalk to have it work or there is a workatound using rout53?

Upvotes: 14

Views: 21994

Answers (2)

Benjamin Slabbert
Benjamin Slabbert

Reputation: 541

Launching the environment with a load balancer allows you to avoid assigning an EIP.

See here: serverfault

Upvotes: 6

helloV
helloV

Reputation: 52433

Each account has a maximum EIP limit (default is 5). Elastic BeanStalk is not able to get an EIP allocated since your account already used the maximum number of EIPs. You have at least two options:

  • Release unused EIP (making sure it is not used)
  • Raise a support request to increase the EIP limit. Usually it is fulfilled within hours

AWS Elastic IP Address Limit

Upvotes: 13

Related Questions