'How to Deploy or start ones again an AWS Flask project after restart EC2 virtual machine? Using Codestar

Hi i am making a Project with Flask REST API on Amazon AWS and i am using Codestar, but after (turn off - turn on) or restart the virtual machine EC2 the Deploy do not finish good :-(.

The Error: Codice di errore ScriptFailed Nome script scripts/stop_server Messaggio Script at specified location: scripts/stop_server run as user root failed with exit code 1

LifecycleEvent - ApplicationStop Script - scripts/stop_server Thanks to can help me ;-)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source