Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I retrieve a list of all my instances, aside from using the Access tokens (=the standard way)?

share|improve this question

closed as not a real question by mgorven, Michael Hampton, rnxrx, Ward, Chris McKeown Sep 4 '12 at 15:58

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Open up the EC2 web console? Why? –  ceejayoz Jun 28 '12 at 19:41

1 Answer 1

The only supported way to get a list of your instance is to use the DescribeInstances API command (using any of the SDKs or command line tools).

Usually this requires you to use your access keys. The exception to this is if you are executing the DescribeInstances API command on an EC2 instance. If so, you can use EC2 Roles to avoid using the access keys.

share|improve this answer
    
Thanks, I read the documentation and it said this: ec2.amazonaws.com/?Action=DescribeInstances &AUTHPARAMS What about the domainname-part? –  user1095332 Jun 28 '12 at 20:02
    
You'll have to be more specific about what docs you read and what you're asking. –  Matt Houser Jun 28 '12 at 20:50
    
Sorry, I meant: How to use those EC2 rules, because it when I go to that link it says it cannot validate the provided access credentials. –  user1095332 Jun 28 '12 at 21:44
    
Those roles can only be set in the web console. –  user1095332 Jul 1 '12 at 17:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.