I'm writing and ansible playbook and using cloudformation module to launch an EC2 instance (Amazon Linux AMI). Then I can ssh to that instance and from that instance I can install with yum but cannot curl or ping.
Ex: $ curl -sS https://getcomposer.org/installer | php
curl: (7) Failed to connect to getcomposer.org port 443: Connection timed out
Is there anyone can help? Thanks.
you might missed the route specifics in route table. Please provide necessary route configurations for further assistance.