The maximum number of addresses has been reached while attempting to an EB managed update

0

Hi, I've tried clicking the "Apply now" button on the Elastic Beanstalk > Managed updates overview page, but when I do so and the managed update starts running, it soon reverts back to the original with the following error:

FAILED - RollbackSuccessful Successful abort of the Managed Action.

Or in detail:

Failed to deploy configuration.
Service:AmazonCloudFormation, Message:Stack named 'xxx' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBEIP].
Creating EIP failed Reason: The maximum number of addresses has been reached. (Service: AmazonEC2; Status Code: 400; Error Code: AddressLimitExceeded; Request ID: xxx; Proxy: null)

I haven't experienced these before and I wonder why could that be. It is true that there are 5 Elastic IP addresses already occupied in the same region, however either it was the case before too or I didn't notice that, but I thought that running a managed update will still make the container continue using the same IP it was assigned before.

Could you please confirm/shed some more light on why is that the case and if I e.g. need to have one free IP address slot in the list of Elastic IP addresses so managed updates to work?

I've not been able to find an answer to this particular question hence asking here.

Thank you!

已提问 2 年前2173 查看次数
1 回答
1
已接受的回答

Hello,

The EB environment is trying to create an EIP for the environment but is failing because the EIP limit has been reached. For certain update types such as Immutable updates, additional resources would have to be launched such as an Autoscaling group and EIP. However, when EB attempted the update the environment it failed because the limit of EIPs had been reached. See Immutable environment updates for additional info.

To fix this issue, please Request an increase and retry the environment update.

AWS
已回答 2 年前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则