Scalable Employee Management Portal
In today's world, our application should be able to handle multiple requests from customers all around the world. So it is important to make an application fault-tolerant and able to scale as the need of the demand. This post talks about how to create a scalable web application using various AWS services like Load Balancers, Target Groups, Auto Scaling, Launch Configuration, Amazon Machine Image(AMI), Route 53, and so on.
- AWS EC2
- AWS AMI
- Load Balancer
- Auto Scaling Groups
- MySQL Instance
- Route 53
- Create a config.ini file
[MYSQL]
user=
password=
host=
database=
- Commands to confgure the application
git clone [email protected]:codexponent/scalable-employee-mgmt-portal.git
pip install -r requirements.txt
python main.py
- Create a reboot cronjob for the AMI Image
touch run.sh
echo "#!/bin/bash
python main.py" > run.sh
crontab -e
@reboot /home/ec2-user/scalable-employee-mgmt-portal/run.sh
- Start to create AMI Image written on the post.