Hi I was trying to create a ubuntu instance using kitchen-ec2,
It could successfully create EC2 instance. But after that it is getting into a loop like this,
_`-----> Starting Kitchen (v1.8.0)_
_-----> Creating <kitchen-logstash-ubuntu-1604>..._
_ Detected platform: ubuntu version 16.04 on x86_64. Instance Type: t2.micro. Default username: ubuntu (default)._
_ If you are not using an account that qualifies under the AWS_
_free-tier, you may be charged to run these suites. The charge_
_should be minimal, but neither Test Kitchen nor its maintainers_
_are responsible for your incurred costs._
Instance <i-31f4e995> requested.
Polling AWS for existence, attempt 0...
Attempting to tag the instance, 0 retries
EC2 instance <i-31f4e995> created.
Waited 0/300s for instance <i-31f4e995> to become ready.
Waited 5/300s for instance <i-31f4e995> to become ready.
Waited 10/300s for instance <i-31f4e995> to become ready.
Waited 15/300s for instance <i-31f4e995> to become ready.
Waited 20/300s for instance <i-31f4e995> to become ready.
Waited 25/300s for instance <i-31f4e995> to become ready.
EC2 instance <i-31f4e995> ready.
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
Waiting for SSH service on 10.10.70.176:22, retrying in 3 seconds
`
The subnet in which EC2 instance runs is a private subnet. and its connected to internet through a NAT instance. And also that subnet is accessible from my work station through our VPN. I could manually ssh to the server easily. But test kitchen fails to SSH to it.
Helps would be appreciated.