Apprunner failed to deploy

1

There was no error, so I don't know where to begin troubleshooting this.

Last three lines of event log were:

10-23-2023 11:45:41 PM [AppRunner] Performing health check on port '8000'.

10-23-2023 11:46:39 PM [AppRunner] Your application stopped or failed to start. See logs for more information. Container exit code: 1

10-23-2023 11:46:57 PM [AppRunner] Deployment with ID : c6ce89425b22449ea7c2c160ae1f93bc failed.

Last three lines of the deployment log were:

10-23-2023 11:45:03 PM [Build] Successfully built a2b68a6d3b48

10-23-2023 11:45:03 PM [Build] Successfully tagged application-image:latest

10-23-2023 11:46:57 PM [AppRunner] Failed to deploy your application source code.

Never used Apprunner before, so without an error I don't even know where to begin looking. I followed the tutorial for deploying a Django application pretty closely. Some changes since I'm using the Cookiecutter template instead of a blank new Django project. Even without an error is there some clue about how far Apprunner got that may point to the problem?

nbl412
asked 6 months ago347 views
1 Answer
-1

Hi,

It seems that you are using Docker containers. The deployment of this container is probably failing with one of thos code: https://komodor.com/learn/exit-codes-in-containers-and-kubernetes-the-complete-guide

So, does this container image properly out of AppRunner? If it fails similarly, you may be able to access the logs more easily when running it on your laptop. Then you can fix the container config and get it to run under AppRunner.

Best,

Didier

profile pictureAWS
EXPERT
answered 6 months ago
  • No, I'm deploying from a source code repository.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions