Skip to content

fix: use C8i/M8i instances for AWS nested virt (10x cheaper than metal)#124

Merged
abrichr merged 1 commit intomainfrom
fix/aws-nested-virt-instances
Mar 18, 2026
Merged

fix: use C8i/M8i instances for AWS nested virt (10x cheaper than metal)#124
abrichr merged 1 commit intomainfrom
fix/aws-nested-virt-instances

Conversation

@abrichr
Copy link
Member

@abrichr abrichr commented Mar 17, 2026

Summary

  • Default AWS instance type changed from m5.metal ($4.61/hr) to m8i.2xlarge ($0.46/hr)
  • Intel Xeon 6 families (C8i, M8i, R8i) support nested virtualization on standard instances since late 2025
  • Full fallback chain: m8i.2xlarge → c8i.2xlarge → r8i.2xlarge → m8i.4xlarge → m5.metal (legacy)
  • GPU instance types (g5, etc.) unchanged

Test plan

  • Verify m8i.2xlarge availability in us-east-1 with oa-vm smoke-test-aws
  • Confirm KVM/nested virt works on non-metal instance
  • Full WAA lifecycle test on new instance type

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

AWS Intel Xeon 6 families (C8i, M8i, R8i) support nested virtualization
on standard (non-metal) instances since late 2025. Update default from
m5.metal ($4.61/hr) to m8i.2xlarge ($0.46/hr) with fallbacks through
c8i.2xlarge, r8i.2xlarge, m8i.4xlarge, and m5.metal as legacy option.

Updated files:
- aws_vm.py: new INSTANCE_TYPE and INSTANCE_TYPE_FALLBACKS
- CLAUDE.md: updated cost table
- docs/rl_quick_start.md: updated cost estimates
- docs/ec2_setup_guide.md: updated instance types, costs, and instructions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@abrichr abrichr merged commit 828733f into main Mar 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant