stable IPs across reboots and redeploys for AWS

Bug #1953177 reported by Loïc Gomez
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Medium
Unassigned

Bug Description

Hi,

When an AWS instance gets rebooted or is redeployed, it sometimes gets affected a new IP address.
We need to be able to have a stable IP address on AWS instances.

Let us know if we can help in any way!

Thank you

Revision history for this message
Harry Pidcock (hpidcock) wrote :

Note for juju team: This feels like the network modelling could allow for allocation and attachment of elastic IPs. In the same way we deal with storage.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 3.0.0
tags: added: network
Revision history for this message
Benjamin Allot (ballot) wrote :

Another occurrence of this today.

We had a single controller unit which rebooted and got a new external IP address on GCP.

As a result, all the agent.conf of all units had to be manually updated to match the new IP, using a shell loop with `juju ssh`.

The internal IP couldn't be used despite being unchanged, because it's not in the same VPC (see https://cloud.google.com/compute/docs/ip-addresses).

Seen on juju version 2.9.22.

Loïc Gomez (kotodama)
tags: added: canonical-is
Changed in juju:
milestone: 3.0.0 → 3.0.1
Changed in juju:
milestone: 3.0.1 → 3.0.2
Changed in juju:
milestone: 3.0.2 → 3.0.3
Revision history for this message
Juan M. Tirado (tiradojm) wrote :

Could we confirm this issue still happens on more recent versions 2.9.37 or 3.1-beta1?

Changed in juju:
milestone: 3.0.3 → 3.0.4
Revision history for this message
Haw Loeung (hloeung) wrote :

Yeah, it would unless Juju has added support for assigning floating IPs in AWS (and other public clouds)? That's https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.