Goal of this project is to deploy the entire django stack with help of ansible
- My First 5 Minutes On A Server
- Database setup
- Christophe Pettus's PostgreSQL configuration
- Logging
- Memory
- Checkpoint
- Planner
- Christophe Pettus's PostgreSQL configuration
- Python Layer
- pip
- virtualenv
- django
- Application
- git pull django project
- install requirements
- uWSGI Appserver
- Gunicorn Appserver
- Supervisord
- Apache reverse proxy
- apache 2.4
- mod_security
- Nginx reverse proxy
- Caching
- memcached
- Loadbalancer
- HAProxy
- Update & upgrade the system via apt-get
- Reset our root password to something strong
- Create a new user so we don't have to use root
- Copy over our pub key
- Lock down sudo
- Lock down ssh to prevent root & password login
- Setup the ufw firewall
- Install vim, ntp, postfix
- Install fail2ban to block attacks
- Configure unattended security upgrades
- Configure logwatch to email daily server logs