# SSH timeout on AWS on specific instance types

**URL:** <https://forums.suse.com/t/ssh-timeout-on-aws-on-specific-instance-types/6120>\
**Category:** Rancher 1.x\
**Created:** [April 11, 2017, 1:47pm UTC](https://forums.suse.com/t/ssh-timeout-on-aws-on-specific-instance-types/6120 "2017-04-11T13:47:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseandrespg](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/joseandrespg/32/2374_2.png) [@joseandrespg](https://forums.suse.com/u/joseandrespg)\
**Post date:** [April 11, 2017, 1:47pm UTC](https://forums.suse.com/t/ssh-timeout-on-aws-on-specific-instance-types/6120/1 "2017-04-11T13:47:46Z")

</div>

Hi!

We have created a new environment on Rancher 1.5 for testing proposes.

We’ve been able to spin “t2.micro” instances (eu-west-2) using the AMI ami-51776335 (RancherOS 0.9.1) without any problem.

Now we are trying to clone one of this micro instances, but changing the instance type to a bigger one (ex. m4.xlarge) and keeping the rest of the options the same results in a “Last error: Maximum number of retries (60) exceeded” error in the rancher logs.

Upon further debugging the rancher logs we see java errors looking like:

> 2017-04-11 13:26:11,186 ERROR [8a16a01b-1881-45ab-85f4-73c6fb8dc8c5:3556] [host:26] [host.provision] [utorService-113] [c.p.e.p.i.DefaultProcessInstanceImpl] Unknown exception io.cattle.platform.util.exception.ExecutionException: Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded

The biggest instance we could deploy was a “t2.large”. It seems like only “t2” machines worked. Perhaps it could also be something related to the size as none of the xl’s worked (we also tried the “c4.xlarge”).

Have you ever experienced this issue?

Thanks a lot!  
Jose.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [April 11, 2017, 5:15pm UTC](https://forums.suse.com/t/ssh-timeout-on-aws-on-specific-instance-types/6120/2 "2017-04-11T17:15:03Z")

</div>

> <https://github.com/rancher/os/issues/1751>

---

<div class="post-metadata">

**Author:** ![joseandrespg](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/joseandrespg/32/2374_2.png) [@joseandrespg](https://forums.suse.com/u/joseandrespg)\
**Post date:** [April 13, 2017, 11:25am UTC](https://forums.suse.com/t/ssh-timeout-on-aws-on-specific-instance-types/6120/3 "2017-04-13T11:25:25Z")

</div>

Worked for us with the new AMI.

Thanks!
