Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is my AWS App Runner application not deploying?

I'm trying to deploy an application with AWS App Runner and initially had a successful deploy. However, as I make changes to the app, then push to GitHub, the application deployment begins, runs for about 20 minutes then fails.

Here are the last few lines from the deploy log:

[Build] Successfully built 96fba6016991
[Build] Successfully tagged application-image:latest
[AppRunner] Failed to deploy your application source code.

Then the application rolls back. I cannot locate any other logs with any additional information.

Where can I find more descriptive logs? Why is my application not deploying?

like image 465
JSK NS Avatar asked Nov 24 '25 12:11

JSK NS


1 Answers

I solved this problem by looking into other places with logging. The initial message was in the "deployment journal", but there was more details if opened in "cloudwatch". I also went in the "application journal" part. Clicked on "Application logs" in this section to be able to see the actual error message causing the issue.

like image 143
Pierre.Sassoulas Avatar answered Nov 26 '25 09:11

Pierre.Sassoulas