Skip to content

Latest commit

 

History

History
70 lines (36 loc) · 3.58 KB

vps-setup.md

File metadata and controls

70 lines (36 loc) · 3.58 KB

VPS Setup Guide

In this guide, we will walk you through the process of setting up a Virtual Private Server (VPS) for the workshop. If you already have a VPS, you can skip this section and proceed to the Ansible Installation Guide.

Table of Contents

Picking a VPS Provider

Before you begin, you need to select a VPS provider that meets the following criteria:

  1. Ability to mount installation ISOs: This allows you to load custom operating systems or recovery tools.

  2. Console access outside of SSH (VNC or serial): In case of network issues or SSH misconfigurations, console access lets you troubleshoot your VPS directly.

  3. Support for full disk encryption on virtual disks: Ensures that your data is encrypted at rest.

  4. Good network connectivity: Ensure that the provider has good network connectivity and low latency to your location.

  5. Data center locations: Choose a provider with data centers in regions that are close to your target audience or have good connectivity to your location.

VPS Disk Encryption

When setting up a VPS, it's important to consider disk encryption, especially if you are handling sensitive data. Full disk encryption adds an additional layer of security, making unauthorized access more difficult. However, it’s important to understand the limitations:

  1. Full disk encryption protects your data at rest, but while your VPS is running, data must be decrypted for the system to use it.

  2. The decryption key is stored in the server's RAM while it’s running, which could be stolen by someone with access to the system memory.

  3. Disk encryption is not foolproof, but it helps to make unauthorized access more difficult and time-consuming for potential attackers.

  4. The goal here is risk mitigation, not absolute security. If you are handling highly sensitive data, consider additional security measures.

Global VPS Providers

Here are some popular VPS providers that offer a wide range of services and features:

  1. DigitalOcean: Known for its simplicity and user-friendly interface, DigitalOcean offers a variety of droplet plans to suit different needs.

  2. Linode: Linode provides high-performance SSD Linux servers with a simple pricing model and excellent customer support.

  3. Vultr: Vultr offers high-performance cloud compute instances with SSD storage and a global network of data centers.

  4. hostinger: hostinger provides affordable VPS hosting with dedicated resources and a user-friendly control panel.

Official Linux Distribution Websites

If you prefer to install a specific Linux distribution on your VPS, you can download the ISO image from the official distribution website. Here are some popular Linux distributions:

  1. Ubuntu: Download Ubuntu ISO

  2. Debian: Download Debian ISO

  3. CentOS: Download CentOS ISO

For this guide, we will use the Ubuntu 24.04 LTS (Long Term Support) release. You can download the ISO image from the following link:

https://releases.ubuntu.com/24.04/ubuntu-24.04.1-live-server-amd64.iso

Install Ubuntu 24.04 LTS

You can find full installation instructions for Ubuntu 24.04 LTS on the official Ubuntu website.