Review
In this section you created and configured an AWS Nitro-based EC2 instance. You learned how to obtain the Anjuna Nitro Runtime tools, install them, and setup your shell environment (by updating the PATH variable).
You learned how to set up your login shell so that it automatically sets this variable.
To confirm that the Anjuna Nitro Runtime tools are properly installed, run the following command:
$ anjuna-nitro-cli
which should output the following text:
Anjuna Nitro CLI 1.40.0001 (build commit: <build-commit-info>) CLI for enclave lifetime management USAGE: anjuna-nitro-cli [SUBCOMMAND] FLAGS: -h, --help Prints help information -V, --version Prints version information SUBCOMMANDS: build-enclave Builds an enclave image and saves it to a file console Connect to the console of an enclave describe-enclaves Returns a list of the running enclaves explain Display detailed information about an error returned by a misbehaving Nitro CLI command help Prints this message or the help of the given subcommand(s) run-enclave Starts a new enclave terminate-enclave Terminates an enclave
If you see the following error:
-bash: anjuna-nitro-cli: command not found
the Anjuna Nitro Runtime was not installed properly or the PATH environment was not updated correctly.
In the next section you will take a look at the first steps in actually using the Anjuna Nitro Runtime to run applications in an AWS Nitro Enclave.