I'd exactly the same challenge on Windows ten. It happens being because of the aws cli not looking at the net proxy location from your Home windows registry. Fixed very same mistake by environment the natural environment variables HTTP_PROXY and HTTPS_PROXY to the corporate Net proxy. Hope it can help someone!If you have proxy added for your ec2 ma