After updating your code locally, you need to deploy the new version to AWS EC2.
Here is the handbook for uploading the code for the first time:
After you built up a Python app locally, it is time for you to upload to cloud…