Let's do project on a 2 tier application.
- Create a Dockerfile
- Create a docker compose file
- Add port 5000 in inbound rules under security group of the EC2 instance
- Start the services.
- Check the images and containers running by the docker-compose
- check if the application is running fine on pubic-ip:5000
Git repo for reference : https://github.com/basavaraj-teli/two-tier-flask-mysql-app.git