I am trying to deploy and run a simple python application (discord bot) on AWC EC2 through github. I have setup CodeDeploy and CodePipeline
- Do I need the CodeBuild?
- Where do I mention my main.py executable in appspec.yml to run the code?
- What all hooks(BeforeInstall, AfterInstall, ApplicationStart, ApplicationStop) are important in appspec.yml file?