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
preguntada hace 8 meses396 visualizaciones
1 Respuesta
-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
EXPERTO
respondido hace 8 meses
  • No, I'm deploying from a source code repository.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas