The original project code is on VS Code. Pushed the application to DockerHub.com and from there pushed to AWS Lightsail.
Here is the status on Amazon CLI:
Last login: Mon Jun 17 10:13:58 2024 from
ubuntu@ip-172-26-15-239:~$ docker logs fcf0db26a49a
* Serving Flask app 'app'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a p
roduction WSGI server instead.
* Running on
Press CTRL+C to quit
* Restarting with stat
* Debugger is active!
* Debugger PIN: 107-751-001
* Serving Flask app 'app'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a p
roduction WSGI server instead.
* Running on
Press CTRL+C to quit
* Restarting with stat
* Debugger is active!
* Debugger PIN: 107-751-001
* Serving Flask app 'app'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a p
roduction WSGI server instead.
* Running on
Press CTRL+C to quit
* Restarting with stat
* Debugger is active!
* Debugger PIN: 107-751-001
ubuntu@ip-172-26-15-239:~$ 54.239.98.244http://127.0.0.1:5000http://127.0.0.1:5000http://127.0.0.1:5000
Unable to figure out why nothing loading on http://127.0.0.1:5000. Since the static IP address for this instance is 44.206.118.123, also tried with http://44.206.118.123. But blank page.
Help appreciated. If access to app.py file or any other files such as requirements.txt/DockerHub needed in order to troubleshoot, I will provide. Not providing just now for the sake of brevity.
Thanks in advance!