Free VPS for a VPN: which clouds give a server for nothing, and the catches

Four big clouds will run a small server for you without a bill, and a personal VPN fits on it. Oracle Cloud gives Always Free machines with 10 TB of traffic a month for as long as the account lives; Google gives one e2-micro in the US with only 1 GB of free traffic; AWS and Azure give credits and free hours for a limited time. Most of them want a card at sign-up, and free here means a cloud machine with limits, not a free VPN service: you set up the VPN on it yourself or with an app.

Updated

Ping to cities: cloud regions, jitter, spikes

Veli sets up the VPN on the free machine. Veli installs a VPN on a free cloud machine over SSH, with the key the cloud gave you.

Download Veli for free
On this page

The four clouds side by side

As each cloud's own documentation put it on 2 December 2026. These terms change: look at the cloud's page again before you sign up. Accounts opened at AWS before 15 July 2025 keep its older free tier; everything below is about new accounts.

  • Oracle Cloud, Always Free

    What is freeTwo AMD micro machines (1/8 OCPU and 1 GB of memory each), or Arm machines with 2 OCPUs and 12 GB of memory in total; 200 GB of disk

    Traffic out10 TB a month

    For how longAs long as the account lives

    CatchesPhone and card at sign-up; only in the home region you choose then; a micro machine is capped at 50 Mbps; idle machines may be reclaimed; Arm capacity sometimes runs out

  • Google Cloud, Free Tier

    What is freeOne e2-micro (2 vCPUs, each for 12.5% of the time, and 1 GB of memory) and 30 GB of standard disk

    Traffic out1 GB a month out of North America; traffic to China and Australia is not covered

    For how longNo end date, on a trial or paid billing account

    CatchesOnly in us-west1, us-central1 and us-east1; a card or another payment method; past 1 GB you pay standard rates

  • AWS, Free plan

    What is free$100 of credits at sign-up and up to $100 more for tasks; t3.micro, t4g.micro and a few other sizes run on them

    Traffic out100 GB a month to the internet, counted across all services

    For how longSix months, or until the credits run out

    CatchesEvery public IPv4 address is billed by the hour; at the end the account closes, and 90 days later it is deleted unless you upgrade

  • Microsoft Azure, free account

    What is free$200 of credit for 30 days; for 12 months, 750 hours a month each of B1s, B2pts v2 (Arm) and B2ats v2

    Traffic outThe first 100 GB a month, as for every Azure customer

    For how longThe credit 30 days, the free machines 12 months

    CatchesPhone and a card that isn't prepaid; after 30 days you move to pay-as-you-go or the account is disabled

What the catches mean for a VPN

  • Traffic. Everything you download through the VPN leaves the cloud on its way to you, and everything you upload leaves it on its way to the site, so all of it counts as outbound. Oracle's 10 TB is more than one person uses. 100 GB at AWS and Azure is enough for browsing and messengers, and daily video eats it fast. Google's 1 GB is gone in minutes, and after it every gigabyte is billed at the standard rate.
  • Speed. Oracle's AMD micro machine is limited to 50 Mbps to the internet: fine for one person, slow for a family.
  • Region. Oracle's free machines live only in the home region you pick at sign-up, Google's only in three US regions. The further the server is from you, the higher the ping: from Europe or Asia every page to Oregon or Iowa crosses an ocean and back.
  • Card and checks. Oracle asks most people for a mobile number and a credit card, Azure for a phone and a card that isn't prepaid, Google for a card or another payment method, in some countries a bank account too. AWS lets most new customers sign up without a payment method but may ask for one to verify who you are. Within the free terms the card isn't charged; a temporary hold of up to a dollar may show up.
  • Time. An AWS free-plan account closes after six months or when the credits run out, keeps its content for 90 days and then is deleted, unless you upgrade. Azure disables the account after 30 days unless you move to pay-as-you-go. Google's trial ends after 90 days, and without an upgrade machines stop and are deleted after a 30-day grace period. Oracle's Always Free stays with no paid account at all; Google's e2-micro stays free too, but after the trial only on a paid billing account.
  • Idle machines. Oracle may reclaim an Always Free machine that over 7 days stays below 20% CPU at the 95th percentile, below 20% network use and, on Arm, below 20% memory. A VPN for one person is idle most of the day, so keep its keys and settings somewhere and be ready to set it up again.
  • No room. Oracle's Arm machines are free only while the region has them. “Out of host capacity” means try another availability domain, or try later.
  • A cloud address. AWS and Oracle publish their address ranges as files anyone can download, so sites and filters recognise a cloud address at once. Some services don't let cloud addresses in at all. Captchas are usually rarer than on a shared VPN address, since nobody else uses yours.
  • The address can change. At AWS and Google a machine's ordinary public address is released when you stop it, and a new one comes on start. A reserved address stays, and at AWS it is billed like any public IPv4.

What to pick when creating the machine

