Uninstall the AWS IoT Greengrass Core software
You can uninstall the AWS 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 AWS IoT but you no longer want AWS 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, AWS IoT continues to identify the device's certificate as a
Greengrass core device. As a result, AWS IoT Greengrass bills you for each month that the device authenticates
with AWS IoT. For more information about pricing, see AWS IoT Greengrass pricing
To uninstall the AWS 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 AWS IoT Greengrass service. This step removes the core device's status information from the AWS Cloud. Be sure to complete this step if you plan to reinstall the AWS IoT Greengrass Core software to a core device with the same name.
-
To delete a core device from the AWS 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 AWS 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
-