Hi Amit, Depending on the scope of the IPs you are interested in, you should be able to achieve this by using szradm queryenv <https://scalr-wiki.atlassian.net/wiki/display/docs/szradm+queryenv> within your orchestration script. Let us know if you have any questions or troubles with implementation.
Many thanks, Wm. Marc O'Brien Scalr Technical Support On Wednesday, January 11, 2017 at 1:37:07 PM UTC-7, Amit Saini wrote: > > Hi Marc, > > I am planning to build a shell script to install the ansible on newly > created instances because of that i need the Instance's IP address > > Regards > Amit Saini > > On Wednesday, January 11, 2017 at 3:29:48 PM UTC-5, Marc O'Brien wrote: >> >> Hi Amit, >> >> As Jeff noted, we need to get a bit of additional context about your use >> case so that we may provide the best recommendation. Are you attempting to >> query this from the Scalr server and retrieve results from the Scalr >> database, or are you looking to obtain this information on your running >> instances as part of an Orchestration script? Otherwise, are you looking >> to gather this information from your local workstation? What do you plan to >> do with these IPs once you have your query results? This information will >> help to clarify your needs and isolate the best method to achieve your >> desired results. >> >> Many thanks, >> Wm. Marc O'Brien >> Scalr Technical Support >> >> >> On Monday, January 9, 2017 at 2:48:55 PM UTC-7, Amit Saini wrote: >>> >>> Hi, >>> >>> Is there any shell script to get the IP address of running instance from >>> scalr database...?? >>> >>> >>> Regards >>> >>> Amit Saini >>> >> -- You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to scalr-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.