Fail to validate enclave in Amazon Linux 2023

0

Follow the guide https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-cli-install.html and https://docs.aws.amazon.com/enclaves/latest/user/getting-started.html#run to run hello enclave, it fails to validate enclave in Step 4: Validate the enclave in Amazon Linux 2023.

nitro-cli describe-enclaves return the empty value.


[ec2-user@ip~]$ uname -r 6.1.66-91.160.amzn2023.x86_64

[ec2-user@ip~]$ nitro-cli run-enclave --cpu-count 2 --memory 512 --enclave-cid 16 --eif-path hello.eif --debug-mode Start allocating memory... Started enclave with enclave-cid: 16, memory: 512 MiB, cpu-ids: [1, 9] { "EnclaveName": "hello", "EnclaveID": "i-0ca76fe14fa141a96-enc18cd347673d446c", "ProcessID": 132479, "EnclaveCID": 16, "NumberOfCPUs": 2, "CPUIDs": [ 1, 9 ], "MemoryMiB": 512 }

[ec2-user@ip~]$ nitro-cli describe-enclaves []

  • Hi, Can you update your question with the exact type of the EC2 instance that you use?

1 Answer
0

Hi,

Did you check that your setup (instance type, etc.) matches all requirements described at https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html#nitro-enclave-reqs ?

Best,

Didier

profile pictureAWS
EXPERT
answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions