How to set up a VPN on Alibaba Cloud
We earn commissions when you shop through the links below.
Turn an Alibaba Cloud Simple Application Server into your own WireGuard, AmneziaWG or VLESS VPN in about 10 minutes, without touching the terminal.
Is Alibaba Cloud a good fit for a VPN?
- Servers in East and Southeast Asia or the Gulf
- A flat monthly price with traffic included
- Inbound ports are closed by default, so you have to open the VPN ports in its firewall (covered below).
Part 1: On Alibaba Cloud
Create a Simple Application Server
In the Alibaba Cloud console, create a Simple Application Server (or an ECS instance) with an Ubuntu or Debian image.
Pick the location closest to you for the best speed, or the country whose IP address you need — see Alibaba Cloud's locations.
Choose the operating system
Ubuntu 24.04 or Debian 12 are the safest picks. Nullsify also supports Ubuntu 20.04 and 22.04, Debian 11 and 13, RHEL-family systems (AlmaLinux, Rocky Linux, CentOS Stream, RHEL, Oracle Linux, Fedora) and Alpine, on regular (x86) and Arm servers. Start from a fresh install with nothing else on it.
Pick a size
The smallest plan with 1 GB of RAM is plenty for a personal, family or small-team VPN. Serving more people? The capacity calculator shows how many users each size handles.
Set up the login
Set a password for the server when you create it, or later with Reset Password in its console.
Copy the IP address
The public IP address is on the server's overview.
Open the firewall
Alibaba Cloud blocks most inbound ports by default. In the server's Firewall tab (or its security group, for ECS), add rules allowing UDP 51820 (WireGuard and AmneziaWG) and TCP 443 (VLESS).
Part 2: In Nullsify
Add the server to Nullsify
In the dashboard, click the + next to Servers. Enter a name, the IP address, and the password — or choose Private key and paste your key. It's used once to install Nullsify's agent and is never saved.
Then pick a protocol. Not sure which? Take the 30-second protocol picker.
Wait for Active, then connect
Setup takes a few minutes. When the server shows Active, click Get Config and scan the QR code with the app for your protocol — the setup guide lists apps for every device.