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
전문가
검토됨 한 달 전

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

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

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

관련 콘텐츠