Skip to content

feat: add start-large / start-debug-large and ssh-container enclave recipes#9408

Open
rasswanth-s wants to merge 15 commits into
devfrom
syft/swag/enclave-justfile-recipes
Open

feat: add start-large / start-debug-large and ssh-container enclave recipes#9408
rasswanth-s wants to merge 15 commits into
devfrom
syft/swag/enclave-justfile-recipes

Conversation

@rasswanth-s

Copy link
Copy Markdown
Collaborator

Summary

Adds large-config enclave deployment recipes for memory-heavy jobs (e.g. loading large models), in both production and debug variants, plus a helper to exec into the tee-container.

  • Add large_machine_type_default variable (n2d-highmem-32)
  • Add start-large — production large deployment: mirrors start (hardened confidential-space image, no SSH, tee-restart-policy=Never, SA + Secret Manager bootstrap) with a n2d-highmem-32 machine, --boot-disk-size=200GB, and a large container /dev/shm (tee-dev-shm-size-kb)
  • Add start-debug-large — debug large deployment: mirrors start-debug (debug image, SSH + log redirect, tee-restart-policy=Always, SA + Secret Manager bootstrap) with the same large machine / disk / shared-memory bumps
  • Add ssh-container — exec into the tee-container on a debug VM via ctr

Both large recipes use the service-account bootstrap (SYFT_BOOTSTRAP=sa), consistent with start / start-debug after the service-account refactor on main. Requires just provision-secret-sa <token> first.

Test plan

  • Tested the Gemma3 27B model inference inside the container using this deployment config for debug

snwagh and others added 15 commits May 28, 2026 15:30
…file

Add large machine type variable (n2d-highmem-32) and a new deploy recipe
with 200GB boot disk and increased shared memory. Add ssh-container recipe
for exec-ing into the tee-container on debug VMs.
…-recipes

# Conflicts:
#	packages/syft-enclave/Justfile
…X_FOLDER

Large recipes (start-large, start-debug-large) point SyftBox at
/dev/shm/SyftBox_<email> (tmpfs) to avoid dm-integrity write throttling
on the Confidential Space root disk for memory-heavy jobs.
…-recipes

# Conflicts:
#	notebooks/enclave/gemma/3. enclave_gemma_e2e.ipynb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants