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

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Save and close a word document by giving a name in R -