Cloud VPN explained: How it works and why it’s essential for businesses

A cloud VPN is a managed VPN gateway that runs inside a cloud provider's network and encrypts traffic between that cloud and your offices, data centers or remote employees, so you never buy or patch the gateway hardware on the cloud side.

This guide explains how the encrypted tunnels work, the site-to-site and remote-access models, how AWS, Microsoft Azure and Google Cloud deploy them, how they compare with a traditional VPN and with zero trust access, and how to pick and run one.

Cloud VPN explained: How it works and why it’s essential for businesses
Clients reach the VPC through a Client VPN endpoint, while a Site-to-Site VPN connection links the on-premises customer gateway. (Image: docs.aws.amazon.com)

How a cloud VPN works

Every cloud VPN follows the same path: a gateway on the cloud side, a gateway or client on your side, and an encrypted tunnel across the public internet between them. Google describes it plainly: one gateway handles encryption and the other handles decryption.

  1. Create a VPN gateway in the cloud, such as a Google Cloud HA VPN gateway, an Azure VPN gateway or an AWS virtual private gateway or Client VPN endpoint. The provider assigns it public IP addresses.
  2. Point your side at it. For an office, that is a router, firewall or software appliance; AWS calls it the customer gateway device. For a remote worker, it is a VPN client app on the laptop or phone.
  3. Agree the encryption settings. Site-to-site tunnels use IPsec with IKE to negotiate keys, often with a pre-shared key; AWS Client VPN uses TLS through an OpenVPN-based client.
  4. Exchange routes. Static routes or BGP tell each side which private address ranges sit behind the tunnel.
  5. Send traffic. Packets bound for the cloud network are encrypted, wrapped in an outer packet, carried over the internet and decrypted by the gateway on the far side.
  6. Let the provider keep it running. The gateway is a managed service, so the provider handles its hardware, redundancy and maintenance.

A cloud VPN is built for private-network access. Google Cloud VPN, for example, cannot route traffic out to the public internet; it exists so private networks can talk securely.

Understanding cloud VPN models

Providers sell two core models: one connects whole networks, the other connects individual people. Most businesses end up running both.

Model What it connects Protocols Cloud examples
Site-to-site An office or data center network to a cloud virtual network IPsec with IKE AWS Site-to-Site VPN, Azure VPN Gateway site-to-site, Google Cloud VPN
Remote access (point-to-site or client VPN) One user's device to a cloud network OpenVPN or TLS, IKEv2, SSTP (Azure) AWS Client VPN, Azure VPN Gateway point-to-site
Cloud-to-cloud or network-to-network Two cloud networks, or one cloud to another provider IPsec with IKE Azure VNet-to-VNet, Google HA VPN between VPC networks or to AWS and Azure
Encrypted private circuit IPsec on top of a dedicated line that never crosses the internet IPsec over a VLAN attachment Google HA VPN over Cloud Interconnect

Check what a given service supports before you plan around it. Google Cloud VPN supports only site-to-site IPsec and has no client software, while AWS splits the two models into separate services.

Cloud VPN models: AWS Client VPN endpoint plus Site-to-Site VPN to on-premises
Remote users connect through the endpoint, and the same VPC reaches the office network over an IPsec site-to-site tunnel. (Image: docs.aws.amazon.com)

High availability (HA) VPN vs. Classic VPN

Google Cloud offers two gateway types, and the difference shows up in uptime and routing. Google recommends HA VPN for new setups.

Feature HA VPN Classic VPN
Availability SLA 99.99% for most topologies 99.9%
Interfaces and IPs Two interfaces, two external IPs chosen automatically One interface, one external IP you create
Routing Dynamic routing with BGP only Static routing only (policy-based or route-based)
IPv6 Dual stack or IPv6-only Not supported
Forwarding rules Not required Must be created
HA VPN vs Classic VPN: HA VPN gateway with two tunnels and BGP sessions
Each HA VPN interface gets its own regional external IP and tunnel, and Cloud Router exchanges routes with dynamic BGP. (Image: Google)

