title: How to view AWS Elastic Beanstalk deployment process log in case of failure
body: <p>I have a PHP application that is deployed on <code>Elastic Beanstalk</code> for latest changes, code directory is zipped (Development on windows environment) and then uploaded by "Upload &amp; Deploy" option. It process every thing and finally fails due to some health check issue.</p>
  
  <pre><code>ERROR   During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy the appropriate application version.
  ERROR   Failed to deploy application.
  ERROR   Instance id(s) 'unique-instance-id' did not pass health check after command execution. Aborting the operation.
  INFO    Command execution completed on 1 of 2 instances in environment.
  INFO    Deploying new version to instance(s).
  </code></pre>
  
  <p>This problem does not occur if code directory is zipped on <code>MacBook</code> and then uploaded.</p>
  
  <p>I can assume there could be some issue with <code>EOL End of line</code> or may be other zip format for <code>windows</code> and <code>linux</code></p>
  
  <p>I googled a lot but the solution are to upload the to environment and then run <code>dos2unix</code> command. but I have no access to the instance. only Amazon Front end panel to upload a file.</p>
  
  <p><strong>Question:</strong>
  I just need to know how can I view the detailed log of <code>Elastic Beanstalk</code> process log for "upload and deployment" of application process (Not the trace as I have pasted above).</p>
  
  <p>I have also tried the "Logs" tab(link) left side menu. It helps to download zip file for logs contains <code>httpd</code>(access_log, error_log[very old error messages]) and some other log files.</p>
  
  <p>However these log files does not help to understand why deployment failed.</p>