Please make sure you have setup
AWS CLI credentials correctly prior to proceeding here as directed in earlier section.
AWS IoT Core
Set up one core device
Copy the installer download command from the Greengrass setup page, paste it into your Cloud9 environment terminal and run it.
Copy the installer execution command from the Greengrass setup page, paste it into the terminal of the Cloud9 environment, and execute it.
Detail information for installation command arguments can be found here
If you get this response…
bash: /greengrass/v2/bin/greengrass-cli: No such file or directory
Please wait a minute longer and retry.
If problem persist please follow steps here and see section
To deploy the Greengrass CLI component (console)
To check status of the service
sudo systemctl status greengrass.service
To enable service to start at boot
sudo systemctl enable greengrass.service
You will be able to run these commands provided in AWS IoT Greengrass setup in prior step you used
--setup-system-service true parameter for installation (by default its provided by AWS when you copy paste this from AWS IoT Greengrass installation screen), you can find more details of supported commands here
This installation command deploys the Greengrass command line interface (CLI) to the device in addition to the Greengrass core components. You can use the Greengrass CLI to develop and debug the components of your core device. For details on how to use the Greengrass CLI, see here.