How cloud VPNs are deployed

Deployment is mostly a choice of topology: how many gateways, how many tunnels and where they terminate. The topology sets your redundancy and, on Google Cloud, your SLA.

Topology How it is wired Availability
Cloud to one or two on-premises gateways Google HA VPN uses two tunnels, one from each gateway interface, to one or two peer devices 99.99% SLA on Google Cloud when both interfaces have a tunnel
Cloud to cloud network An HA VPN gateway in each Google VPC network, in the same region 99.99% SLA
Cloud to a VM acting as a VPN gateway HA VPN connected to Compute Engine VMs with external IPs 99.9% SLA across multiple zones
AWS Site-to-Site VPN Each VPN connection includes two tunnels you can use at the same time Two tunnels for high availability
AWS hub model A transit gateway connects many VPCs and on-premises networks through one VPN endpoint Scales to multi-VPC designs
Azure zone-redundant gateway VPN gateway deployed across Azure Availability Zones in a region Protects against a zone-level failure

A single tunnel on a single interface does not meet Google's 99.99% SLA, because one gateway interface is left unused.

Cloud VPN deployment linking two Google Cloud VPC networks with HA VPN gateways
An HA VPN gateway in each VPC network carries two tunnels across Google's production network, which qualifies for the 99.99% SLA. (Image: Google)

Common HA VPN topologies

Google documents three ways to wire an HA VPN gateway to an on-premises site. All three reach 99.99% on the Google Cloud side when each HA VPN interface carries a tunnel.

Peer setup Tunnels Notes
Two separate peer VPN devices One tunnel from each HA VPN interface to its own peer device Best protection against a failed on-premises box
One peer device with two IP addresses One tunnel from each HA VPN interface to each peer IP Redundant on the cloud side, single device on yours
One peer device with one IP address Both tunnels terminate on the same peer IP Simplest, but the peer device is a single point of failure

Cloud VPN vs. traditional VPN

A traditional VPN means a concentrator or firewall you buy, rack and patch. A cloud VPN moves at least one end of the tunnel into a service the provider runs.

Factor Cloud VPN Traditional VPN appliance
Who runs the gateway The cloud provider manages and maintains it Your IT team installs, patches and replaces it
Scaling Add tunnels, gateways or a larger SKU; AWS Client VPN scales with user count automatically Limited by the box; more users can mean new hardware
Redundancy Two tunnels or two interfaces built into the service You buy and configure a second appliance
Cost model Hourly charges per connection or endpoint plus data transfer Upfront hardware and licences
Best fit Workloads already in AWS, Azure or Google Cloud Resources that live only in your own data center

The two often coexist: your existing office firewall becomes the on-premises end of a site-to-site tunnel to the cloud gateway.

Cloud VPN vs. ZTNA/SDP

Zero trust network access (ZTNA), also sold as a software-defined perimeter, grants access to one application at a time instead of a whole network. Microsoft Entra Private Access is one example and is marketed as a VPN replacement.

Question Cloud VPN ZTNA (for example Microsoft Entra Private Access)
What the user reaches Network ranges allowed by routes and authorization rules Only the FQDNs, IP addresses or apps you publish
How access is decided Certificates, Active Directory or identity provider groups Identity plus Conditional Access policies per app
Site-to-site links Yes, the core use case No, it is built for users reaching apps
Client VPN client app, or none for site-to-site Global Secure Access client

Use a site-to-site cloud VPN for network links and consider ZTNA for staff who only need specific internal apps.

Cloud VPN vs ZTNA: Microsoft Entra Private Access Quick Access app diagram
The Global Secure Access client reaches only published app segments such as HTTP, RDP and SMB through an App Proxy connector. (Image: Microsoft)

Why cloud VPNs are a smart choice for businesses