The system matters if an app will set up the VPN: Veli's installer works on Ubuntu, Debian and systems made from them, any Fedora, CentOS Stream, Rocky Linux and AlmaLinux from version 9, and Arch Linux, all with systemd. Oracle Linux and Amazon Linux, which these clouds also offer, aren't on that list.

Clouds usually let you in with an SSH key under a user such as ubuntu, not as root with a password. At AWS, for example, password login and root login are off by default and sudo is on. Keep the private key file the cloud gives you when you create the machine: without it you can't log in.

  • Oracle

    SizeVM.Standard.E2.1.Micro, or VM.Standard.A1.Flex (Arm)

    SystemCanonical Ubuntu

    Where to open the VPN portThe subnet's security list or a network security group

    Userubuntu

  • Google

    Sizee2-micro in us-west1, us-central1 or us-east1, with a standard persistent disk up to 30 GB

    SystemUbuntu or Debian

    Where to open the VPN portA VPC firewall rule

    UserThe one in your SSH key

  • AWS

    Sizet3.micro, or t4g.micro (Arm)

    SystemUbuntu or Debian

    Where to open the VPN portThe security group

    Userubuntu on Ubuntu, admin on Debian

  • Azure

    SizeB1s, B2pts v2 (Arm) or B2ats v2

    SystemUbuntu

    Where to open the VPN portThe network security group

    UserThe one you name when creating it

Putting the VPN on it

  1. 1

    Create the machine

    With the size and system from the table, in a region where it is free. Give it a public IPv4 address: devices connect to it.

  2. 2

    Open the ports in the cloud

    The cloud's firewall stands in front of the server. SSH, TCP 22, has to be open, and so does the VPN's own port: for example TCP 443 for VLESS Reality or UDP 51820 for WireGuard.

  3. 3

    Set up the protocol

    With an app that does it over SSH, see below, or by hand: the guides on a WireGuard server, an AmneziaWG server and VLESS Reality on your own server go command by command. On these 1 GB machines a protocol with no build step is quicker: AmneziaWG compiles a kernel module first, which takes 5 to 10 minutes with 1 GB of memory and no swap.

  4. 4

    Open the port inside the server

    If the server has a firewall of its own (ufw, firewalld, or the iptables rules some cloud images come with), the VPN's port has to be allowed there as well.

  5. 5

    Check from outside

    Connect from another network, such as mobile data. If nothing answers, the port is closed in one of the two firewalls.

When a cheap VPS is the better deal

A free cloud machine costs time instead of money: the sign-up checks, the limits to keep an eye on, the chance that it is reclaimed or that the account closes at the end of a trial. An ordinary VPS costs something every month but comes with none of that: no idle rule, no end date, the country you choose and the traffic written in the plan.

So a free machine is a good way to try a VPN of your own, and Oracle's Always Free can last for years if you accept its rules. If the server becomes something the whole family relies on, moving to a paid VPS is the same setup again on another address.

Sources

How we write and check

In Veli

Veli sets up the VPN on the free machine

Veli installs a VPN on a free cloud machine over SSH, with the key the cloud gave you. In the app: Profiles → Add → “Your own server”, type the machine's public address, choose “With an SSH key” and drop the key file in or paste its text, then under “Change” put the user, for example ubuntu. The app works as root or as a user with passwordless sudo.

After “Add the server” you choose the protocol: Veli, VLESS Reality, AmneziaWG, WireGuard, Shadowsocks or OpenVPN, several side by side. The app recognises the system and the processor, x86-64 or Arm, opens the port in the server's own firewall, including the iptables rules of Oracle's images, and at the end checks the port from outside: if the cloud's firewall still has it closed, it says so. On a 1 GB machine Veli and VLESS Reality are the quick choice. “Add a device” gives a QR code for a phone.

FAQ

Is there a truly free VPS for a VPN?

Oracle Cloud's Always Free machines come closest: no end date and 10 TB of traffic a month, but a card at sign-up, one region and the risk that an idle machine is reclaimed. Google's e2-micro is free too, with only 1 GB of traffic. AWS and Azure are trials.

Can I make my own VPN with AWS for free?

For up to six months. A new account gets $100 in credits and up to $100 more for tasks, and a t3.micro or t4g.micro runs on them; its public IPv4 address is paid from the same credits. Then the account closes unless you upgrade to a paid plan.

Why does a free Google Cloud VM cost money with a VPN?

The free tier covers only 1 GB of outbound traffic a month, and for the cloud all VPN traffic is outbound. The rest is billed at standard rates, from the trial credit or from your card.

Do I need a credit card for a free cloud server?

For Oracle and Azure, yes, and for Google a card or another payment method. It is a check and isn't charged within the free terms. AWS lets most new customers sign up without one, but may ask for it.

Is a VPN on a free cloud server private?

Nobody else's logs are on it, but the cloud sees the server's traffic and knows from the sign-up who you are. The address is yours alone, so it points to you rather than hiding you in a crowd.

A free machine, a VPN on it in minutes

Veli is a free client for Windows, macOS, Linux and Android. Give it the machine's address and SSH key: it installs the VPN and shows a QR code for the phone.