Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Deploying a Secure Virtual Private Server with Ubuntu 20.04
Rating: 4.6 out of 5(359 ratings)
2,094 students

Deploying a Secure Virtual Private Server with Ubuntu 20.04

Setting up a secure instance of Ubuntu 20.04 with Caddy, NGINX, Apache, PHP, MariaDB, PostgreSQL, Redis, and more
Created byTrevor Sawler
Last updated 2/2023
English

What you'll learn

  • Deploy a secure Virtual Private Server on a provider like Linode, Digital Ocean, or Vultr
  • Best practices to secure the VPS
  • Install most commonly used software (web server, PHP, databases, etc)
  • Learn how ufw, the "Uncomplicated Firewall" works
  • Connect to the VPS using SSH (secure shell) and Kes (public and private SSH keys)

Course content

10 sections66 lectures4h 21m total length
  • Introduction3:00

    A brief overview of what we will cover in this course

  • Choosing a VPS provider3:13

    Linode, DigitalOcean, or Vultr?

  • Choosing the right type of server and deploying our VPS6:24

    Picking the correct server type from our VPS provider

  • A note about the Linux commands I'll be using0:39

    Not to panic -- we'll cover the basic Linux commands in the next section

  • Connecting to our server for the first time5:30

    Our first test drive of SSH, secure shell

  • Setting up a non-root user account4:29

    Only become the super user (root) when absolutely necessary

  • Updating the system5:42

    Our introduction to aptitude, Ubuntu's package manager: apt update and apt upgrade

Requirements

  • A functional Windows, Macintosh, or Linux computer & an Internet connection
  • Some experience with Linux is helpful, but not essential. We'll go over the basics

Description

Many developers have been turning to Virtual Private Servers to host their projects, and with good reason: unlike in a shared hosting environment, you are not running the risk of someone else's badly written code resulting in poor performance or (worse yet) your site being compromised because of someone else's insecure programming.

With a Virtual Private Server, you have complete control over the software that is available to you, and you can fine tune the server to meet your exact needs. But setting up a secure VPS takes a bit of work, and requires a bit of learning.

This course will take you through the basics of setting up a fast, secure VPS on Linode, DigitalOcean, AWS Lightsail, Vultr or any other provider that offers VPS Linux hosting. We'll set up an Ubuntu 20.04 server with the most commonly needed software, and ensure that it is locked down as securely as possible. We will also go through best practices for adding users, software, and services, and ensure that we choose the right kind of server for a particular project. We will learn how to implement public and private keys for secure access using SSH, how to edit files on the remote server through the command line using vi or nano/pico, how to use the most common and useful Linux command line programs, and how to configure the most popular and useful server software.

Who this course is for:

  • Developers who want to host their own web applications
  • People who are interested in acquiring "DevOps" skills for future employment
  • People who are interested in best practices for securing a Linux based server