Hi all,

I have written a small program to get the server list from EC2 using the abstraction API of jclouds. I have followed the instructions in http://jclouds.apache.org/documentation/userguide/compute/

I have created a service context that gets the compute service object in a method and then use the various methods of compute service or metadata to get the relevant information. It works ok, but i have the following question: when is the actual API call made to EC2? I assumed that this happens in the service context but the timing of the calls indicate that this is done in the compute service methods (it needs around 3 seconds for passing the context phase and around 25 seconds to print the node information). Is this true? This would seem also reasonable since the service methods also include direct manipulation of the VMs, so it would seem reasonable to contact the EC2 API at that stage. Just wanted to clarify if indeed this happens.

BR,
george


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

Reply via email to