Skip to content

DevOps Level -1: Setup a remote server  #8

@allilou

Description

@allilou
  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

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions