12

I am trying to deploy my code on EB however I get this error:

Engine execution has encountered an error. 

I can deploy an earlier version of the app fine. But after I added dynamodb related code, I can no longer deploy the latest version. Not sure if it is related. How can I dig in more?

Logs show:

startProcess Failure: starting process "web" failed: Command /bin/sh -c systemctl start web.service failed with error exit status 1. Stderr:Job for web.service failed because the control process exited with error code. See "systemctl status web.service" and "journalctl -xe" for details. 

1 Answer 1

3

My usual troubleshooting steps are the same as the ones in AWS Elastic Beanstalk Troubleshooting doc:

  1. Retrieve and investigate EB Logs
  2. If retrieved logs are not helpful, then SSH to the EC2 instance can be used to get more details or check that the instance config is really what I expected for example.

The error message in this question suggests to run those commands on the instance:

systemctl status web.service journalctl -xe 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.