Editing Aws ec2 describe-instances
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | * https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html | |
− | https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html | + | |
− | + | * <code>[[aws ec2]] describe-instances</code> | |
− | |||
− | * <code>[[aws ec2]] describe-instances | ||
* <code>aws ec2 describe-instances | grep [[InstanceType]]</code> | * <code>aws ec2 describe-instances | grep [[InstanceType]]</code> | ||
* <code>aws ec2 describe-instances | grep [[AvailabilityZone]]</code> | * <code>aws ec2 describe-instances | grep [[AvailabilityZone]]</code> | ||
− | * <code>aws ec2 describe-instances | egrep " | + | * <code>aws ec2 describe-instances | egrep "InstanceId|InstanceType|running"</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | aws ec2 describe-instances --output text | |
− | |||
− | |||
− | === Basic commands === | + | ===Basic commands=== |
− | + | *<code>[[aws ec2]] describe-instances</code> | |
− | + | An error occurred (AuthFailure) when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials</pre> | |
− | |||
*<code>aws ec2 describe-instances [[--profile]] YOUR_PROFILE</code> | *<code>aws ec2 describe-instances [[--profile]] YOUR_PROFILE</code> | ||
+ | |||
+ | Review configuration: <code>[[aws configure list]]</code> | ||
== Related commands == | == Related commands == | ||
* <code>[[aws ec2 run-instances]]</code> | * <code>[[aws ec2 run-instances]]</code> | ||
* <code>[[aws ec2 describe-addresses]]</code> | * <code>[[aws ec2 describe-addresses]]</code> | ||
− | * | + | * [[Tags]] |
− | * | + | * [[aws list all]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{EC2}} | * {{EC2}} | ||
+ | |||
+ | |||
[[Category:AWS]] | [[Category:AWS]] | ||
[[Category:AWS CLI]] | [[Category:AWS CLI]] |
Advertising: