I had a similar situation on Windows ten. It takes place to be due to aws cli not reading through the web proxy location from your Home windows registry. Set identical error by location the atmosphere variables HTTP_PROXY and HTTPS_PROXY to the company Online proxy. Hope it helps someone! when you have proxy added in your ec2 devices and it is a