Skip to content

--efa without --mpi: create or reuse a self-referencing EFA security group (heterogeneous EFA fleets) #1168

Closed

Description

@scttfrdmn

With #1112 merged, spawn launch --efa attaches an EFA on a single launch, which is great. EFA also requires a security group that admits all traffic from itself, ingress and egress. spawn only creates one on the --mpi path (spawn-mpi-<jobArrayName>).

A fleet of different instance types, such as a GPU client (g7e) plus GPU-less EFA proxies (c8gn), cannot be one MPI job array. So today every user must create that group themselves. scttfrdmn/adit does it in internal/fleet: EnsureSG, plus SSH from the operator's IP, plus deletion at teardown.

Ask: --efa-group NAME creates or reuses spawn-efa-NAME with the self-referencing all-traffic rules (the same ensureMPIClusterRules), tags it, reaps it with the existing cleanup, and lets several spawn launch calls join it. Optionally --efa-group could imply a shared subnet/AZ choice for the group (EFA cannot cross AZs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions