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!

demandé il y a 2 ans2173 vues
1 réponse
1
Réponse acceptée

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
répondu il y a 2 ans
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions