Reputation: 237
Hi have 1 EC2 instance that is stopped. (Ubuntu Rails App Server (ami-e49e758d)) But when I run a sample from that comes with SDK, it shows me running instance as 1. Whom should I trust. What I see on AWS Console or sdk sample output?
Upvotes: 1
Views: 328
Reputation: 9971
In this case, 'Running' instances as reported by the API means 'Existing' - this is telling you how many instances are actually present (i.e. being 'run' by the Xen hipervisor). You can then interrogate each instance item to determine its' specific activity status (i.e. Stopped, Running, etc).
Upvotes: 2