Hi Swapnil,

May be we can do a instance query without any filters and then find the
required instances that match the IP addresses locally.

Thanks

On Fri, Jun 19, 2015 at 9:17 PM, Swapnil Patil <swapnil.r...@gmail.com>
wrote:

> Just one concern here.
>
> I measured the time required for this method call. It is around 3 seconds.
> And this is just for one instance. In the production when we have numerous
> instances, we can use batching to reduce total time but still the time
> taken will be above 3 seconds.
>
> Thanks and Regards,
> Swapnil
>
> On Fri, Jun 19, 2015 at 3:35 PM, Swapnil Patil <swapnil.r...@gmail.com>
> wrote:
>
>> Hi Imesh,
>>
>> As discussed in the last hangout. I tried if we can get instance id using
>> public IP of the ec2 instance. It is indeed possible to do this.
>>
>> I have committed code for this in the client for AWS API [1].
>>
>> So just wondering if this is what we should use instead of making changes
>> to expose instance id through topology.
>>
>> [1] :
>> https://github.com/swaprp15/AWS_ELB_Client/commit/c0df56e570c5d05063ec27c1d210087e3120e112
>>
>>
>> Thanks and Regards,
>> Swapnil
>>
>
>


-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to