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?

已提问 4 个月前140 查看次数
1 回答
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
专家
已回答 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则