AWS ALB Service map

Kody
Tera Expert

Hello,


I created an application load balancer on my AWS account and it is discovered as an cloud load balancer CI record on my ServiceNow instance.

Some EC2 instances are connected to the ALB and they also exist as CI records.

Is it possible to run top-down discovery from All > Service Mapping > Serivces > Application Serivces etc and configure them as a Service Map?

What should be the entry point when it is possible?

Do you already have that experience?

1 ACCEPTED SOLUTION

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @Kody 

 

Any service is accessible through some URL; for example, a finance service in your org that manages emp payrolls has an associated portal and URL. So given that URL as an entry point for a service, there can be an LB or web server immediately behind that which hosts or exposes the payroll service. Further, it would discover all the way to the DB this service is made up of.

 

So you need to select the "HTTPS Endpoint" entry point and add your URL of the service, and it should map to the LB CI ideally, provided the URL is mapped so.

 

I hope you understand; please let me know if you have any questions.

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

View solution in original post

11 REPLIES 11

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @Kody 

 

Are you experimenting with the service mapping, or does a genuine service exist where the entry point of the service is the ALB, and it talks down to those VMs directly?

 

If yes, for the above query, you can create a service map with the service's entry point URL where it hits the ALB first, and the map gets discovered based on further connections.

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

Hi @SiD2

 

Thank you for your reply.

I'm trying to create a new service mapping definition and looking for what should I enter as the entry point.
I opened a new entry point record and chose the followings:
-Discoverable by Service Mapping
-Web Application
-URL: http://internal....elb.amazonaws.com
cmdb_ci_cloud_load_balancer.dns_name and cmdb_ci_cloud_load_balancer.fqdn have "internal....elb.amazonaws.com" above.
Is this the correct entry point setting?
Or are there other more suitable settings?

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @Kody 

 

Any service is accessible through some URL; for example, a finance service in your org that manages emp payrolls has an associated portal and URL. So given that URL as an entry point for a service, there can be an LB or web server immediately behind that which hosts or exposes the payroll service. Further, it would discover all the way to the DB this service is made up of.

 

So you need to select the "HTTPS Endpoint" entry point and add your URL of the service, and it should map to the LB CI ideally, provided the URL is mapped so.

 

I hope you understand; please let me know if you have any questions.

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

MBannis
Tera Contributor

Hi Sid2, 

 

We've been attempting to create service maps for web services that use Amazon ELBs and it fails to get past the Load balancers, we even created a ServiceNow ticket for it. Our ELBs are discovered via cloud discovery and stored in the LB and LB service tables, our web servers are discovered and so to our SQL servers yet the map still remains stuck at the LB phase.. And we're stumped as to why that is? 

 

Any ideas?