I work for an organization that has tens of thousands of services deployed to EC2. One of these services is making requests to my server. I have its IP address, but I have no idea who it belongs to. nslookup returns an AWS hostname without an indication of who it is assigned to.

Is it possible to look up the name of an EC2 service based on its IP address?

UPDATE: If you are going to downvote, please explain why. Otherwise, I can't improve the question.

  • What do you mean? PTR? – William Edwards Jun 7 '16 at 20:03
  • I think I would start by7 posting a trouble ticket on their web site. See if they can tell you how to ID the call. – htm11h Jun 7 '16 at 20:09
  • @WilliamD.Edwards No, I mean: given an IP address I'd like to find the name of the service as found at "AWS console -> EC2 Container Services -> Pick a Cluster -> List of Services". – Gili Jun 7 '16 at 20:18
  • Although frustrating at times by philosophy and design votes are anonymous and neither voting up nor voting down requires any mandatory explanation. The tooltip that appears when your mouse pointer hoovers over the down button states: "this question does not show any research effort; it is unclear or not useful". Also questions attract a down vote when not well written, not quite on-topic or miss details. – HBruijn Jun 7 '16 at 21:40

If all your servers are in the same AWS account then you should be able to go to the console and paste the IP into the EC2 console. Otherwise you'll need to iterate through all of your accounts to see which has that IP allocated.

Alternatively AWS support might be able to more quickly tell you which account owns that IP so you can shorten your search.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.