The case comes down to five practical gains, each backed by how the providers build and bill the service.

Benefit What it means in practice
Scalability Add tunnels or gateways from the console; Azure gateway SKUs range from 650 Mbps to 10 Gbps aggregate throughput
Remote workforce enablement AWS Client VPN and Azure point-to-site let staff connect from home or travel to cloud and on-premises resources
Lower costs No VPN hardware on the cloud side; you pay hourly for what you run
Enhanced security IPsec or TLS encryption in transit, certificate or directory sign-in, connection logs and device posture checks on AWS Client VPN
Simplified management The provider handles maintenance, and console dashboards show tunnel and BGP status in one place

Where cloud VPNs make the biggest impact

Use case How a cloud VPN helps Typical service
Remote work Employees reach internal apps hosted in a cloud network without exposing them publicly AWS Client VPN, Azure point-to-site
Multi-cloud connectivity Encrypted tunnels link Google Cloud to AWS or Azure networks Google HA VPN to AWS or Azure
Secure access to SaaS applications Route users through a known network path, or use ZTNA for app-level access Client VPN with internet routing, Entra Private Access
Global branch connectivity Branch offices tunnel into one hub that connects many cloud networks AWS Transit Gateway, Azure VPN Gateway
Compliance and data protection Encrypt data in transit, including over private circuits Google HA VPN over Cloud Interconnect

With Partner Interconnect on Google Cloud, Google says you must add IPsec encryption to meet data security and compliance requirements when connecting to third-party providers.

Choosing the right cloud VPN provider

The right provider is usually the one that already hosts your workloads. The bigger decision is whether you want the cloud's own VPN or a separate VPN-as-a-service or zero trust product.

Your situation Choose Why
Workloads run in AWS and staff need remote access AWS Client VPN Managed OpenVPN-based service with Active Directory, federated or certificate sign-in
Offices must reach AWS VPCs AWS Site-to-Site VPN Two IPsec tunnels per connection; transit gateway for many VPCs
Workloads run in Azure Azure VPN Gateway One service covers site-to-site, point-to-site and VNet-to-VNet
Workloads run in Google Cloud Google Cloud HA VPN plus a client product for users 99.99% SLA, but no client-to-gateway support
Staff need a few internal apps, not the whole network A ZTNA service such as Microsoft Entra Private Access Per-app access with Conditional Access instead of network-wide access
More than about 10 Gbps or very steady traffic A dedicated interconnect, with VPN as encryption or backup Azure lists site-to-site as typically under 10 Gbps aggregate

Cloud-provider-native VPNs vs. VPN-as-a-service / zero-trust providers

Factor Cloud-provider-native VPN VPN-as-a-service or zero-trust provider
Where it lives Inside your AWS, Azure or Google Cloud account A separate vendor's global network
Billing On your cloud bill, hourly per connection or endpoint Billed separately by that vendor
Strength Tight integration with VPC or virtual network routing and security groups Per-app access and one policy across many clouds
Limitation Each cloud has its own console and rules Another vendor, client and identity integration to manage

How to set up AWS Client VPN

This is AWS's own getting-started route for a remote-access cloud VPN with mutual certificate authentication. You need a VPC with a subnet and an internet gateway, plus server and client certificates.

  1. Import the server certificate into AWS Certificate Manager in the Region where you will create the endpoint.
  2. Open the Amazon VPC console, choose Client VPN Endpoints, then choose Create Client VPN endpoint.
  3. Enter a Client IPv4 CIDR that does not overlap the VPC range; it must be between /22 and /12, and you cannot change it later.
  4. Select the Server certificate ARN, choose Use mutual authentication, pick the Client certificate ARN, then choose Create Client VPN endpoint.
  5. Choose Target network associations > Associate target network, pick the VPC and subnet, and choose Associate target network.
  6. Choose Authorization rules > Add authorization rule, enter the VPC CIDR, choose Allow access to all users, and save.
  7. Choose Download client configuration, add the client certificate and key to the file, and give it to users for their OpenVPN-based client.

