# Prontaro vs AWS NAT Gateway

Source: https://prontaro.com/docs/compare/aws-nat-gateway/

AWS NAT Gateway routes VPC subnets through Elastic IPs on pay-as-you-go billing. Prontaro gives non-VPC Lambda and multi-cloud stacks a dedicated static IPv4 with flat pricing.

## Feature and pricing comparison

|  | Prontaro Dedicated | AWS NAT Gateway US East (Ohio) |
| --- | --- | --- |
| Price per month | $12 ~~$15~~ | About $36.50+ in one AZ ($0.045/hr gateway + $0.045/GB; monthly base includes public IPv4) |
| Dedicated IP address | Yes | Elastic IP for outbound traffic from an AWS VPC |
| Requests per month | unlimited | Unmetered |
| Traffic per month | 100 GB | Usage-based |
| Inbound on the same IP | HTTPS and any TCP port | no |
| Tunnels | Yes | — |

Prices and terms of other services were checked on November 26, 2026. Found a mistake? [Contact us](mailto:support@prontaro.com) and we will fix it.

AWS NAT Gateway is the native gateway for private AWS VPC subnets: every instance, container, or function exits to the internet via an Elastic IPv4 with zero code changes. If your stack lives in a VPC, cannot route through a third-party proxy outside AWS, or needs multi-gigabit throughput, NAT Gateway is the right fit.

