Skip to content

Managed Nodes - Deregister This Managed Nodes is Grayed Out

0

Hello!

I am trying to remove some EC2 instances off the fleet manager. I found some documentation stating the way to remove it is to deregister from the portal. However, when I follow these instructions, the "Deregister This Managed Node" is grayed out and I unable to click on it. I am not sure on next steps to troubleshoot this. If anyone has idea, I appreciate it!

Thanks!

asked 4 years ago187 views

1 Answer
0

Hi, The "Deregister This Managed Node" option is only applicable for hybrid-activated machines, not standard EC2 instances. Hybrid-activated nodes are typically identified with IDs in the format "mi-012345678."

Reference Documentation: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-hybrid-multicloud.html

https://docs.aws.amazon.com/systems-manager/latest/userguide/hybrid-multicloud-ssm-agent-install-linux.html

https://docs.aws.amazon.com/systems-manager/latest/userguide/hybrid-multicloud-ssm-agent-install-windows.html

The "Deregister This Managed Node" option will only work if the agent was installed using the hybrid activation method described in the documentation above.

Troubleshooting Deregistration Issues:

If you're unable to deregister a hybrid-activated machine, try the following:

On the server, clear the previous registration:

Open PowerShell as Administrator

Run the following commands:

cd\

cd "C:\Program Files\Amazon\SSM"

.\amazon-ssm-agent -register -clear

In AWS CLI or CloudShell, deregister the instance:

aws ssm deregister-managed-instance --instance-id "mi-0d123546758"

Please let me know if you need further assistance.

AWS

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.