Course Overview
Locked video preview

Paid video

Please purchase the course to watch.

Setting up a secure VPS

Creating a server

Here is a summary of the video transcript:

  • Choosing a VPS Provider
    The video discusses selecting a VPS provider, noting that options like Hetzner, DigitalOcean, OVH, Hostinger, and AWS are all viable. Hetzner is highlighted as a cost-effective option suitable for both personal and professional projects.

  • Creating the Server Instance
    A cost-optimized server is created with 4 GB RAM, 80 GB storage, and 2 vCPUs. Debian 13 is chosen for its stability, and an SSH public key is added for secure access during setup.

  • Server Configuration Choices
    Additional features such as volumes, provider-level firewalls, backups, labels, and cloud configuration are skipped. The server is named and deployed at a monthly cost of approximately 6 euros.

  • SSH Access Setup
    After deployment, the public IP address is retrieved. An SSH config file is created locally to simplify access, specifying the host alias, hostname (IP), private key path, user (root), and port (22).

  • Connecting and Managing the Server
    The server is accessed via SSH using the configured alias. Once connected, system updates and upgrades are performed to ensure the server remains secure and up to date.

  • Server Maintenance Responsibility
    The user is responsible for maintaining the server, including applying updates, monitoring storage, and ensuring security patches are installed. Basic maintenance primarily involves periodic updates and system checks.

  • Next Steps: SSH Hardening
    The next step will focus on SSH hardening, including improving security by changing default settings such as the user and SSH port.