Prontaro operates at the application layer via HTTP CONNECT, `socks5h://`, [Relay URLs](https://prontaro.com/docs/outbound/relay.md), and `prontaro forward`. The same address works across AWS, Vercel, Supabase, and n8n with no route tables or private subnets to maintain.

## Key differences

### Pricing and cost formula

An AWS NAT Gateway bill (`us-east-2`) combines fixed hourly fees with per-GB charges. The base is $0.045 per hour per gateway (~~$32.85/month) plus $0.005 per hour per Elastic IP (~~$3.65/month). On top sit $0.045/GB for processing, $0.09/GB for outbound data transfer over 100 GB, and $0.01/GB for cross-AZ transfer.

```text
Monthly AWS cost = (AZ_count × $36.50) + (Total_GB × $0.045) + Egress_over_free_tier + Cross_AZ
```

| Scenario | Prontaro | AWS NAT Gateway (US East) |
| --- | --- | --- |
| **1 Availability Zone and 100 GB of traffic (no failover)** | Dedicated ($12/month): 1 dedicated IPv4, 100 GB of traffic | ~$41/month (up to +$9 if the account’s 100 GB free tier is already used) |
| **2 Availability Zones and 100 GB of traffic (high availability)** | Dedicated ($12/month): 1 dedicated IPv4 with BGP failover | ~$78/month (2 gateways and 2 Elastic IPs, up to +$9 over the free tier) |
| **High volume and traffic spikes** | Pro ($23/month): 2 to 5 IPv4 addresses, 500 GB of traffic; new requests are no longer forwarded when the limit is reached | Pay-as-you-go without stopping, up to 100 Gbps per gateway |

There is no single universal savings number — plug your own traffic into the formula. The key trade-off: AWS never stops production traffic during a spike, whereas Prontaro sends notifications when you reach 80% and 100% of your limits, and once your monthly traffic limit is exhausted, new requests are no longer forwarded until you purchase an [extra traffic pack](https://prontaro.com/docs/billing/limits.md) or a new billing cycle begins.

### VPC routing and Lambda setup

- **AWS NAT Gateway:** Layer 3/4 inside a VPC. EC2, ECS, and Lambda in private subnets route `0.0.0.0/0` through a NAT Gateway and Elastic IP — every binary exits from that IP with no proxy code.
- **Prontaro:** application layer outside any VPC. Route only allowlisted calls via `https://`, `socks5h://`, [Relay](https://prontaro.com/docs/outbound/relay.md), or `prontaro forward` — no need to attach Lambda to a VPC just for one partner API.

> **If your Lambda connects to private RDS or ElastiCache**
>
> Detach a Lambda from a VPC only if it was placed there solely for a static IP. If it calls private RDS, ElastiCache, or internal VPC services, it must stay in the VPC — without a NAT Gateway it cannot reach Prontaro’s external proxy either.

### Failover and allowlist IPs

- **AWS NAT Gateway:** zonal by design. Surviving an Availability Zone outage requires a gateway and Elastic IP per zone, doubling base hourly costs and forcing partners to allowlist 2–3 addresses.
- **Prontaro:** your dedicated static IPv4 (`/32` from `/24` blocks) is announced via BGP on our autonomous network `AS403244`. Partners allowlist one address, and high availability is provided through [BGP failover](https://prontaro.com/docs/outbound/failover.md): on outage, BGP shifts `/32` to a standby node without changing the IP (active TCP sessions close, and new requests go to the standby).

### Inbound traffic

- **AWS NAT Gateway:** outbound-only — inbound webhooks or TCP ports require separate ALB/NLB or bastion hosts.
- **Prontaro:** the same IPv4 accepts inbound HTTPS and direct TCP tunnels (`prontaro http`, `prontaro tcp`) wherever you can run `prontaro CLI` (EC2, ECS, VM, or behind NAT).

## When to choose AWS NAT Gateway

- **Production requires pay-as-you-go billing with zero stop risk.** During traffic spikes, NAT Gateway bills for the extra transfer, whereas in Prontaro new requests are no longer forwarded once your monthly traffic limit is exhausted until you purchase an [extra traffic pack](https://prontaro.com/docs/billing/limits.md) or a new billing cycle begins.
- **Your Lambda depends on private RDS or ElastiCache.** It cannot leave the VPC, so NAT Gateway remains necessary for external access.
- **Everything runs in a VPC and code cannot change.** Subnet routing covers dozens of containers and third-party binaries transparently.
- **You need multi-gigabit speed or a strict AWS boundary.** NAT Gateway scales to 100 Gbps inside AWS. Prontaro targets API and database traffic with 300 to 1,000 concurrent connections per IP.

## When to choose Prontaro

- **Lambda only needs a static IP for external APIs.** Keep Lambda outside a VPC, drop multi-AZ gateway fees, and route allowlisted calls via `PRONTARO_PROXY_URL` or [Relay](https://prontaro.com/docs/outbound/relay.md).
- **Your stack spans AWS and other platforms.** Share one IPv4 across Lambda, Vercel, Supabase, n8n, Railway, GitHub Actions, and local dev machines.
- **You want one failover-ready IP instead of two Elastic IPs.** Partners allowlist one `/32` IPv4 instead of multiple zonal addresses.
- **You also want inbound webhooks or direct TCP on the same IP** for EC2/ECS containers, VMs, or servers behind NAT.

## Migrating from AWS NAT Gateway to Prontaro

| AWS NAT Gateway | Prontaro | Notes |
| --- | --- | --- |
| VPC + subnets + route tables + NAT Gateway + EIP | Dedicated static IPv4 in [my.prontaro.com](https://my.prontaro.com/) | Added in your chosen location on Dedicated or Pro |
| 2 Elastic IPs across 2 Availability Zones for high availability | Single dedicated static IPv4 (`/32`) | BGP failover preserves the same IP |
| Implicit `0.0.0.0/0` subnet egress | `PRONTARO_PROXY_URL` (`https://` / `socks5h://`) or Relay | Route only the external calls that need a static IP |
| Lambda attached to VPC solely for static IP | Standard (non-VPC) Lambda + `PRONTARO_PROXY_URL` | Only when Lambda does not need private RDS or ElastiCache |
| ALB/NLB for inbound to EC2/ECS | `prontaro http` / `prontaro tcp --to <your-IP>:5432` | Requires a running CLI on a VM or container (not serverless Lambda) |

### 1. Add your IP and create proxy credentials

Select Dedicated or Pro in [my.prontaro.com](https://my.prontaro.com/) and add a dedicated IPv4 in your chosen location. Then create your proxy credentials in the dashboard:

1. Open **IP addresses** in [my.prontaro.com](https://my.prontaro.com/ips) and add an IP in your chosen location.
2. Click **Create proxy credentials**, enter a label (such as `lambda-egress`), and copy the `HTTPS` URL (`:443`).

IP addresses Proxy credentials [Open in dashboard](https://my.prontaro.com/ips)

### 2. Configure your Lambda or client and update allowlists

Store `PRONTARO_PROXY_URL` in AWS Secrets Manager or Lambda environment variables and pass it to your HTTP client (`undici` on Node.js 18+, `httpx` in Python, `net/http` in Go). If changing only the base API URL is simpler, create a [Relay URL](https://prontaro.com/docs/outbound/relay.md) under [IP addresses](https://my.prontaro.com/ips).

Add `<your-IP>/32` to your partner’s allowlist alongside your existing Elastic IPs during cutover.

### 3. Verify egress and remove unused NAT Gateways

Confirm that traffic exits through your new IP:

```
 curl -x "$PRONTARO_PROXY_URL"
203.0.113.10
```

Once **Logs** in [my.prontaro.com](https://my.prontaro.com/) confirm live traffic, detach VPC networking from Lambda functions that do not need private VPC resources. Then delete unused NAT Gateways and release idle Elastic IPs.

## Sources and verification

AWS pricing and architecture verified on 2026-11-26:

- [Amazon VPC Pricing (NAT Gateway and Public IPv4)](https://aws.amazon.com/vpc/pricing/)
- [AWS EC2 Data Transfer Pricing](https://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer)
- [AWS NAT Gateway Documentation](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html)

## Next steps

- [Static IP for AWS Lambda](https://prontaro.com/docs/integrations/aws-lambda.md) — configure proxy or Relay without VPC attachments or a NAT Gateway.
- [Reliability, zero-downtime updates, and BGP failover](https://prontaro.com/docs/outbound/failover.md) — how `/32` route failover works during node outages.
- [Code examples](https://prontaro.com/docs/languages/) — configure HTTP and SOCKS5 clients in Node.js, Python, Go, PHP, and Java.
- [Prontaro vs QuotaGuard](https://prontaro.com/docs/compare/quotaguard.md) — compare dedicated IPv4 pricing, limits, and inbound tunnels.
