Running ec2-describe-instances in EC2 [closed]
I'm trying to run ec2-describe-instances from a node in EC2 to see all my running instances. I ssh into the instance and do: ec2-describe-instances and get: Required option '-O, --aws-access-key KEY' missing (-h for usage) I'm not sure what this means. I thought it might be the pem file I use to ssh in, so I scp'd it up and used this with the -O option but no dice.
Greg , You need to pass security key and access key as parameters for that command , else you can set those as environmental variables also , you will get the those security and access keys from your account by accessing the link provided by #datasage in above answer .
The ec2 api requires security keys which are different from the ssh keys that you use to login the instance. You should be able to get your keys here: https://console.aws.amazon.com/iam/home?#security_credential
How does distributed architecture work for serving out dynamic and static content
AWS - Creating a Route53 subdomain in a separate account to the top level domain [duplicate]
How to set startup page on AWS Elastic Beanstalk
Can I get credentials by AWS IAM Role published by another aws account?
AWS asking me for a passphrase for key: EC2
How to define IAM Policy for a user to have programmatic full or limited access only for specific dynamodb tables?
Good deployment in aws with Symfony
How to get the end time of AWS EBS volume snapshot ? I want to find out the time when the snapshot completed
copy specific data in one s3 bucket to another bucket using data pipeline
AWS CodeDeploy using Github Failing
Tool to orchestrate execution of AWS CloudFormation templates
Updating ElasticSearch mappings field type with existing data
Is there a way to use the CLI to configure an Alexa skill?
Why won't my node / Heroku app connect to RDS?
Amazon Redshift - Replication - Data load Vs Query Performance Issues
Cloudfront CNAME or DNS CNAME? [duplicate]