How to Get a Free VPS Server: Step-by-Step Setup Guide for AWS, Google Cloud, and Oracle Cloud Free Tiers

Getting a free VPS server is the best way to learn Linux administration, test new software configurations, or host small projects without spending a dime. Major cloud providers offer legitimate free tiers that give you access to real virtual private servers with root access, public IP addresses, and enough resources to run web servers, databases, and development tools. If you want to compare VPS performance across free and paid providers, check the benchmarks before committing to a paid plan. In this guide, you will learn exactly how to sign up for each free tier, launch your first server, and secure it for production use.

What You Get from Each Free Tier

Before diving into setup steps, here is what each provider offers in their free tier as of 2026:

  • AWS Free Tier: 750 hours/month of t2.micro or t3.micro (1 vCPU, 1 GB RAM) for 12 months. Includes 30 GB EBS storage, 1 GB of snapshots, and 100 GB of data transfer.
  • Google Cloud Free Tier: One f1-micro instance (0.2 vCPU, 0.6 GB RAM) per month in us-west1, us-central1, and us-east1 regions. Includes 30 GB of HDD or balanced persistent disk. No time limit on the compute engine free tier.
  • Oracle Cloud Free Tier: Two AMD micro instances (1/8 OCPU, 1 GB RAM each) plus up to four Arm Ampere A1 instances (3 GHz, 24 GB total RAM across all instances). Includes 200 GB total block storage. No time limit.

Step 1: Sign Up for AWS Free Tier

Go to the AWS Free Tier page and click “Create a Free Account.” You will need a credit card for identity verification, but you will not be charged as long as you stay within free tier limits. AWS charges for any resources that exceed the free allowance, so set up billing alerts immediately after creating your account.

After signing in to the AWS Management Console, navigate to EC2 and click “Launch Instance.” Choose Amazon Linux 2023 or Ubuntu 24.04 LTS as your operating system. Select the t2.micro or t3.micro instance type — both are eligible for the free tier. Create or select an existing key pair (download the .pem file and store it securely). Configure your security group to allow SSH (port 22), HTTP (port 80), and HTTPS (port 443). Click “Launch Instance” and your server will be ready in about two minutes.

Step 2: Launch a Free VM on Google Cloud

Create a Google Cloud account at console.cloud.google.com. You will need a credit card and a Google account. Google offers a 90-day $300 free trial plus the always-free tier, which does not expire.

Navigate to Compute Engine, then VM Instances, then Create Instance. Name your instance and select one of the free tier regions (us-west1, us-central1, or us-east1). Under “Machine Configuration,” select “Series E2” and choose the “e2-micro” machine type (0.25 vCPU, 1 GB memory). For the boot disk, select 30 GB of standard persistent disk (HDD) to stay within the free limit. Ubuntu 24.04 LTS or Debian 12 are solid OS choices. Allow HTTP and HTTPS traffic in the firewall settings. Click Create and your instance will deploy in under a minute.

Step 3: Set Up Oracle Cloud Free Tier Instances

Oracle Cloud offers the most generous always-free tier. Sign up at cloud.oracle.com — you will need a credit card for verification. After account creation, navigate to Compute, then Instances, then Create Instance.

Give your instance a name, select a region, and choose “Canonical Ubuntu 24.04” as the image. For the Arm Ampere A1 instance (recommended for better performance), select the “VM.Standard.A1.Flex” shape and allocate up to 4 OCPUs and 24 GB of memory — all included in the free tier. For an AMD micro instance, choose “VM.Standard.E2.1.Micro.” Add your SSH public key and click Create. Oracle instances typically provision in 30 to 60 seconds.

Step 4: First Login and Server Hardening

Once your instance is running, SSH into it using the key pair you created:

chmod 600 ~/path/to/your-key.pem
ssh -i ~/path/to/your-key.pem ubuntu@<public-ip>

Immediately run the following security steps on any new server:

  • Update packages: Run sudo apt update && sudo apt upgrade -y
  • Configure firewall: sudo ufw allow OpenSSH && sudo ufw enable
  • Install Fail2ban: sudo apt install fail2ban -y
  • Disable password authentication: Edit /etc/ssh/sshd_config and set PasswordAuthentication no, then restart SSH with sudo systemctl restart sshd

Common Pitfalls and How to Avoid Them

The biggest risk with free VPS tiers is accidentally exceeding free limits and incurring charges. Here are the most common mistakes:

  • Leaving instances running after the 12-month AWS free tier expires: Set a calendar reminder to either terminate or migrate your AWS instance before the year ends.
  • Using premium disk types: AWS gp3 volumes cost extra. Stick with gp2 or the free tier storage allocation.
  • Forgetting about network egress: Most free tiers include a limited data transfer allowance. Monitor your bandwidth usage with tools like vnstat or nethogs.
  • Overprovisioning Oracle Arm instances: Oracle allows up to 4 instances totaling 24 GB RAM. Create one instance with 4 OCPUs and 24 GB instead of four smaller instances to simplify management.

What to Build on Your Free VPS

A free VPS can handle plenty of real workloads. Here are practical projects to get started:

  • Personal VPN: Install WireGuard or OpenVPN for private browsing on public Wi-Fi.
  • Git server: Set up Gitea or GitLab CE for private code repositories.
  • Ad-blocking DNS: Deploy Pi-hole to block ads across your entire home network.
  • Monitoring dashboard: Install Netdata or Grafana to track server metrics from your other machines.
  • Static site hosting: Serve a Hugo or Jekyll blog using Nginx.

Free tiers are excellent for learning, but production workloads eventually need predictable performance and support. When you outgrow free resources, check our provider benchmarks and comparison table to find a VPS plan that matches your real traffic needs.

Migrating from Free to Paid When You Are Ready

When your project grows beyond free tier limits, plan the migration carefully. Take a snapshot of your server disk, launch a new instance on your target paid VPS provider, restore the snapshot, and update your DNS records. Most providers have a “bring your own image” option that supports this workflow. Budget VPS plans start at around $5 per month and deliver significantly more consistent CPU performance and dedicated resources than any free tier.

Free VPS servers are a fantastic starting point for learning and experimentation. Follow the steps above, stay within free tier limits, and you will build real server administration skills without spending anything.

Leave a Reply