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
질문됨 7달 전371회 조회
1개 답변
-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
전문가
답변함 7달 전
  • No, I'm deploying from a source code repository.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