command line interface - AWS CLI: Error when trying to retrieve console output of an Amazon EC2 instance -
when retrieving console output instance command:
aws ec2 --region us-east-1b get-console-output --instance-id my_instance_id
i got following error:
httpsconnectionpool(host='ec2.us-east-1b.amazonaws.com', port=443): max retries exceeded url: / (caused <class 'socket.gaierror'>: [errno 11004] getaddr info failed).
when configure 'aws', ensure region name given correctly.
c:\>aws configure aws access key id [****************offq]: aws secret access key [****************axen]: default region name [none]: us-east-1b default output format [none]:
Comments
Post a Comment