Skip to content

Ephemeral IP checkbox on instance create form #1097

Closed

Description

@bnaecker

Beginning with oxidecomputer/omicron#1458, the control plane now has the concept of an external IP address for guests. This is a publicly-visible address that allows inbound connections, such as SSH, from outside the rack into the guest. (That's distinct from the IP addresses that provide outbound connectivity, which don't appear in the API.)

These addresses are associated with the primary network interface, and are shown in the console as part of #1070. We also need a way to request such an address in the web console. The parameters for describing this address are currently defined here. We currently support ephemeral addresses, optionally specifying the name of an IP Pool from which to draw the address. (Ephemeral addresses only live as long as the instance, and can't move around between different objects.) It's not clear yet how to specify the pool, since that's currently a top-level / operator / global resource (discussed in RFD 288), so it might be better to leave that off for now.

Though they're not yet implemented, Floating IP addresses will also be supported here. (Implementation tracked in oxidecomputer/omicron#1334.) Those are separate, named API resources scoped to a VPC, which can be created independently from instances. In that case, the name of the Floating IP will be specified in the API request (it'll be looked up relative to the VPC of the primary network interface, most likely).

Activity

  1. david-crespo commented on Jul 28, 2022

    @david-crespo
    Collaborator

    So if you can't specify a pool, this essentially has to be a checkbox meaning "give me an ephemeral IP"?

  2. bnaecker commented on Jul 28, 2022

    @bnaecker
    ContributorAuthor

    That would be the simplest way to implement this at the moment, I think. That wouldn't work for a Floating IP, since you'd need to name the object, but that's down the line. I was hoping to give the fullest picture, so y'all could decide what makes sense in the short- and longer-term.

  3. changed the title [-]Provide UI elements to select an external IP address during instance creation[/-] [+]Ephemeral IP checkbox on instance create form[/+] on Jul 28, 2022
  4. david-crespo commented on Jul 28, 2022

    @david-crespo
    Collaborator

    Narrowed the title to focus on the checkbox, split off #1098 (specify pool) and #1099 (floating IPs) as followups.

  5. added this to the 7 milestone on Feb 13, 2024
  6. david-crespo commented on Mar 11, 2024

    @david-crespo
    Collaborator

    Checkbox would go under Advanced > Networking and default to checked. This bit would be populated or empty based on the checkbox value.

    externalIps: [{ type: 'ephemeral' }],

  7. modified the milestones: 7, 8 on Mar 21, 2024
  8. modified the milestones: 8, 9 on Apr 29, 2024
  9. self-assigned this
    on May 6, 2024
  10. removed their assignment
    on May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions