Skip to content

Run SharpVPN in Your Own AWS Account

The VPN servers run in your AWS account and your traffic leaves through it. You manage everything from the SharpVPN panel. See pricing.

Before You Start

An AWS account

You need to be allowed to create CloudFormation stacks that make EC2 instances, Elastic IP addresses, security groups and launch templates.

A public subnet

A subnet in one of your VPCs with a route to an internet gateway. The node can share it with other servers.

VPN profiles

A SharpVPN account that runs servers in its own AWS account, with VPN profiles paid for.

Add a Node

  1. 1. Create the node in SharpVPN

    In the panel, open VPN Nodes, press Create node and give it a name. The panel makes a one-time setup link for it.

  2. 2. Launch the stack

    Press Launch stack in AWS. Sign in to the AWS account and region where the node should run. The setup token is already filled in.

  3. 3. Choose the network

    Pick a VPC and a public subnet in it (one with a route to an internet gateway), then create the stack.

  4. 4. Wait for it to come online

    AWS creates the server, and the server installs and checks our software by itself. It shows as Online in the panel within a few minutes.

  5. 5. Add VPN profiles

    On the node page, add a VPN profile for each person and share the connection URL or the .ovpn file.

What the Stack Creates

One server

An Ubuntu 26.04 LTS server (EC2 t3.small) with an encrypted 8 GB disk. It has no IAM role, so it holds no AWS credentials.

A fixed IP address

An Elastic IP, so the address in your users' VPN profiles never changes.

A firewall rule

Inbound: only VPN traffic (UDP port 1194, IPv4 and IPv6). Nothing else is open, not even a way to log in. Outbound: the server reaches SharpVPN over HTTPS and forwards your users' traffic to the internet.

IPv6

If your subnet gives out IPv6 addresses, VPN users get IPv6 through the node. If not, their devices block IPv6 while connected, so it never goes around the VPN.

What AWS Bills You

Per node, every month

The t3.small server running all month, its 8 GB disk, and its public IPv4 address. Prices depend on the region: see EC2 pricing and VPC pricing.

Traffic

Data your VPN users send to the internet is charged by AWS as data transfer out of your account. There is no daily speed limit from SharpVPN.

What SharpVPN bills

Only the VPN profiles, as on your SharpVPN billing page. We never charge your AWS account.

Running and Removing a Node

Updates

The node updates its SharpVPN software by itself when we release a new version. It keeps the previous version and goes back to it if the new one does not work. Ubuntu's own automatic security updates stay on.

What SharpVPN can do on it

Only what the panel shows: restart the VPN, disconnect a profile, send recent logs when support asks, and update itself. Nobody can log in to it. As with any software that updates itself, you trust the updates we sign.

Removing a node

Remove it in the panel: its VPN stops within a minute. Then delete its CloudFormation stack in AWS, which deletes the server, the IP address and the firewall rule, so AWS stops charging for them.

If a payment lapses

The VPN stops; nothing is deleted. It starts again when you renew. The server keeps running, and billing, in AWS until you delete the stack.