Difference between revisions of "Aws ec2 describe-instances"

From wikieduonline
Jump to navigation Jump to search
Line 22: Line 22:
 
* <code>[[aws ec2 describe-addresses]]</code>
 
* <code>[[aws ec2 describe-addresses]]</code>
 
* <code>[[aws ec2 describe-instance-types]]</code>
 
* <code>[[aws ec2 describe-instance-types]]</code>
 +
* <code>[[aws ec2 aws ec2 describe-network-interfaces]]</code>
 
* <code>[[tags]]</code>
 
* <code>[[tags]]</code>
 
* <code>[[aws list all]]</code>
 
* <code>[[aws list all]]</code>

Revision as of 13:19, 17 February 2022

  • aws ec2 describe-instances
  • aws ec2 describe-instances | grep InstanceType
  • aws ec2 describe-instances | grep AvailabilityZone
  • aws ec2 describe-instances | egrep "InstanceId|InstanceType|running"
  • aws ec2 describe-instances --output text | egrep -w "Name|PLACEMENT"
  • aws ec2 describe-instances --region us-west-1

Basic commands

An error occurred (AuthFailure) when calling the DescribeInstances operation: AWS was not able to validate the provided access credential
  • aws ec2 describe-instances --profile YOUR_PROFILE

Review configuration: aws configure list

Related commands

See also

Advertising: