CloudVectra Logo CloudVectra
CloudVectra Knowledge Hub

Load Balancers, CDN, DNS and Public IPs: The Hidden Costs of Cloud Application Networking

Understand AWS and Azure application networking charges, load balancer capacity, CDN caching, DNS resolution and public IPv4 costs with practical calculations.

8 min read

Application networking spreads its costs across several services. A request starts with DNS, may reach a CDN and web firewall, passes through a load balancer, and eventually reaches an origin. Public addresses and logs can remain chargeable even when that application is quiet.

This guide explains those components together so you can estimate a request path rather than compare isolated prices. For outbound private workloads, use the separate NAT Gateway guide.

Calculations use illustrative USD rates, a 730-hour month, and decimal GB unless explicitly identified as a published rate. Choose a current SKU and commercial plan before making a provider comparison.

1. Understand the delivery path

DNS returns a destination; it does not normally carry the application response. A CDN can answer a cacheable request at the edge. A miss reaches the origin, potentially through another load balancer and inspection layer.

The origin may then call a database or external API. Those backend connections create additional paths outside the visible browser-to-site delivery chain.

Application delivery diagram separating DNS lookup, CDN cache hits, origin misses, load balancing and backend calls, with associated cost meters.

2. Choose the right load-balancer function

ServiceMain roleCharging dimensions to examine
AWS Application Load BalancerHTTP/S routing at application layerLoad-balancer hours and LCUs; applicable extras
AWS Network Load BalancerTCP/UDP/TLS transport balancingLoad-balancer hours and NLCUs; transfer rules
AWS Gateway Load BalancerAppliance insertion using GENEVELoad-balancer capacity plus endpoint architecture
Azure Load BalancerLayer-4 regional or cross-region balancingRules and processing according to tier
Azure Application GatewayRegional HTTP/S routing, optional WAFFixed deployment and capacity charges by SKU
Azure Front DoorGlobal HTTP delivery, acceleration and edge securityBase fee, requests, transfer, tier and included features

These services do different jobs. A Gateway Load Balancer is not a replacement for an HTTP router. DNS-based traffic steering, such as Azure Traffic Manager, is not a proxy carrying application traffic and should be budgeted using its own profile, query and health-check model.

Avoid stacking services merely because a template includes them. Preserve each required capability, then decide whether every layer is justified.

3. AWS LCUs: the largest normalized dimension matters

An ALB LCU measures normalized consumption across new connections, active connections, processed bytes, and rule evaluations. AWS ELB pricing bills the largest applicable dimension for an hour, rather than adding all four normalized dimensions.

Assume the hourly dimensions are:

DimensionNormalized LCUs
New connections0.8
Active connections0.5
Processed bytes2.0
Rule evaluations0.3

The hour consumes 2.0 LCUs, not 3.6. At illustrative rates of $0.0225/load-balancer-hour and $0.008/LCU-hour, sustained usage at that level produces:

730 × ($0.0225 + 2 × $0.008) = $28.105 ≈ $28.11/month

Actual billing follows hourly consumption, so averaging monthly traffic before applying the maximum can give the wrong answer. Target types, protocol settings, certificates, and features affect normalization. NLCUs and GLCUs have different definitions; do not reuse ALB thresholds.

If new connections dominate, connection reuse might help. If bytes dominate, reducing rule count alone will not change the largest dimension. Optional capacity reservations also need explicit treatment.

4. Azure capacity, rules and scaling floors

Azure Standard Load Balancer pricing separates configured rules and data processing, with bandwidth charges potentially additional. Application Gateway uses a different fixed-and-capacity model. Its autoscaling and configured minimum capacity can make a lightly used deployment cost more than expected.

Estimate steady-state, peak, and minimum provisioned capacity. Then check connection load, throughput, compute demand, TLS activity, and rule configuration against the chosen SKU’s capacity model.

A lower autoscaling minimum is appropriate only if startup behavior, availability, and performance still meet requirements. A low average utilization metric does not establish that a deployment is unnecessary.

5. Cross-zone balancing and idle deployments

Cross-zone behavior and pricing depend on the provider, load-balancer type, target topology, and path. AWS ALB, NLB, and GWLB have different defaults and charging implications. See AWS load-balancer behavior, then apply the appropriate transfer rules.

Azure does not charge a general same-region inter-AZ transfer fee, but load-balancer processing and gateway capacity are separate. Keep availability requirements intact when adjusting zone topology.

For cleanup, look for missing healthy targets, very low successful traffic, obsolete listeners, and resources left by test clusters. Verify DNS records, partner allowlists, scheduled traffic and recovery procedures before deleting them. An idle gateway can still be an important standby.