The endpoint shows pending-associate until you associate a subnet, then available. Users still cannot reach anything until an authorization rule allows it.

How to check cloud VPN tunnel status

On Google Cloud, open the VPN page in the console to see each tunnel's status and its BGP session status. In the Google Cloud CLI, the gcloud compute vpn-gateways get-status command reports whether HA VPN redundancy is met.

  1. In the Google Cloud console, go to the VPN page.
  2. Read the tunnel status. Established means the tunnel is up and routes are configured.
  3. If you see First Handshake, IKE phase 1 negotiation with the peer is still running or has failed at least once.
  4. If you see No Incoming Packets, the peer gateway is not sending traffic back.
  5. Click a tunnel's Name for details, then select View under Cloud VPN Gateway to open its logs.
  6. For HA VPN, check that the high-availability status reads CONNECTION_REDUNDANCY_MET; CONNECTION_REDUNDANCY_NOT_MET means a tunnel is missing for the 99.99% SLA.

Best practices for deploying a cloud VPN

These come from Google Cloud's and AWS's own deployment guidance, and they apply to any cloud VPN.

  1. Use dynamic routing with BGP where your on-premises device supports it; Google recommends HA VPN with BGP for the best SLA.
  2. Give every gateway interface a tunnel so failover has somewhere to go.
  3. Generate a strong pre-shared key, and restrict which IP addresses can be used as peer VPN gateways.
  4. Configure one cipher per cipher role on both sides, and choose the strongest one both ends support.
  5. Keep the SA lifetimes from the provider's peer configuration template so key rotation does not drop the tunnel.
  6. Use non-overlapping CIDR ranges for every network that connects through the VPN.
  7. Create firewall or security group rules that allow only the traffic each tunnel needs, and turn on connection logging.

Cloud VPN FAQ

Can cloud VPNs replace traditional VPNs entirely?

Not always. A cloud VPN replaces the gateway on the cloud side, but a site-to-site tunnel still needs a VPN-capable router or firewall at each office. For users who need only certain apps, a zero trust service can replace the remote-access VPN.

Are cloud VPNs secure?

Yes, when configured well. Site-to-site cloud VPNs use IPsec encryption with IKE key exchange, and AWS Client VPN uses TLS. Security still depends on strong pre-shared keys or certificates, tight authorization rules and firewall rules that allow only needed traffic.

Do cloud VPNs slow down internet speed?

They add encryption overhead and are capped per tunnel. A Google Cloud VPN tunnel handles up to 250,000 packets per second, about 1 to 3 Gbps, and a standard AWS tunnel supports 1.25 Gbps. Latency and packet loss on the internet path also reduce throughput.

How difficult is it to set up a cloud VPN?

A basic setup takes an administrator a few console steps: create the gateway or endpoint, configure the peer device or client, add routes and access rules. Redundant HA designs with BGP need networking knowledge and matching settings on your on-premises device.

Can cloud VPNs be used for personal use?

Technically yes, but they are built and billed for businesses. AWS Client VPN charges per endpoint association and connection hour, and Google Cloud VPN has no client app at all. For browsing privacy, a consumer VPN app is the practical choice.

What is the difference between site-to-site and point-to-site VPN?

A site-to-site VPN connects a whole network, such as an office, to a cloud network through an IPsec tunnel between two gateways. A point-to-site VPN connects a single device, using a VPN client on that laptop or phone.

Does Google Cloud VPN support remote users?

No. Google Cloud VPN supports only site-to-site IPsec connections and does not support client computers dialling in with VPN client software. Businesses on Google Cloud pair it with a separate remote-access or zero trust product.

How is a cloud VPN billed?

Cloud VPNs are billed by the hour for each connection, tunnel or endpoint, plus data transfer out. On AWS Client VPN, connection logging and in-use public IPv4 addresses add their own charges.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *