Error message: "Error connecting to [instance], reason: Connection timed out: connect" refers to issues with connectivity to the instance, meaning the request fails to reach the instance and times out.
This might happen if #SSH isn't running on the instance or if a #firewall is blocking access.
More Info >>
https://ibmimedia.com/blog/101/how-to-solve-network-error-connection-timed-out-error-in-aws