How do I delete the Cloud Monitor agent from an expired ECS instance?
You can delete the Cloud Monitor agent from an expired Elastic Compute Service (ECS) instance by releasing the instance or by manually uninstalling the agent.
Procedure
To delete the Cloud Monitor agent from an ECS instance, use one of the following methods:
-
If an ECS instance is expired and no longer used, the Cloud Monitor agent is automatically deleted when the instance is released. For more information, see Release an instance.
-
If you do not want an ECS instance to be monitored by Cloud Monitor, uninstall the Cloud Monitor agent. For more information, see Uninstall the CloudMonitor agent for C++.
The Cloud Monitor agent persists throughout the lifecycle of an ECS instance. If your instance is renewed, temporarily stopped, or pending release, you do not need to delete the agent. After you restart or renew an instance, the agent continues to run. For more information, see Renew a subscription instance or Configure auto-renewal settings of an instance.