Skip to content

Add --tenancy flag (default/shared | dedicated | host) #53

Open

Description

@scttfrdmn

Summary

Support EC2 placement tenancy on spawn launch: default (shared hardware), dedicated (single-tenant hardware), and host (launch onto a specific Dedicated Host). Some regulated/licensing workloads require dedicated or host tenancy.

Proposed

  • New flag --tenancy default|dedicated|host (default: default).
  • Maps to RunInstancesInput.Placement.Tenancy. For host, also need --host-id <h-...> (and/or host resource group / affinity / auto-placement) → Placement.HostId.
  • Tag the instance spawn:tenancy for visibility in list/status.
  • Validation: host requires a host id; surface AWS's dedicated-incompatible-instance-type errors cleanly.
  • Cost note: dedicated/host pricing differs (and Dedicated Hosts bill for the host, not per-instance) — coordinate with the cost audit (Audit cost accumulation for accuracy — include EBS, public IPv4, etc. across all instance states #51) so reported cost isn't wrong for these tenancies.

Context

Feature request. Straightforward RunInstances Placement wiring + validation + a tag; the cost interaction (#51) is the subtle part.

Activity

  1. added
    enhancement
    on Jun 3, 2026
  2. added
    area:launch
    on Jun 12, 2026
  3. added this to the Later milestone on Oct 19, 2026
  4. modified the milestones: Later, Post-1.0 on Nov 8, 2026
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

    area:launchenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions