Uninstall the Amazon IoT Greengrass Core software
You can uninstall the Amazon IoT Greengrass Core software to remove it from a device that you don't want to use as a Greengrass core device. You can also use these steps to clean up an installation that fails.
Important
If you want a device to continue authenticating with Amazon IoT but you no longer want Amazon IoT Greengrass
to bill you for a Greengrass core device, you must complete all the steps in this procedure.
Until you complete all the steps, Amazon IoT continues to identify the device's certificate as a
Greengrass core device. As a result, Amazon IoT Greengrass bills you for each month that the device authenticates
with Amazon IoT. For more information about pricing, see Amazon IoT Greengrass pricing
To uninstall the Amazon IoT Greengrass Core software
-
If you run the software as a system service, you must stop, disable, and remove the service. Run the following commands as appropriate for your operating system.
-
Remove the root folder from the device. Replace
or/greengrass/v2C:\greengrass\v2with the path to the root folder. -
Delete the core device from the Amazon IoT Greengrass service. This step removes the core device's status information from the Amazon Web Services Cloud. Be sure to complete this step if you plan to reinstall the Amazon IoT Greengrass Core software to a core device with the same name.
-
To delete a core device from the Amazon IoT Greengrass console, do the following:
-
Choose Core devices.
-
Choose the core device to delete.
-
Choose Delete.
-
In the confirmation modal, choose Delete.
-
-
To delete a core device with the Amazon Command Line Interface, use the DeleteCoreDevice operation. Run the following command, and replace
MyGreengrassCorewith the name of the core device.aws greengrassv2 delete-core-device --core-device-thing-nameMyGreengrassCore
-