EC2

How to fix AWS CLI hangs on AWS EC2 instance

(Wed Mar 18 2020 00:00:00 GMT+0200 (Eastern European Standard Time)) It seems that setting up an AWS EC2 instance in the default VPC stands a high chance of being unable to use the AWS CLI from inside the instance. That was my experience, anyway, and the solution is extremely non-obvious, non-intuitive, and requires ensuring that the instance can do outbound HTTPS traffic, and uses the correct public DNS servers.