Income Tax – Deployed on AWS EC2
I wrote an app that allows Norwegian commoners to input basic information about their income and required benefits to produce an insight into what the total compensation is in addition to a net salary estimation. It’s a great exercise for UX design but I digress. This piece is a part of a bigger project which will be updated shortly.
In this milestone the first code was written, a rather massive docker image was built (almost 1GB) and deployed locally.
The plan was to deploy this on a AWS EC2 instance. Being a newbie with both ubuntu, docker and this whole DevOps game I had some issues regarding everything and went for the bruteforce problemsolving method to deploy my application so I quickly brag about my victories!
See the app here: http://13.53.149.105:8501/
Key insights/learnings were
- It was okay to build and run docker images – but I had some problems with rights and security groups
- Ended up running as local user using “plain” streamlit
- Need to fix https
- Need to re-deploy using docker….!
References
https://discuss.streamlit.io/t/aws-address-does-not-connect/1535/3