Moritz Kraus
3 months
Andreas Vöst
6 months
Andreas Vöst
8 months
Marc Dierig
11 months
Moritz Kraus
11 months
Kim Klotz
1 year
Moritz Kraus
1 year
Emma Heinle
1 year
Kim Klotz
1 year
Andreas Vöst
2 years
Andreas Vöst
2 years
Emma Heinle
2 years
Andreas Vöst
3 years
Emma Heinle
3 years
Claus-Theodor Riegg
4 years
Andreas Vöst
4 years
Claus-Theodor Riegg
4 years
Kim Klotz
5 years
Marius Schuller
5 years
Claus-Theodor Riegg
6 years
Claus-Theodor Riegg
7 years
Claus-Theodor Riegg
7 years
Claus-Theodor Riegg
7 years
Claus-Theodor Riegg
8 years
HowTo: enable termination protection for all EC2 instances not in autoscaling groups via aws cli
Posted . Visible to the public.
aws ec2 describe-instances --output text --query 'Reservations[].Instances[?!not_null(Tags[?Key == `aws:autoscaling:groupName`].Value)] | [].[InstanceId]' | xargs -L1 -t aws ec2 modify-instance-attribute --disable-api-termination --instance-id
Keywords
disable-api-termination, api, termination
Tags
License
Source code in this card is licensed under the
MIT License.