Difference between revisions of "Aws ec2 get-console-output"
Jump to navigation
Jump to search
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/get-console-output.html | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/get-console-output.html | ||
− | [[aws ec2 get-console-output]] [[--instance-id]] | + | [[aws ec2 get-console-output]] [[--instance-id]] i-XXXXXXX |
+ | [[aws ec2 get-console-output]] [[--instance-id]] i-XXXXXXX [[--output]] text | ||
+ | [[aws ec2 describe-instances]] | grep [[InstanceId]] | ||
+ | [[aws ec2 describe-instances]] | egrep "InstanceId|InstanceType|running" | ||
+ | |||
+ | == Related == | ||
+ | * [[AWS EC2 get system log]] | ||
== See also == | == See also == |
Latest revision as of 18:23, 31 January 2023
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/get-console-output.html
aws ec2 get-console-output --instance-id i-XXXXXXX aws ec2 get-console-output --instance-id i-XXXXXXX --output text
aws ec2 describe-instances | grep InstanceId aws ec2 describe-instances | egrep "InstanceId|InstanceType|running"
Related[edit]
See also[edit]
- AWS EC2, AWS::EC2,
aws ec2
[describe-instances | describe-instance-status
|run-instances | terminate-instances | stop-instances
|tags
|describe-vpcs
|describe-addresses
|describe-availability-zones
|describe-subnets
|import-key-pair
|create-key-pair
|create-vpc
|create-internet-gateway
|modify-instance-attribute | ec2-instance-connect | get-console-output
]
Advertising: