feat: add start-large / start-debug-large and ssh-container enclave recipes#9408
Open
rasswanth-s wants to merge 15 commits into
Open
feat: add start-large / start-debug-large and ssh-container enclave recipes#9408rasswanth-s wants to merge 15 commits into
rasswanth-s wants to merge 15 commits into
Conversation
…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
…nto swag/enclave-justfile-recipes
…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.
…E_SYFTBOX_FOLDER" This reverts commit 2f172c4.
…-recipes # Conflicts: # notebooks/enclave/gemma/3. enclave_gemma_e2e.ipynb
…n from start/start-debug
…syft/swag/enclave-justfile-recipes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
large_machine_type_defaultvariable (n2d-highmem-32)start-large— production large deployment: mirrorsstart(hardenedconfidential-spaceimage, no SSH,tee-restart-policy=Never, SA + Secret Manager bootstrap) with an2d-highmem-32machine,--boot-disk-size=200GB, and a large container/dev/shm(tee-dev-shm-size-kb)start-debug-large— debug large deployment: mirrorsstart-debug(debug image, SSH + log redirect,tee-restart-policy=Always, SA + Secret Manager bootstrap) with the same large machine / disk / shared-memory bumpsssh-container— exec into the tee-container on a debug VM viactrBoth large recipes use the service-account bootstrap (
SYFT_BOOTSTRAP=sa), consistent withstart/start-debugafter the service-account refactor on main. Requiresjust provision-secret-sa <token>first.Test plan