aws / aws/aws-nitro-enclaves-cli

NItro VM clean shutdown

Open
#600 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
156
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Hello, an issue came up when working on a project built on top of a Nitro VM: when the enclave is terminated the functionality that would be present in a regular docker container is not present in Nitro as the VM gets powered off immediately. Thus things like flushing unwritten data in disc cache for example don't exist.
Is there a way to have the Nitro infrastructure do a clean shutdown of the enclave’s virtual machine instead of just immediately powering it off, or maybe have some sort of hook logic placed that will execute user-specific code inside an enclave before the VM shuts down? If not present can this feature potentially be added?

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the enclave termination path and documenting how shutdown is currently triggered; done should mean a decided, implemented lifecycle mechanism for clean shutdown or a user hook, with behavior and limitations covered by tests or documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.