开发者

Is there a bug in AWS .Net SDK for getting count of running EC2 instances?

开发者 https://www.devze.com 2023-03-06 21:02 出处:网络
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

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?


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消