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.
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/v2
C:\greengrass\v2
with 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
MyGreengrassCore
with the name of the core device.aws greengrassv2 delete-core-device --core-device-thing-name
MyGreengrassCore
-