I'm looking to start my project with EKS using Nitro Enclaves and I have two OS options: Amazon Linux 2 (AL2) or Amazon Linux 2023 (AL2023). I've noticed that AL2 is being deprecated, but when exploring how to set up Nitro Enclaves on AL2023, most resources still mention AL2. For instance, the installation of the Nitro Enclaves CLI uses a command specific to AL2. The recommended command is `amazon-linux-extras install aws-nitro-enclaves-cli -y`, but for AL2023, the equivalent would seem to use `dnf`. The problem is that it fails during installation because Docker isn't supported in AL2023 for any EKS versions, which seems to be a dependency for the CLI. So, my question is: should I still go with the deprecated AL2, or is there any workaround for the Docker dependency issue on AL2023?
1 Answer
You can actually install the Nitro Enclaves CLI on AL2023 without needing Docker. Just run this command instead:
```
sudo dnf install aws-nitro-enclaves-cli -y
``` That should work without any issues!
I tried that command, but it threw an error for me because the package has Docker as a hard dependency, and Docker isn't supported on AL2023 for EKS. Did you have a different setup or version?