What You Will Get
By the end of this guide you will have a free virtual server on Oracle Cloud that costs $0 per month and stays free: up to 2 ARM OCPUs with 12 GB of RAM (or two 1 OCPU / 6 GB instances), 200 GB of storage, and 10 TB of monthly data transfer. That is enough for a WordPress site, a VPN, a small app, or a learning server.
You will need a credit card (Oracle requires one for identity verification — prepaid and virtual cards are rejected), an email address, and about 30 minutes. No Linux experience is assumed; every terminal command is given in full.
Before You Start: How the Free Tier Works
Oracle has two separate offers, and mixing them up is the most common beginner mistake:
- Always Free: a fixed set of resources that is free forever — the Ampere ARM instances, two small AMD instances, 200 GB of block storage, 10 TB of transfer. This is what this guide uses.
- Free Trial: $300 in credits, valid for 30 days. Anything you create that is not marked “Always Free” burns trial credits, and billing starts when the credits or the 30 days run out.
The golden rule: only create resources labelled “Always Free Eligible.” If a screen does not show that label, stop and re-check your choices.
Two more things to know before you sign up:
- Your home region cannot be changed. Pick the region closest to you or your audience — for Southeast Asia, Singapore is the usual choice.
- One free account per person. Oracle may reject duplicate signups.
Step 1 — Create Your Oracle Cloud Account
- Go to oracle.com/cloud/free and click Start for free.
- Enter your name, email and country. Choose your home region carefully (see above).
- Verify your email, then add a payment card. Oracle places a small temporary hold (not a charge) to verify the card.
- Wait for the account to activate — usually a few minutes, sometimes a few hours.
If signup fails: the most common reasons are a prepaid/virtual card, a VPN (Oracle dislikes signups from datacenter IPs), or a duplicate account. Try again from your home connection with a standard credit or debit card.
Step 2 — Set Up a Billing Alert (Do This First)
Before creating anything, protect yourself from accidental charges:
- In the Oracle Cloud console, open the navigation menu and go to Billing & Cost Management → Budgets.
- Create a budget of $0 (or $1) with an alert at 100% — you will get an email the moment any chargeable usage appears.
- Under Billing → Cost Analysis, check that your current spend is $0.
This takes two minutes and is the single best protection against a surprise bill.
Step 3 — Create Your Free VPS
- In the console, go to Compute → Instances and click Create instance.
- Name: anything, e.g.
my-free-vps. - Image: Ubuntu 24.04 (recommended for beginners — huge tutorial library) or Oracle Linux 9.
- Shape: click Change shape, select the Ampere series, then VM.Standard.A1.Flex. Set 1 OCPU and 6 GB RAM (or 2 OCPU / 12 GB if you want one bigger server instead of two small ones). The console should show “Always Free Eligible” — if it does not, your numbers exceed the free allowance.
- Networking: create a new Virtual Cloud Network (VCN) with the default settings, or use the default VCN. Make sure Assign a public IPv4 address is checked — without it, you cannot reach the server from the internet.
- SSH keys: choose Generate a key pair for me and download both files, or paste your own public key (generate one with
ssh-keygen -t ed25519on your computer first). Keep the private key safe — it is the only way in. - Boot volume: the default 50 GB is fine and fits inside the 200 GB free allowance. Do not increase it beyond what you need.
- Click Create. The instance usually starts in under a minute.
“Out of capacity” — What to Do
The Ampere free instances are in high demand, and Oracle often reports OUT_OF_HOST_CAPACITY in busy regions. This is normal and frustrating. Your options:
- Try again at a different time of day (capacity frees up as others delete instances).
- Try a different availability domain in the same region.
- Start with an AMD micro instance instead (shape VM.Standard.E2.1.Micro, 1/8 OCPU and 1 GB RAM, also Always Free) and retry Ampere later.
Do not upgrade to a paid shape just to get capacity — that burns trial credits.
Step 4 — Open the Firewall (Two Places!)
Oracle blocks incoming traffic in two places, and beginners usually fix only one:
1. The cloud security list. Go to Networking → Virtual Cloud Networks, open your VCN, then Security Lists → Default Security List. Add ingress rules:
- Port 22 (SSH) — usually already allowed.
- Port 80 (HTTP) and 443 (HTTPS) — add these if you will host a website.
2. The server’s own firewall. Ubuntu images on Oracle run iptables with restrictive default rules. After connecting (Step 5), run:
sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 80 -j ACCEPT
sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 443 -j ACCEPT
sudo netfilter-persistent save
If netfilter-persistent is not installed, install it with sudo apt install iptables-persistent and save again. Without this step, your website will be unreachable even though the cloud firewall is open — this is the number one “my site doesn’t load” cause on Oracle.
Step 5 — Connect via SSH
Find your instance’s public IP on the instance details page, then connect from your computer:
ssh -i /path/to/your-key.key ubuntu@YOUR_SERVER_IP
Use ubuntu as the username for Ubuntu images, or opc for Oracle Linux images. On first connection, type yes to accept the host key. You should land at a shell prompt on your free server.
Update the system first:
sudo apt update && sudo apt upgrade -y
Step 6 — Install Something Useful
What you install depends on your project. Three common starting points:
- A website (WordPress): install Nginx, PHP and MariaDB, or use a one-command stack such as HestiaCP or CloudPanel if you prefer a control panel.
- A VPN (WireGuard): a few commands install WireGuard and give you a private VPN endpoint.
- Docker apps: install Docker and run anything containerized — a blog, a dashboard, a small API.
The 2 OCPU / 12 GB Ampere instance handles any of these comfortably. The AMD micro instance (1 GB RAM) is fine for a VPN or a static site, but tight for WordPress with plugins.
Step 7 — Keep It Free (Avoid Reclamation and Charges)
Oracle may reclaim idle Always Free instances: if, over 7 days, your CPU, network and memory usage are all below 20% (95th percentile), the instance can be deleted. In practice this means: run something real on the server. A live website, a VPN you actually use, or a scheduled task is enough — a server that sits at 0% for a week is at risk.
Also check weekly, at first, that your cost analysis still shows $0. The usual accidental charges are: a paid shape chosen by mistake, a boot volume above the free allowance, or a second public IP. The billing alert from Step 2 catches all of these.
Frequently Asked Questions
Is the Oracle free VPS really free forever?
The Always Free resources have no end date, but Oracle can change the allowance — it cut the Ampere limit from 4 OCPUs / 24 GB to 2 OCPUs / 12 GB in June 2026. Treat the free tier as generous and long-term, not contractually guaranteed.
Can I change my home region later?
No. The home region is fixed at signup. You can create resources in other regions, but Always Free allowances apply in the home region. Choose carefully.
What happens when the 30-day trial ends?
The $300 credits expire, and any resources that are not Always Free stop (or start billing if you upgraded to a paid account). Your Always Free instances keep running — nothing happens to them at the end of the trial.
Why do I need a credit card for a free account?
Oracle uses the card for identity verification and to bill you if you exceed the free limits. Prepaid, virtual and PIN-debit cards are not accepted. The verification hold is temporary and is not a charge.
Can I run two free VPS instances?
Yes. The Ampere allowance (2 OCPUs / 12 GB total) can be split into two 1 OCPU / 6 GB instances, and you also get two AMD micro instances. That is up to four free servers in one account, within the resource limits.
You Now Have a Free VPS
Account created, billing alert set, instance running, firewall open, SSH working. Total cost: $0 per month. Use it for a website, a VPN, or a learning lab — and keep an eye on the cost dashboard for the first few weeks until you trust the setup. If you outgrow the free tier, a $4–5/month paid VPS is the natural next step.



Leave a Reply