How do you track where a CI is hosted? is on prem vs cloud?

JPing
Tera Expert

Hello, 

 

Example: Servers.

We use IP based discovery to get on prem CIs (Servers)

We use Service Graph connector AWS to get cloud CIs (EC2)

 

So both of these discovery techniques fill in data on in the cmdb_ci_server table. I cannot find a field that indicate if they CI are on prem or cloud. We just normally look at the discovery source field and then just know. This just kind of works out for us but in general discovery sources is not a reliable mechanism for determining on-prem vs cloud. How do other company track where a CI is hosted?

 

Thanks

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @JPing 

 

https://www.servicenow.com/community/cmdb-forum/how-to-identify-if-a-server-is-hosted-in-cloud-vs-on...

https://www.servicenow.com/community/cmdb-forum/server-ci-cloud-hosted-data/td-p/2871505

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

VijayaMannapura
Tera Guru

@JPing There is a field called 'Object ID', which contains the whole path of 'Subscription/Resource Group/Providers' for Cloud ones and this would be empty for on prem ones. You can use this field.

Also, Discovery source is a reliable field and you can trust as far as I am aware.