1. Provision a VPS 2. Access using SSH 3. Upgrade the OS packages 4. Install `nano`, ... 5. Install a `firewall` and enable ports `443` + `80` + `22` 6. Install `fail2ban` and configure jail for SSH 7. Add a memory swap of 4Gi and make it persitant by adding it to `fstab` 8. Add a cron job that empty cache memory each 24 hours 9. create a user (`abdeka`) with admin rights 10. disable root and password login 11. Write a bash script that automate all the above. Acceptance criteria : * scan with `nmap` should only show that port `443` + `80` + `22` are open * I can't login with a root user and password * I can login with user `abdeka` using my SSH key
nano, ...firewalland enable ports443+80+22fail2banand configure jail for SSHfstababdeka) with admin rightsAcceptance criteria :
nmapshould only show that port443+80+22are openabdekausing my SSH key