6. CDN economics: hits, misses, requests and bytes

A CDN can reduce origin load and change delivery economics. Request hit ratio measures the fraction of requests served from cache. Byte hit ratio measures the fraction of delivered bytes served from cache. A high request hit ratio can coexist with substantial origin traffic when large objects miss.

CloudFront currently offers pay-as-you-go and flat-rate plans. Plans can bundle security, DNS and other services. Check feature eligibility, usage allowances, plan policies, and excluded services before adding standalone fees to the same usage.

Front Door Standard and Premium have different base and included-feature economics; Premium includes WAF and Private Link pricing for its supported integration. Do not blindly add a standalone private-endpoint or WAF line to a bundled feature.

For new Azure designs, assess Front Door Standard/Premium rather than recommending retired or retiring classic products. Microsoft lists Front Door classic retirement on March 31, 2027 and CDN Standard from Microsoft classic on September 30, 2027 in its comparison and migration guidance.

7. A cache calculation that separates origin savings

Assume viewers receive 20,000 GB/month. Byte hit ratio improves from 70% to 90%, with unchanged viewer demand:

Origin bytes before = 20,000 × (1 − 0.70) = 6,000 GB
Origin bytes after  = 20,000 × (1 − 0.90) = 2,000 GB
Avoided origin bytes = 4,000 GB

If an illustrative metered origin-processing component costs $0.02/GB, that component falls by $80/month. Viewer transfer remains 20,000 GB and does not fall simply because caching improves. Origin compute, requests and storage operations may change separately.

Eligible AWS-origin-to-CloudFront and Azure-origin-to-Front-Door traffic can have favorable transfer treatment. The example’s $0.02 is an assumed origin-processing cost, not a claim that either provider charges ordinary internet egress on those eligible legs.

Improve cache keys and TTLs without caching personalized or private content incorrectly. Query strings, cookies, authorization and invalidations can reduce hits. Track errors and freshness alongside the bill.

8. DNS: hosted zones are only the start

Amazon Route 53 has different meters for hosted zones, query types, health checks, and Resolver functions. Some alias queries to eligible AWS resources receive special pricing treatment. Private hosted zones do not make hybrid resolver endpoints free.

Azure DNS charges for public/private zones and queries, while DNS Private Resolver endpoints and rulesets have separate pricing. DNS-based Traffic Manager adds its own charges; it is not included simply because the domain uses Azure DNS.

For an illustrative DNS-only estimate:

ItemAssumed quantity and rateCost
Hosted zones10 × $0.50/month$5
Billable queries50 million × $0.40/million$20
TotalBefore resolver endpoints or health checks$25/month

Use actual chargeable queries after caching and product-specific exemptions. Application request counts are not identical to authoritative DNS query counts. Short TTLs and repeated failed lookups can increase volume.

9. Public IPv4: small hourly prices accumulate

AWS publishes a standard $0.005 per address-hour charge for in-use and idle public IPv4, with documented exceptions such as eligible customer-owned space. At that published rate, 50 addresses running for 730 hours cost $182.50/month before applicable credits. See VPC IPv4 pricing.

Azure address pricing depends on SKU and allocation type. Basic SKU public IPs were retired on September 30, 2025; Standard uses static allocation, while newer NAT configurations can require StandardV2 addresses. Do not use an old Basic dynamic-IP example as a new-deployment recommendation. See Microsoft’s upgrade guidance and IP pricing.

Inventory unattached addresses and addresses attached to otherwise quiet gateways or balancers. Deallocating a VM does not universally remove every related IP charge. Review actual resource state and billing rules.

A public address is also an exposure-management concern. Assess listeners, allowed sources, security rules and authentication. Removing an unnecessary address can reduce cost and attack surface, but preserve required egress allowlists and recovery dependencies.

10. Monitor the whole delivery chain

Review successful requests, response bytes, capacity consumption, backend health, cache hit ratios, origin fetches, DNS query growth, and address inventory together. An outage can reduce successful business requests while retries and logs increase cost.

Compare cost per successful transaction and per delivered GB with total spending. Lower unit cost with much higher demand can still produce a larger bill. Record which layer changed and which team can act.

11. How CloudVectra helps

CloudVectra cost analysis helps compare application-networking service expenditure and understand spending changes. Cost Centers add ownership for shared delivery infrastructure.

Use the provider’s capacity, CDN and DNS metrics to verify why the spending changed. A service-level cost view supports prioritization; cache correctness, traffic routing and performance still require engineering validation.

Continue the networking series

Sources and further reading

Choose whether CloudVectra may load optional analytics. You can change this at any time.

Cookie names, providers, and retention