<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Faysal Cloud]]></title><description><![CDATA[Faysal Cloud]]></description><link>https://faysalcloud.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 23:36:08 GMT</lastBuildDate><atom:link href="https://faysalcloud.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How to Install Coolify on Contabo VPS: Complete Self-Hosted Vercel, Heroku & Supabase Alternative]]></title><description><![CDATA[Developer platforms like Vercel, Heroku, and Render make deploying web applications effortless: link a GitHub repository, push a commit, and watch your…]]></description><link>https://faysalcloud.hashnode.dev/how-to-install-coolify-on-contabo-vps-complete-self-hosted-vercel-heroku-supabase-alternative</link><guid isPermaLink="true">https://faysalcloud.hashnode.dev/how-to-install-coolify-on-contabo-vps-complete-self-hosted-vercel-heroku-supabase-alternative</guid><category><![CDATA[coolify]]></category><category><![CDATA[self-hosted]]></category><category><![CDATA[vps]]></category><category><![CDATA[Docker]]></category><dc:creator><![CDATA[Faysal Molla]]></dc:creator><pubDate>Thu, 03 Dec 2026 04:48:15 GMT</pubDate><content:encoded><![CDATA[<h2>The Crippling Overhead of Modern PaaS Providers</h2>
<p>Developer platforms like <strong>Vercel, Heroku, and Render</strong> make deploying web applications effortless: link a GitHub repository, push a commit, and watch your code deploy. However, their pricing scales ruthlessly: Vercel charges $20/seat/month plus punitive edge bandwidth charges, while Heroku charges $25 to $50 per dyno for basic memory tiers.</p>
<p>For an agency or software team running 10 microservices, 3 client staging environments, and 4 relational databases, commercial PaaS bills easily surpass $300 to $800 every month. <strong>Coolify</strong> is an open-source, self-hosted PaaS that provides the exact same developer experience as Vercel and Heroku on your own private infrastructure. Running Coolify on a <strong>Contabo Cloud VPS 2</strong> ($11.50/mo for 6 vCPU cores and 16 GB RAM) lets you deploy dozens of production apps with zero extra cost.</p>
<h2>Step 1: VPS Hardening &amp; One-Line Coolify Installation</h2>
<p>Connect to your fresh Contabo VPS as root:</p>
<pre><code class="language-bash">ssh root@YOUR_SERVER_IP
apt update &amp;&amp; apt upgrade -y
apt install -y curl ufw
</code></pre>
<p>Open required firewall ports for HTTP, HTTPS, SSH, and the Coolify administration panel:</p>
<pre><code class="language-bash">ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw allow 8000/tcp
ufw enable -y
</code></pre>
<p>Execute the official automated Coolify installation script:</p>
<pre><code class="language-bash">curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
</code></pre>
<p>The installer automatically installs Docker, configures the Traefik reverse proxy, initializes the SQLite database, and launches the Coolify orchestrator in under 2 minutes.</p>
<h2>Step 2: Onboarding &amp; Securing the Dashboard</h2>
<p>Open your browser and navigate to:</p>
<pre><code class="language-bash">http://YOUR_SERVER_IP:8000
</code></pre>
<ul>
<li><p>Register your primary administrator name, email, and master password.</p>
</li>
<li><p>Under <em>Settings &gt; Instance Settings</em>, set your custom Fully Qualified Domain Name (FQDN), such as <code>coolify.yourdomain.com</code>.</p>
</li>
<li><p>Coolify automatically provisions a Let's Encrypt SSL certificate and redirects all traffic to secure HTTPS.</p>
</li>
</ul>
<h2>Step 3: Connecting Your GitHub Account</h2>
<p>Under <em>Sources</em>, add a GitHub App integration:</p>
<ul>
<li><p>Click <strong>New Source &gt; GitHub App</strong>.</p>
</li>
<li><p>Coolify generates a customized GitHub registration link. Click it, select your GitHub organization or personal profile, and grant repository access.</p>
</li>
<li><p>Webhooks are registered automatically: every time you push code to your <code>main</code> or <code>staging</code> branch, Coolify intercepts the webhook and deploys an updated container.</p>
</li>
</ul>
<h2>Step 4: Deploying a Next.js / Node.js Application</h2>
<ul>
<li><p>Click <strong>Projects &gt; Default Project &gt; Add New Resource</strong>.</p>
</li>
<li><p>Select <strong>Public/Private Repository</strong> and choose your Next.js repo.</p>
</li>
<li><p>Coolify automatically detects the <code>package.json</code> file, configures the Node.js build pack (or Nixpacks), and assigns an internal health check port.</p>
</li>
<li><p>Enter your custom domain (e.g., <code>app.yourdomain.com</code>).</p>
</li>
<li><p>Click <strong>Deploy</strong>. Coolify builds your production bundle, generates SSL certificates via Traefik, and serves the application globally.</p>
</li>
</ul>
<h2>Step 5: 1-Click Database Provisioning</h2>
<p>Coolify lets you spin up managed databases with a single click: PostgreSQL 16, MySQL 8, MariaDB, Redis, ClickHouse, and MongoDB. Coolify configures automated daily backups that push compressed SQL dumps directly to a remote Contabo Storage VPS or AWS S3 bucket.</p>
<h2>Frequently Asked Questions (FAQ)</h2>
<h3>How much RAM does Coolify need on a Contabo or Hostinger VPS?</h3>
<p>Coolify itself uses ~250 MB RAM, and we recommend at least <strong>4 GB–8 GB total RAM</strong> (such as Contabo VPS 1 or Hostinger KVM 2) when building Next.js and Docker images.</p>
<h2>Summary: The Financial Verdict</h2>
<p>By pairing <strong>Coolify with Contabo Cloud VPS</strong>, you enjoy the luxurious Git-push workflows of modern cloud platforms while slashing your monthly DevOps infrastructure expenses by over 90%.</p>
<hr />
<p><em>Originally published at <a href="https://faysal.cloud/blog/how-to-setup-coolify-self-hosted-heroku-vps">faysal.cloud</a>.</em></p>
]]></content:encoded></item><item><title><![CDATA[How to Deploy Uptime Kuma on Linux VPS: Self-Hosted Monitoring & Public Status Page]]></title><description><![CDATA[Nothing harms a software agency or SaaS company's credibility faster than learning about a website crash from an angry client. Commercial website uptime…]]></description><link>https://faysalcloud.hashnode.dev/how-to-deploy-uptime-kuma-on-linux-vps-self-hosted-monitoring-public-status-page</link><guid isPermaLink="true">https://faysalcloud.hashnode.dev/how-to-deploy-uptime-kuma-on-linux-vps-self-hosted-monitoring-public-status-page</guid><category><![CDATA[Docker]]></category><category><![CDATA[vps]]></category><category><![CDATA[Linux]]></category><category><![CDATA[monitoring]]></category><dc:creator><![CDATA[Faysal Molla]]></dc:creator><pubDate>Wed, 02 Dec 2026 04:40:25 GMT</pubDate><content:encoded><![CDATA[<h2>The Need for Independent Infrastructure Monitoring</h2>
<p>Nothing harms a software agency or SaaS company's credibility faster than learning about a website crash from an angry client. Commercial website uptime monitors like Pingdom, Better Uptime, or Atlassian Statuspage charge steep recurring fees—often $25 to $100+ per month—for basic 1-minute ping checks and branded status pages.</p>
<p><strong>Uptime Kuma</strong> is a self-hosted monitoring tool that provides an intuitive web interface, sub-second latency graphs, SSL certificate expiration countdowns, and public status pages. Running Uptime Kuma on an entry-level <strong>Contabo Cloud VPS 1</strong> or <strong>Hostinger KVM 1</strong> gives you an enterprise-grade monitoring hub for less than $5/month.</p>
<h4>Architectural Golden Rule: Monitor Out-of-Band</h4>
<p>Never host your monitoring tool on the same physical server or cluster as your production websites! If that single server loses power or network connectivity, your monitoring daemon will crash along with your websites, failing to dispatch any alerts. Deploy Uptime Kuma on an independent, isolated VPS.</p>
<h2>Step 1: Docker Installation on Ubuntu VPS</h2>
<p>Connect to your independent monitoring VPS via SSH:</p>
<pre><code class="language-bash">ssh root@YOUR_MONITOR_IP
apt update &amp;&amp; apt upgrade -y
apt install -y curl ufw nginx certbot python3-certbot-nginx
curl -fsSL https://get.docker.com | sh
systemctl enable --now docker
</code></pre>
<h2>Step 2: Deploying Uptime Kuma with Persistent Storage</h2>
<p>Create a dedicated directory and persistent Docker volume:</p>
<pre><code class="language-bash">mkdir -p /opt/uptime-kuma &amp;&amp; cd /opt/uptime-kuma
docker volume create uptime-kuma
</code></pre>
<p>Launch the Uptime Kuma container:</p>
<pre><code class="language-bash">docker run -d \
  --restart=always \
  -p 127.0.0.1:3001:3001 \
  -v uptime-kuma:/app/data \
  --name uptime-kuma \
  louislam/uptime-kuma:1
</code></pre>
<p>Verify that the container is running smoothly:</p>
<pre><code class="language-bash">docker ps
</code></pre>
<h2>Step 3: Nginx Reverse Proxy with Let's Encrypt SSL</h2>
<p>Configure Nginx to reverse proxy traffic from <code>status.yourdomain.com</code> to internal port <code>3001</code> with WebSocket support:</p>
<pre><code class="language-bash">cat &lt;&lt; 'EOF' &gt; /etc/nginx/sites-available/uptime-kuma.conf
server {
    server_name status.yourdomain.com;

    location / {
        proxy_pass http://127.0.0.1:3001;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
EOF

ln -s /etc/nginx/sites-available/uptime-kuma.conf /etc/nginx/sites-enabled/
nginx -t &amp;&amp; systemctl reload nginx
certbot --nginx -d status.yourdomain.com --non-interactive --agree-tos -m admin@yourdomain.com
</code></pre>
<h2>Step 4: Creating Your Admin Profile &amp; Adding Monitors</h2>
<p>Navigate to <code>https://status.yourdomain.com</code> and register your primary administrator account. Click <strong>Add New Monitor</strong>:</p>
<ul>
<li><p><strong>Monitor Type:</strong> Select HTTP(s), Ping, Port, DNS, or Steam Game Server.</p>
</li>
<li><p><strong>Friendly Name:</strong> <em>Production E-Commerce Shop</em></p>
</li>
<li><p><strong>URL:</strong> <code>https://yourdomain.com</code></p>
</li>
<li><p><strong>Heartbeat Interval:</strong> <code>60</code> seconds.</p>
</li>
<li><p><strong>Certificate Expiry Notification:</strong> Check this option to trigger an alert 14 days before any Let's Encrypt SSL certificate expires.</p>
</li>
</ul>
<h2>Step 5: Setting Up Instant Discord or Telegram Alerts</h2>
<p>Under <em>Settings &gt; Notifications</em>, configure real-time notification dispatchers:</p>
<ul>
<li><p><strong>Telegram:</strong> Enter your Telegram Bot Token and Chat ID to receive instant alerts with response codes the second a server goes down.</p>
</li>
<li><p><strong>Discord:</strong> Paste a Discord Webhook URL to broadcast server downtime incidents directly into your team's engineering channel.</p>
</li>
</ul>
<h2>Step 6: Creating a Polished Public Status Page</h2>
<p>Click <strong>Status Pages</strong> in the top navigation, click <strong>New Status Page</strong>, and select the monitors you wish to display publicly. You can customize your company logo, theme colors, custom domain slug, and publish maintenance notices during planned upgrades.</p>
<h2>Conclusion</h2>
<p>Uptime Kuma delivers everything modern development teams require for server monitoring—zero SaaS markup, total data privacy, beautiful graphs, and reliable alerts.</p>
<hr />
<p><em>Originally published at <a href="https://faysal.cloud/blog/how-to-setup-uptime-kuma-status-page-vps">faysal.cloud</a>.</em></p>
]]></content:encoded></item><item><title><![CDATA[Best VPS Hosting for Developers (2026): 6 Providers Benchmarked (From $4.99)]]></title><description><![CDATA[For over a decade, developer default choices for cloud servers were DigitalOcean, Linode, and AWS EC2. However, rising inflation, IPv4 address surcharges…]]></description><link>https://faysalcloud.hashnode.dev/best-vps-hosting-for-developers-2026-6-providers-benchmarked-from-4-99</link><guid isPermaLink="true">https://faysalcloud.hashnode.dev/best-vps-hosting-for-developers-2026-6-providers-benchmarked-from-4-99</guid><category><![CDATA[vps]]></category><category><![CDATA[Cloud Computing]]></category><category><![CDATA[linux for beginners]]></category><category><![CDATA[#webdev #html #css #tech]]></category><dc:creator><![CDATA[Faysal Molla]]></dc:creator><pubDate>Tue, 01 Dec 2026 04:41:28 GMT</pubDate><content:encoded><![CDATA[<h2>The Shifting Landscape of Cloud Virtual Private Servers</h2>
<p>For over a decade, developer default choices for cloud servers were DigitalOcean, Linode, and AWS EC2. However, rising inflation, IPv4 address surcharges, and costly bandwidth overage models have driven developers to reassess their infrastructure spend. In 2026, modern developers demand high core counts, abundant RAM for containerized workloads, NVMe storage speeds, and predictable monthly bills without billing surprises.</p>
<p>To determine the true industry leaders, our engineering lab provisioned equivalent virtual machines across six leading cloud providers. Here is the definitive developer guide for 2026.</p>
<h2>1. The 6-Way Benchmark &amp; Price Comparison Matrix</h2>
<p>Provider</p>
<p>Sample Tier</p>
<p>Specs (vCPU / RAM / Disk)</p>
<p>Monthly Cost</p>
<p>Geekbench 6 Multi-Core</p>
<p><strong>Contabo</strong></p>
<p>Cloud VPS 1</p>
<p>4 vCPU / 8 GB / 50 GB NVMe</p>
<p><strong>~$5.50</strong></p>
<p><strong>3,920</strong></p>
<p><strong>Hostinger</strong></p>
<p>KVM 2</p>
<p>2 vCPU / 8 GB / 100 GB NVMe</p>
<p><strong>~$6.99</strong></p>
<p><strong>3,490</strong></p>
<p><strong>Hetzner</strong></p>
<p>CX32</p>
<p>4 vCPU / 8 GB / 80 GB NVMe</p>
<p>~$8.40 (+IPv4)</p>
<p>4,120</p>
<p><strong>DigitalOcean</strong></p>
<p>Basic Droplet</p>
<p>4 vCPU / 8 GB / 160 GB SSD</p>
<p>$48.00</p>
<p>3,210</p>
<p><strong>Vultr</strong></p>
<p>Cloud Compute</p>
<p>4 vCPU / 8 GB / 160 GB NVMe</p>
<p>$48.00</p>
<p>3,380</p>
<p><strong>Linode / Akamai</strong></p>
<p>Dedicated CPU</p>
<p>4 vCPU / 8 GB / 160 GB SSD</p>
<p>$48.00</p>
<p>3,450</p>
<h2>2. Detailed Provider Breakdowns</h2>
<h3>Contabo: The Undisputed King of RAM per Dollar</h3>
<p>Contabo remains unrivaled in sheer hardware density. For developers deploying Docker swarms, self-hosted GitLab instances, Redis caching clusters, or game servers, Contabo delivers up to <strong>8x more RAM per dollar</strong> than DigitalOcean or AWS. Their included 32TB monthly traffic allocation completely eliminates egress bill shock.</p>
<h3>Hostinger: The Best Developer Experience &amp; Managed Simplicity</h3>
<p>If you want fast KVM virtualization without the burden of manual command-line troubleshooting, Hostinger is the clear winner. With their custom hPanel, pre-built Docker templates, built-in Cloudflare DDoS protection, and 24/7 human live chat support, Hostinger offers the sweet spot between full root freedom and managed convenience.</p>
<h3>Hetzner Cloud: The API &amp; Terraform Leader</h3>
<p>For European DevOps engineers who automate cloud provisioning using Terraform, Ansible, and Kubernetes clusters, Hetzner provides clean developer APIs and hourly billing, though account verification friction remains a challenge for international applicants.</p>
<h3>DigitalOcean &amp; Vultr: The Legacy Giants</h3>
<p>While DigitalOcean and Vultr offer polished documentation and one-click marketplaces, charging $48/month for an 8GB RAM instance has made them economically unviable for budget-conscious indie hackers and growing startups when Contabo and Hostinger deliver equal or superior performance for under $10/month.</p>
<h2>3. Hidden Developer Costs: Bandwidth, IPv4 &amp; Backups</h2>
<p>Headline monthly VPS pricing often hides expensive production add-ons that inflate your real annual cloud bill:</p>
<pre><code>    - **Automated Backups:** DigitalOcean and Vultr charge an extra 20% of the droplet price ($9.60/mo on a $48 node). Hostinger KVM includes weekly backups free.

    - **IPv4 Address Fees:** Hetzner and AWS charge extra monthly fees for dedicated IPv4 addresses, whereas Contabo and Hostinger include a dedicated IPv4 free.

    - **Outbound Bandwidth Egress:** AWS Lightsail/EC2 charge $0.09/GB over quota, whereas Contabo includes 32 TB/mo and Hostinger KVM includes 4–32 TB/mo.

  

  
</code></pre>
<h2>4. Docker, Terraform &amp; CI/CD Developer Workflows</h2>
<p>For single-server SaaS MVPs, Next.js + PostgreSQL + Redis apps, or self-hosted PaaS stacks like <strong>Coolify</strong> and <strong>Dokploy</strong>, both <strong>Hostinger KVM 2</strong> and <strong>Contabo Cloud VPS 1</strong> deploy in minutes with full root SSH access and Ubuntu 24.04 LTS. If your team relies on Terraform multi-region orchestration with hourly spin-up/tear-down CI runners, Hetzner Cloud or DigitalOcean APIs provide smoother programmatic provisioning.</p>
<h2>5. Frequently Asked Questions (FAQ)</h2>
<h3>Which VPS is best for deploying Next.js, Node.js, and Docker?</h3>
<p><strong>Hostinger KVM 2 ($6.99/mo)</strong> offers faster single-core AMD EPYC compilation speeds for <code>npm run build</code> and 100 GB NVMe, while <strong>Contabo Cloud VPS 1 ($5.50/mo)</strong> gives you 4 vCPUs and 32 TB bandwidth for multi-container Docker stacks.</p>
<h3>Can I run Kubernetes (k3s) on a budget developer VPS?</h3>
<p>Yes! Lightweight <code>k3s</code> clusters run smoothly on 2–3 Contabo Cloud VPS 1 nodes (8 GB RAM each) connected over a private WireGuard mesh.</p>
<h2>6. Final Recommendations for Developers</h2>
<pre><code>    - **Best for Heavy Compute, Containers &amp; Low Budgets:** [Contabo Cloud VPS](#contabo)

    - **Best for Web Creators, Next.js &amp; Client Projects:** [Hostinger KVM VPS](#hostinger)

  

  
</code></pre>
<h2>Frequently Asked Questions (FAQ)</h2>
<h3>Which developer VPS has the best NVMe disk speed?</h3>
<p>Both <strong>Hostinger KVM</strong> and <strong>Contabo Cloud VPS</strong> use enterprise NVMe SSD arrays delivering 50,000–82,000+ random 4K IOPS—plenty fast for Docker builds, PostgreSQL queries, and npm installs.</p>
<h3>Should I pick Ubuntu 24.04 LTS or Debian 12 for a developer VPS?</h3>
<p>Choose <strong>Ubuntu 24.04 LTS</strong> for wider third-party Docker/Coolify/NodeSource script compatibility, or <strong>Debian 12</strong> for ultra-minimal RAM usage.</p>
<h2>Conclusion</h2>
<p>Unless you strictly require AWS/DigitalOcean proprietary cloud services, <strong>Contabo</strong> and <strong>Hostinger KVM</strong> deliver 3x to 8x more RAM and CPU per dollar for modern developers.</p>
<hr />
<p><em>Originally published at <a href="https://faysal.cloud/blog/best-vps-hosting-for-developers-2026">faysal.cloud</a>.</em></p>
]]></content:encoded></item><item><title><![CDATA[How to Set Up an Ubuntu 24.04 VPS on Contabo: Step-by-Step Production Guide]]></title><description><![CDATA[Contabo is widely recognized as the market price-performance leader in cloud virtualization. For roughly $5.50 per month, their entry-level Cloud VPS 1…]]></description><link>https://faysalcloud.hashnode.dev/how-to-set-up-an-ubuntu-24-04-vps-on-contabo-step-by-step-production-guide</link><guid isPermaLink="true">https://faysalcloud.hashnode.dev/how-to-set-up-an-ubuntu-24-04-vps-on-contabo-step-by-step-production-guide</guid><category><![CDATA[Ubuntu]]></category><category><![CDATA[vps]]></category><category><![CDATA[Linux]]></category><category><![CDATA[contabo]]></category><dc:creator><![CDATA[Faysal Molla]]></dc:creator><pubDate>Mon, 30 Nov 2026 06:56:10 GMT</pubDate><content:encoded><![CDATA[<h2>Introduction: Why Contabo VPS for Linux Workloads?</h2>
<p>Contabo is widely recognized as the market price-performance leader in cloud virtualization. For roughly $5.50 per month, their entry-level Cloud VPS 1 delivers 4 vCPU cores, 8 GB of ECC RAM, and 50 GB of high-speed NVMe storage. However, unlike managed hosts like Hostinger or shared cPanel providers, Contabo gives you a bare-metal hypervisor instance. You are the sole systems administrator responsible for OS updates, network security, user privileges, and firewall rules.</p>
<p>In this comprehensive guide, we take a freshly provisioned Ubuntu 24.04 LTS instance from initial email credentials to a fully hardened, enterprise-ready production server.</p>
<h2>Phase 1: Ordering &amp; Initial CCP Configuration</h2>
<p>When ordering your VPS from Contabo, select the following recommended options:</p>
<ul>
<li><strong>Region:</strong> Choose the data center closest to your target audience (Germany for European traffic, Central US/St. Louis or New York for the Americas, Singapore for APAC).</li>
<li><strong>Storage Type:</strong> Always select 100% NVMe storage rather than standard SSD for 5x to 10x faster disk I/O.</li>
<li><strong>Operating System:</strong> Select <strong>Ubuntu 24.04 LTS (Noble Numbat)</strong> for 5 years of canonical security patches.</li>
<li><strong>SSH Keys:</strong> Contabo allows pasting your public SSH key directly into the checkout form. If you do this, password authentication is automatically disabled on boot.</li>
</ul>
<h2>Phase 2: First SSH Connection via Root</h2>
<p>Once you receive the setup confirmation email containing your server IP address, open your local terminal (macOS/Linux) or PowerShell (Windows 11) and establish your first session:</p>
<pre><code class="language-bash">ssh root@YOUR_CONTABO_SERVER_IP
</code></pre>
<p>Accept the ECDSA host key fingerprint by typing <code>yes</code>. Enter the root password provided in the Contabo welcome email.</p>
<h2>Phase 3: Upgrading Core System Repositories</h2>
<p>Fresh cloud images often sit on repositories that are several months old. Immediately refresh APT indices and patch the kernel and standard utilities:</p>
<pre><code class="language-bash"># Refresh repository metadata
sudo apt update

# Perform full distribution upgrade
sudo apt upgrade -y

# Remove obsolete dependencies
sudo apt autoremove -y

# Verify running kernel version
uname -r
</code></pre>
<h2>Phase 4: Creating a Dedicated Sudo User</h2>
<p>Operating a production server as <code>root</code> is a major security vulnerability. A single typo in <code>rm -rf</code> or an exploited service can destroy your entire file system. Create a dedicated administrative user with superuser privileges:</p>
<pre><code class="language-bash"># Add a new user (replace 'deployer' with your chosen username)
adduser deployer

# Grant sudo administrative access
usermod -aG sudo deployer

# Verify group membership
groups deployer
</code></pre>
<h2>Phase 5: Configuring Ed25519 SSH Key Authentication</h2>
<p>Passwords are vulnerable to brute-force dictionary attacks. We will configure an ultra-secure Ed25519 elliptic curve keypair.</p>
<p>On your <strong>local machine</strong>, generate an SSH key if you do not already have one:</p>
<pre><code class="language-bash">ssh-keygen -t ed25519 -C "contabo-production-key"
</code></pre>
<p>Next, copy your public key to your new remote server user:</p>
<pre><code class="language-bash">ssh-copy-id -i ~/.ssh/id_ed25519.pub deployer@YOUR_CONTABO_SERVER_IP
</code></pre>
<h2>Phase 6: Hardening SSH Daemon Configuration</h2>
<p>Now lock down SSH access so that attackers cannot even attempt password logins or target the root user directly. Open the SSH daemon configuration:</p>
<pre><code class="language-bash">sudo nano /etc/ssh/sshd_config.d/99-hardened.conf
</code></pre>
<p>Add the following hardened security directives:</p>
<pre><code class="language-bash"># Change standard SSH port to defeat automated bot scanners
Port 2222

# Strictly disable root login
PermitRootLogin no

# Disable password authentication completely
PasswordAuthentication no
PermitEmptyPasswords no

# Maximum authentication attempts before disconnect
MaxAuthTries 3

# Allow only public key authentication
PubkeyAuthentication yes
</code></pre>
<p>Before restarting SSH, test the syntax to prevent locking yourself out:</p>
<pre><code class="language-bash">sudo sshd -t
</code></pre>
<p>If no errors return, reload the SSH daemon:</p>
<pre><code class="language-bash">sudo systemctl restart ssh
</code></pre>
<h2>Phase 7: Setting Up UFW (Uncomplicated Firewall)</h2>
<p>Ubuntu includes UFW by default. Configure strict default deny rules before enabling the firewall:</p>
<pre><code class="language-bash"># Reset UFW to default settings
sudo ufw default deny incoming
sudo ufw default allow outgoing

# Allow custom SSH port
sudo ufw allow 2222/tcp comment "Hardened SSH Port"

# Allow HTTP and HTTPS web traffic
sudo ufw allow 80/tcp comment "HTTP Web"
sudo ufw allow 443/tcp comment "HTTPS Secure Web"

# Enable UFW
sudo ufw enable

# Verify active status
sudo ufw status verbose
</code></pre>
<h2>Phase 8: Timezone &amp; Automatic Security Updates</h2>
<p>Consistent timestamps are critical for parsing access logs, database transactions, and cron jobs:</p>
<pre><code class="language-bash"># Set server timezone to UTC
sudo timedatectl set-timezone UTC

# Enable unattended security upgrades
sudo apt install unattended-upgrades -y
sudo dpkg-reconfigure --priority=low unattended-upgrades
</code></pre>
<h2>Phase 9: Troubleshooting Common Initial Setup Errors</h2>
<h3>1. SSH Connection Refused on Port 2222</h3>
<p>If you cannot connect after changing the SSH port, verify whether UFW is blocking port 2222. Log into the Contabo Customer Control Panel, open the browser-based <strong>VNC Console</strong>, and run <code>sudo ufw allow 2222/tcp &amp;&amp; sudo systemctl restart ssh</code>.</p>
<h3>2. sudo: unable to resolve host</h3>
<p>This harmless warning occurs if your hostname is not mapped in <code>/etc/hosts</code>. Edit <code>/etc/hosts</code> and add: <code>127.0.1.1 your-server-hostname</code>.</p>
<h2>Phase 10: Frequently Asked Questions (FAQ)</h2>
<h3>Should I choose Ubuntu 22.04 or 24.04 on Contabo?</h3>
<p>Ubuntu 24.04 LTS is the modern standard offering Linux Kernel 6.8+, native OpenSSL 3.0 support, and security updates through 2029. Choose 22.04 only if you must run legacy software incompatible with PHP 8.3 or Python 3.12.</p>
<h3>How do I test my server's disk speed on Contabo?</h3>
<p>Install the <code>fio</code> benchmarking utility and run a random read/write test: <code>sudo apt install -y fio &amp;&amp; fio --name=test --bs=4k --size=1G --rw=randwrite --direct=1</code>. You should observe write speeds above 1,200 MB/s.</p>
<h2>Next Steps &amp; Recommendation</h2>
<p>Your Contabo Ubuntu 24.04 VPS is now fully hardened against 99.9% of automated Internet attacks. You are now ready to install Docker, aaPanel, or your web server of choice.</p>
<hr />
<p><em>Originally published at <a href="https://faysal.cloud/blog/how-to-setup-ubuntu-vps-on-contabo">faysal.cloud</a>.</em></p>
]]></content:encoded></item></channel></rss>