title: AWS Beanstalk: None of the Instances are sending data, and can not ssh to ec2
body: <p>I have encountered this problem </p>
  
  <pre><code>None of the Instances are sending data
  </code></pre>
  
  <p>when deploying a new version of my app on beanstalk, the only diff between the two versions are minor and I'm quite sure it's not the cause. This is what I see:</p>
  
  <ul>
  <li>I can not get logs from beanstalk console</li>
  <li>I can not ssh to EC2 instance of this beanstalk configuration (although the status of that instance is 'running'.</li>
  <li>Last time I encountered the same issue with a ec2.micro instance, it got solved when I upgrade to ec2.small. What I thought is probably the resource usages make it unresponsive (weird though, since it's only deployment, not even serving any traffic). I don't want to upgrade (again) without really understanding what's happening here.</li>
  <li>The cpu pattern is like 80% -> 60% -> 20% in during the first 5mins of deployment, then stay at 10% constantly afterwards.</li>
  </ul>
  
  <p>The only way that I can get some server log is to get system log from aws console, and here it is:</p>
  
  <p>Here is the log:
  <a href="https://pastebin.com/PWWjPr3b" rel="noreferrer">https://pastebin.com/PWWjPr3b</a></p>
  
  <p>Here is what I saw when I issue a ssh:</p>
  
  <pre><code>OpenSSH_7.4p1, LibreSSL 2.5.0
  debug1: Reading configuration data /Users/okidogi/.ssh/config
  debug1: Reading configuration data /etc/ssh/ssh_config
  debug1: Connecting to ec-******.eu-west-2.compute.amazonaws.com 
  [35.177.76.128] port 22.
  debug1: Connection established.
  debug1: identity file aws-eb type 1
  debug1: key_load_public: No such file or directory
  debug1: identity file aws-eb-cert type -1
  debug1: Enabling compatibility mode for protocol 2.0
  debug1: Local version string SSH-2.0-OpenSSH_7.4
  </code></pre>
  
  <p>Then it's pending there.</p>
  
  <p>Appreciate if someone can help on this.</p>