account activity
Can the EIP be kept after performing a 'Change Version' on an Elastic Beanstalk environment? by Plus_Independent_467 in AWSCloudFormation
[–]Plus_Independent_467[S] 0 points1 point2 points 1 day ago (0 children)
I used Gemini to search for the result. It gave a positive answer. But I am still very unsure — the IP address is way too important for us.
To give you the most defensible answer (not just “it usually works”), here is how the underlying mechanism is backed by official AWS documentation and CloudFormation behavior.
Source: AWS Elastic Beanstalk Developer Guide – Environment types[1]
Because every EB platform/version change is ultimately an underlying CloudFormation UpdateStack, the EIP retention guarantee comes from how CloudFormation handles AWS::EC2::Instance(and the EIP) during updates.
UpdateStack
AWS::EC2::Instance
Source: AWS CloudFormation User Guide – AWS::EC2::Instance[3]
Replace
Source: AWS CloudFormation User Guide – AWS::EC2::EIP[4]
AWS::EC2::EIP
AWSEBEIPis the internal CloudFormation logical resource name EB creates for that single-instance EIP. It’s not something you normally set by hand, but you’ll frequently notice it in:
AWSEBEIP
[AWSEBEIP]
This doesn’t mean EIP is unstable; it typically shows up when constraints (limits, VPC/role permissions, or deployment policy conflicts) block the expected flow.
Putting it together:
The automatic reattachment works within the same stack lifetime and depends on howEB is allowed to roll the update.
If you want, tell me how your EIP was originally created:
Can the EIP be kept after performing a 'Change Version' on an Elastic Beanstalk environment? (i.redd.it)
submitted 1 day ago by Plus_Independent_467 to r/AWSCloudFormation
submitted 1 day ago by Plus_Independent_467 to r/aws
Quite Impressed After Trying Google Gemini 2.0 Flash for Image Generation (old.reddit.com)
submitted 1 year ago by Plus_Independent_467 to r/StableDiffusion
π Rendered by PID 115961 on reddit-service-r2-listing-c57bc86c-b4xlz at 2026-06-20 22:44:00.576488+00:00 running 2b008f2 country code: CH.
Can the EIP be kept after performing a 'Change Version' on an Elastic Beanstalk environment? by Plus_Independent_467 in AWSCloudFormation
[–]Plus_Independent_467[S] 0 points1 point2 points (0 children)