Created
August 16, 2021 22:05
Uninstall ECS Anywhere from a host, for reinstall, or registration with a different account/region/cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt remove -y amazon-ssm-agent amazon-ecs-init | |
rm -rf /var/lib/amazon/ssm/Vault/Store/RegistrationKey | |
rm -rf /var/lib/ecs/ecs.config | |
rm -rf /etc/ecs/ecs.config | |
rm -rf /var/lib/ecs/data/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Loved this, works perfectly