Naman Khandelwal
Naman Khandelwal

Reputation: 128

CodeDeploy Instances are reintializing even after termination

I was trying how to create a code-deploy instances for my script and then was unable to understand how it works.

Then I went to my dashboard I saw that 6 code-deploy instances are running and was shocked. I tried to terminate them but after a while new instances are starting again.

I went to code-deploy window and deleted my code-deploy instance available there but all the 6 instances are still running and I am not able to stop them from re-initializing.

I also saw there is a similar question here but no one has answered it.

Upvotes: 2

Views: 525

Answers (1)

Anthony Neace
Anthony Neace

Reputation: 26003

Your CodeDeploy application is associated with an autoscaling group with a 'desired' instances count set to 6. AutoScaling groups are a separate and independent resource, and will persist even if you delete all of your CodeDeploy resources.

Find this group and update your 'desired' count to 0, and the instances will scale down.

Further Reading

Upvotes: 2

Related Questions