Turn off AWS Auto Scaling Groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 01:42 PM
Can we turn off AWS Auto scaling groups? We are observing too many AWS VMs are being created and upon checking with Server team they said there are many autoscaling groups which are temporary. Any Best practice to disable this discovery?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 08:23 PM
Once the VMs are scaled down, is the cleanup of servers also happening? that would be the main thing IMO to solve here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 09:01 PM
No the clean up is not happening. We are seeing a huge spike in VM count and hitting our license.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2025 11:55 PM
Since the cleanup of servers is not happening automatically, you need to ensure that when an AWS Auto Scaling Group scales down,
Since AWS automatically terminates scaled-down VMs, ServiceNow should remove them from CMDB when they no longer exist.
Go to Discovery > Patterns, Edit the AWS Virtual Machine Instance and If a VM is missing from AWS, mark it as "Retired" instead of Active.
next step Create a Scheduled Job to Remove Stale CIs Go to System Definition > Scheduled Jobs and then Create a script that runs daily to remove terminated VMs.
There might be a better to work with the AWS team to implement the Tag-Based Cleanup, If AWS VMs have a lifecycle tag, you can configure tag-based discovery to remove terminated instances automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2025 04:51 AM
Thank you for the response, appreciate it. I totally agree that ServiceNow should automatically removed the scaled down VMs or set the state to Terminated. I have opened a Hi case as this is an ootb feature which is not working in our instance and really had tough time explaining this. Also, i am not comfortable customizing the patterns, don't want to break any ootb set up. I was just thinking if we can turn off the AWS ASG pattern? will this cause any issue? Just thinking this as an alternate way to stop this growth of VM temporarily in our prod instance till the servicenow support will come back. .