我正在尝试设置我的EBS卷的自动快照,为此我设置了Amazon Cli工具,但是当我尝试这些工具时,出现以下错误:
HTTPSConnectionPool(host='ec2.us-west-2a.amazonaws.com', port=443): Max retries exceeded with url: / (Caused by <class 'socket.gaierror'>: [Errno -2] Name or service not known)
我做了telnet ec2.us-west-2a.amazonaws.com 443
同样的事情:
telnet: could not resolve ec2.us-west-2a.amazonaws.com/443: Name or service not known
这是我的aws --version
的输出:
aws-cli/1.7.4 Python/2.7.6 Linux/3.13.0-29-generic
检查CLI的
Region
设置。你知道吗似乎该区域被错误地设置为
us-west-2a
,这是一个可用区域。区域名称应为us-west-2
。你知道吗这可以用
aws configure
命令更改。你知道吗相关问题 更多 >
编程相关推荐