4

我正在使用 Ubuntu 12.04,我想在 ec2 实例中部署,但抛出以下错误并且无法执行部署过程

krs@ubuntu:~/a/anonymous-ui-deploy$ cap staging deploy:setup

触发加载回调

  • 2013-07-24 11:19:15 执行“分期”

    触发 `deploy:setup' 的启动回调

    • 2013-07-24 11:19:15 执行“多阶段:确保”

    • 2013-07-24 11:19:15 执行“部署:设置”

    • 执行“mkdir -p /home/ec2-user/apps/ano_stag /home/ec2-user/apps/ano_stag/releases /home/ec2-user/apps/ano_stag/shared /home/ec2-user/apps/ano_stag/共享/系统 /home/ec2-user/apps/ano_stag/shared/log /home/ec2-user/apps/ano_stag/shared/pids"

服务器:[“ec2-xx-xx-xxx-xx.compute-1.amazonaws.com”] 连接失败:ec2-user@ec2-xx-xx-xxx-xx.compute-1.amazonaws.com(Errno ::ETIMEDOUT:连接超时 - 连接(2))

请务必让我知道解决此问题的答案。提前致谢

4

1 回答 1

1

看起来与您的服务器有关的问题,其中一个不允许另一个与之交谈。

  1. 确保您能够从源服务器连接到目标服务器。
  2. 如果没有,请确保目标服务器的安全组具有允许 ssh 访问的入站规则 - 请参阅此链接以获取更多信息。
  3. 确保目标服务器不包含阻止传入连接的防火墙。
  4. 在两台服务器上验证syslog并确认一切正常。
于 2013-12-15T05:18:19.363 回答